Class MobilePaymentMethodHostedCheckoutSpecificInput

java.lang.Object
com.onlinepayments.domain.MobilePaymentMethodHostedCheckoutSpecificInput

public class MobilePaymentMethodHostedCheckoutSpecificInput extends Object
  • Constructor Details

    • MobilePaymentMethodHostedCheckoutSpecificInput

      public MobilePaymentMethodHostedCheckoutSpecificInput()
  • Method Details

    • getAuthorizationMode

      public String getAuthorizationMode()
      Determines the type of the authorization that will be used. Allowed values:
      • FINAL_AUTHORIZATION - The payment creation results in an authorization that is ready for capture. Final authorizations can't be reversed and need to be captured for the full amount within 7 days.
      • PRE_AUTHORIZATION - The payment creation results in a pre-authorization that is ready for capture. Pre-authortizations can be reversed and can be captured within 30 days. The capture amount can be lower than the authorized amount.
      • SALE - The payment creation results in an authorization that is already captured at the moment of approval.

      Only used with some acquirers, ignored for acquirers that do not support this. In case the acquirer does not allow this to be specified the authorizationMode is 'unspecified', which behaves similar to a final authorization.

    • setAuthorizationMode

      public void setAuthorizationMode(String value)
      Determines the type of the authorization that will be used. Allowed values:
      • FINAL_AUTHORIZATION - The payment creation results in an authorization that is ready for capture. Final authorizations can't be reversed and need to be captured for the full amount within 7 days.
      • PRE_AUTHORIZATION - The payment creation results in a pre-authorization that is ready for capture. Pre-authortizations can be reversed and can be captured within 30 days. The capture amount can be lower than the authorized amount.
      • SALE - The payment creation results in an authorization that is already captured at the moment of approval.

      Only used with some acquirers, ignored for acquirers that do not support this. In case the acquirer does not allow this to be specified the authorizationMode is 'unspecified', which behaves similar to a final authorization.

    • withAuthorizationMode

      public MobilePaymentMethodHostedCheckoutSpecificInput withAuthorizationMode(String value)
      Determines the type of the authorization that will be used. Allowed values:
      • FINAL_AUTHORIZATION - The payment creation results in an authorization that is ready for capture. Final authorizations can't be reversed and need to be captured for the full amount within 7 days.
      • PRE_AUTHORIZATION - The payment creation results in a pre-authorization that is ready for capture. Pre-authortizations can be reversed and can be captured within 30 days. The capture amount can be lower than the authorized amount.
      • SALE - The payment creation results in an authorization that is already captured at the moment of approval.

      Only used with some acquirers, ignored for acquirers that do not support this. In case the acquirer does not allow this to be specified the authorizationMode is 'unspecified', which behaves similar to a final authorization.

    • getPaymentProduct302SpecificInput

      public MobilePaymentProduct302SpecificInput getPaymentProduct302SpecificInput()
      Object containing information specific to Apple Pay. Required for payments with product 302.
    • setPaymentProduct302SpecificInput

      public void setPaymentProduct302SpecificInput(MobilePaymentProduct302SpecificInput value)
      Object containing information specific to Apple Pay. Required for payments with product 302.
    • withPaymentProduct302SpecificInput

      Object containing information specific to Apple Pay. Required for payments with product 302.
    • getPaymentProduct320SpecificInput

      public MobilePaymentProduct320SpecificInput getPaymentProduct320SpecificInput()
      Object containing information specific to Google Pay. Required for payments with product 320.
    • setPaymentProduct320SpecificInput

      public void setPaymentProduct320SpecificInput(MobilePaymentProduct320SpecificInput value)
      Object containing information specific to Google Pay. Required for payments with product 320.
    • withPaymentProduct320SpecificInput

      Object containing information specific to Google Pay. Required for payments with product 320.
    • getPaymentProductId

      public Integer getPaymentProductId()
      Payment product identifier - Please see Products documentation for a full overview of possible values.
    • setPaymentProductId

      public void setPaymentProductId(Integer value)
      Payment product identifier - Please see Products documentation for a full overview of possible values.
    • withPaymentProductId

      public MobilePaymentMethodHostedCheckoutSpecificInput withPaymentProductId(Integer value)
      Payment product identifier - Please see Products documentation for a full overview of possible values.