Package com.onlinepayments.domain
Class MobilePaymentMethodHostedCheckoutSpecificInput
java.lang.Object
com.onlinepayments.domain.MobilePaymentMethodHostedCheckoutSpecificInput
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDetermines the type of the authorization that will be used.Object containing information specific to Apple Pay.Object containing information specific to Google Pay.Payment product identifier - Please see Products documentation for a full overview of possible values.voidsetAuthorizationMode(String value) Determines the type of the authorization that will be used.voidObject containing information specific to Apple Pay.voidObject containing information specific to Google Pay.voidsetPaymentProductId(Integer value) Payment product identifier - Please see Products documentation for a full overview of possible values.withAuthorizationMode(String value) Determines the type of the authorization that will be used.Object containing information specific to Apple Pay.Object containing information specific to Google Pay.withPaymentProductId(Integer value) Payment product identifier - Please see Products documentation for a full overview of possible values.
-
Constructor Details
-
MobilePaymentMethodHostedCheckoutSpecificInput
public MobilePaymentMethodHostedCheckoutSpecificInput()
-
-
Method Details
-
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
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
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
Object containing information specific to Apple Pay. Required for payments with product 302. -
setPaymentProduct302SpecificInput
Object containing information specific to Apple Pay. Required for payments with product 302. -
withPaymentProduct302SpecificInput
public MobilePaymentMethodHostedCheckoutSpecificInput withPaymentProduct302SpecificInput(MobilePaymentProduct302SpecificInput value) Object containing information specific to Apple Pay. Required for payments with product 302. -
getPaymentProduct320SpecificInput
Object containing information specific to Google Pay. Required for payments with product 320. -
setPaymentProduct320SpecificInput
Object containing information specific to Google Pay. Required for payments with product 320. -
withPaymentProduct320SpecificInput
public MobilePaymentMethodHostedCheckoutSpecificInput withPaymentProduct320SpecificInput(MobilePaymentProduct320SpecificInput value) Object containing information specific to Google Pay. Required for payments with product 320. -
getPaymentProductId
Payment product identifier - Please see Products documentation for a full overview of possible values. -
setPaymentProductId
Payment product identifier - Please see Products documentation for a full overview of possible values. -
withPaymentProductId
Payment product identifier - Please see Products documentation for a full overview of possible values.
-