Interface VariablePaymentTermConfiguration.Builder

  • Method Details

    • paymentRequestApprovalStrategy

      VariablePaymentTermConfiguration.Builder paymentRequestApprovalStrategy(String paymentRequestApprovalStrategy)

      Defines the strategy for approving payment requests. Values include AUTO_APPROVE_ON_EXPIRATION and WAIT_FOR_APPROVAL

      Parameters:
      paymentRequestApprovalStrategy - Defines the strategy for approving payment requests. Values include AUTO_APPROVE_ON_EXPIRATION and WAIT_FOR_APPROVAL
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • paymentRequestApprovalStrategy

      VariablePaymentTermConfiguration.Builder paymentRequestApprovalStrategy(PaymentRequestApprovalStrategy paymentRequestApprovalStrategy)

      Defines the strategy for approving payment requests. Values include AUTO_APPROVE_ON_EXPIRATION and WAIT_FOR_APPROVAL

      Parameters:
      paymentRequestApprovalStrategy - Defines the strategy for approving payment requests. Values include AUTO_APPROVE_ON_EXPIRATION and WAIT_FOR_APPROVAL
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • expirationDuration

      VariablePaymentTermConfiguration.Builder expirationDuration(String expirationDuration)

      Defines the duration after which a payment request is automatically approved if no further action is taken. This only applies when the payment request approval strategy is set to AUTO_APPROVE_ON_EXPIRATION. The duration is represented in the ISO_8601 format (e.g., P10D for 10 days).

      Parameters:
      expirationDuration - Defines the duration after which a payment request is automatically approved if no further action is taken. This only applies when the payment request approval strategy is set to AUTO_APPROVE_ON_EXPIRATION. The duration is represented in the ISO_8601 format (e.g., P10D for 10 days).
      Returns:
      Returns a reference to this object so that method calls can be chained together.