Class AdyenPayPalExpressCheckoutRequest
java.lang.Object
com.broadleafcommerce.adyen.service.domain.AdyenPayPalExpressCheckoutRequest
Request payload used when setting up a PayPal express checkout interaction.
- Author:
- Chris Kittrell (ckittrell)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
General use map to capture any additional attributes.The amount for which this payment is allotted.Unique id used to represent the cart.The transaction type that should be used during checkout with express PayPal.The payment gateway used to process this payment.Unique id used to represent this request to setup PayPal express checkout.The return url that the customer's browser should use after redirecting to a PayPal-hosted page.getType()
The type of this payment like Credit Card or Gift Card.int
hashCode()
void
setAdditionalAttributes
(Map<String, Object> additionalAttributes) General use map to capture any additional attributes.void
setAmount
(AdyenAmount amount) The amount for which this payment is allotted.void
Unique id used to represent the cart.void
setCheckoutTransactionType
(String checkoutTransactionType) The transaction type that should be used during checkout with express PayPal.void
setGatewayType
(String gatewayType) The payment gateway used to process this payment.void
setRequestId
(String requestId) Unique id used to represent this request to setup PayPal express checkout.void
setReturnUrl
(String returnUrl) The return url that the customer's browser should use after redirecting to a PayPal-hosted page.void
The type of this payment like Credit Card or Gift Card.toString()
-
Constructor Details
-
AdyenPayPalExpressCheckoutRequest
public AdyenPayPalExpressCheckoutRequest()
-
-
Method Details
-
getCurrencyCode
-
getGatewayType
The payment gateway used to process this payment. -
getType
The type of this payment like Credit Card or Gift Card.- Returns:
- The type of this payment like Credit Card or Gift Card.
-
getAmount
The amount for which this payment is allotted. If specified, the amount details should be equal to this amount using the following equation: transactionAmount = subtotal + fulfillmentTotal + feesTotal - adjustmentsTotal + taxTotal - includedTaxTotal.- Returns:
- The amount for which this payment is allotted.
-
getCheckoutTransactionType
The transaction type that should be used during checkout with express PayPal.- Returns:
- The transaction type that should be used during checkout with express PayPal.
-
getReturnUrl
The return url that the customer's browser should use after redirecting to a PayPal-hosted page.- Returns:
- The return url that the customer's browser should use after redirecting to a PayPal-hosted page.
-
getRequestId
Unique id used to represent this request to setup PayPal express checkout.- Returns:
- Unique id used to represent this request to setup PayPal express checkout.
-
getCartId
Unique id used to represent the cart.- Returns:
- Unique id used to represent the cart.
-
getAdditionalAttributes
General use map to capture any additional attributes.- Returns:
- General use map to capture any additional attributes
-
setGatewayType
The payment gateway used to process this payment. -
setType
The type of this payment like Credit Card or Gift Card.- Parameters:
type
- The type of this payment like Credit Card or Gift Card.
-
setAmount
The amount for which this payment is allotted. If specified, the amount details should be equal to this amount using the following equation: transactionAmount = subtotal + fulfillmentTotal + feesTotal - adjustmentsTotal + taxTotal - includedTaxTotal.- Parameters:
amount
- The amount for which this payment is allotted.
-
setCheckoutTransactionType
The transaction type that should be used during checkout with express PayPal.- Parameters:
checkoutTransactionType
- The transaction type that should be used during checkout with express PayPal.
-
setReturnUrl
The return url that the customer's browser should use after redirecting to a PayPal-hosted page.- Parameters:
returnUrl
- The return url that the customer's browser should use after redirecting to a PayPal-hosted page.
-
setRequestId
Unique id used to represent this request to setup PayPal express checkout.- Parameters:
requestId
- Unique id used to represent this request to setup PayPal express checkout.
-
setCartId
Unique id used to represent the cart.- Parameters:
cartId
- Unique id used to represent the cart.
-
setAdditionalAttributes
General use map to capture any additional attributes.- Parameters:
attributes
- General use map to capture any additional attributes
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-