Package com.onlinepayments.domain
Class RedirectPaymentProduct840SpecificInput
java.lang.Object
com.onlinepayments.domain.RedirectPaymentProduct840SpecificInput
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIndicates whether to use PayPal Express Checkout Shortcut.Free text field that you can use to support reconciliation flow.To be enabled when Javascript SDK integration is implemented on S2S flow false = When this flag is disabled the field RedirectionURL is returned by CreatePayment call and should be used in merchant implementation to redirect buyer to PayPal. true = When this flag is enabled the field orderID is returned by CreatePayment call and should be utilized in case merchant has integrated JS SDK button on their S2S implementation Default value is false.Indicates whether to allow PayPal Pay Later option.voidIndicates whether to use PayPal Express Checkout Shortcut.voidFree text field that you can use to support reconciliation flow.voidsetJavaScriptSdkFlow(Boolean value) To be enabled when Javascript SDK integration is implemented on S2S flow false = When this flag is disabled the field RedirectionURL is returned by CreatePayment call and should be used in merchant implementation to redirect buyer to PayPal. true = When this flag is enabled the field orderID is returned by CreatePayment call and should be utilized in case merchant has integrated JS SDK button on their S2S implementation Default value is false.voidsetPayLater(Boolean value) Indicates whether to allow PayPal Pay Later option.Indicates whether to use PayPal Express Checkout Shortcut.withCustom(String value) Free text field that you can use to support reconciliation flow.withJavaScriptSdkFlow(Boolean value) To be enabled when Javascript SDK integration is implemented on S2S flow false = When this flag is disabled the field RedirectionURL is returned by CreatePayment call and should be used in merchant implementation to redirect buyer to PayPal. true = When this flag is enabled the field orderID is returned by CreatePayment call and should be utilized in case merchant has integrated JS SDK button on their S2S implementation Default value is false.withPayLater(Boolean value) Indicates whether to allow PayPal Pay Later option.
-
Constructor Details
-
RedirectPaymentProduct840SpecificInput
public RedirectPaymentProduct840SpecificInput()
-
-
Method Details
-
getJavaScriptSdkFlow
To be enabled when Javascript SDK integration is implemented on S2S flow- false = When this flag is disabled the field RedirectionURL is returned by CreatePayment call and should be used in merchant implementation to redirect buyer to PayPal.
- true = When this flag is enabled the field orderID is returned by CreatePayment call and should be utilized in case merchant has integrated JS SDK button on their S2S implementation Default value is false.
-
setJavaScriptSdkFlow
To be enabled when Javascript SDK integration is implemented on S2S flow- false = When this flag is disabled the field RedirectionURL is returned by CreatePayment call and should be used in merchant implementation to redirect buyer to PayPal.
- true = When this flag is enabled the field orderID is returned by CreatePayment call and should be utilized in case merchant has integrated JS SDK button on their S2S implementation Default value is false.
-
withJavaScriptSdkFlow
To be enabled when Javascript SDK integration is implemented on S2S flow- false = When this flag is disabled the field RedirectionURL is returned by CreatePayment call and should be used in merchant implementation to redirect buyer to PayPal.
- true = When this flag is enabled the field orderID is returned by CreatePayment call and should be utilized in case merchant has integrated JS SDK button on their S2S implementation Default value is false.
-
getAddressSelectionAtPayPal
Indicates whether to use PayPal Express Checkout Shortcut.- true = When shortcut is enabled, the consumer can select a shipping address during PayPal checkout.
- false = When shortcut is disabled, the consumer cannot change the shipping address. Default value is false. Please note that this field is ignored when order.additionalInput.typeInformation.purchaseType is set to "digital"
-
setAddressSelectionAtPayPal
Indicates whether to use PayPal Express Checkout Shortcut.- true = When shortcut is enabled, the consumer can select a shipping address during PayPal checkout.
- false = When shortcut is disabled, the consumer cannot change the shipping address. Default value is false. Please note that this field is ignored when order.additionalInput.typeInformation.purchaseType is set to "digital"
-
withAddressSelectionAtPayPal
Indicates whether to use PayPal Express Checkout Shortcut.- true = When shortcut is enabled, the consumer can select a shipping address during PayPal checkout.
- false = When shortcut is disabled, the consumer cannot change the shipping address. Default value is false. Please note that this field is ignored when order.additionalInput.typeInformation.purchaseType is set to "digital"
-
getCustom
Free text field that you can use to support reconciliation flow. -
setCustom
Free text field that you can use to support reconciliation flow. -
withCustom
Free text field that you can use to support reconciliation flow. -
getPayLater
Indicates whether to allow PayPal Pay Later option.- true = When option is enabled, the consumer can select the PayPal PayLater button given that the merchant meets the eligibility criteria from PayPal.
- false = When option is disabled, the consumer cannot select the PayPal PayLater button. Default value is true.
-
setPayLater
Indicates whether to allow PayPal Pay Later option.- true = When option is enabled, the consumer can select the PayPal PayLater button given that the merchant meets the eligibility criteria from PayPal.
- false = When option is disabled, the consumer cannot select the PayPal PayLater button. Default value is true.
-
withPayLater
Indicates whether to allow PayPal Pay Later option.- true = When option is enabled, the consumer can select the PayPal PayLater button given that the merchant meets the eligibility criteria from PayPal.
- false = When option is disabled, the consumer cannot select the PayPal PayLater button. Default value is true.
-