Class UpdateExpressPayPalOrderRequest
java.lang.Object
com.broadleafcommerce.adyen.domain.UpdateExpressPayPalOrderRequest
Request object for updating the PayPal order as part of the PayPal express checkout flow.
- Author:
- Chris Kittrell (ckittrell)
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The updated final payment amount.The list of new delivery methods and the cost of each.The paymentData from the client side.The original pspReference from the /payments response.The original sessionId from the /sessions response.Total tax amount from the order.int
hashCode()
void
setAmount
(AdyenAmount amount) The updated final payment amount.void
setDeliveryMethods
(List<AdyenDeliveryMethod> deliveryMethods) The list of new delivery methods and the cost of each.void
setPaymentData
(String paymentData) The paymentData from the client side.void
setPspReference
(String pspReference) The original pspReference from the /payments response.void
setSessionId
(String sessionId) The original sessionId from the /sessions response.void
Total tax amount from the order.toString()
-
Constructor Details
-
UpdateExpressPayPalOrderRequest
public UpdateExpressPayPalOrderRequest()
-
-
Method Details
-
getAmount
The updated final payment amount. This amount is the item total plus the shipping costs of the selected deliveryMethod.- Returns:
- The updated final payment amount. This amount is the item total plus the shipping costs of the selected deliveryMethod.
-
getTaxTotal
Total tax amount from the order.- Returns:
- Total tax amount from the order.
-
getDeliveryMethods
The list of new delivery methods and the cost of each.- Returns:
- The list of new delivery methods and the cost of each.
-
getPaymentData
The paymentData from the client side. This value changes every time you make a /paypal/updateOrder request.- Returns:
- The paymentData from the client side. This value changes every time you make a /paypal/updateOrder request.
-
getPspReference
The original pspReference from the /payments response.- Returns:
- The original pspReference from the /payments response.
-
getSessionId
The original sessionId from the /sessions response.- Returns:
- The original sessionId from the /sessions response.
-
setAmount
The updated final payment amount. This amount is the item total plus the shipping costs of the selected deliveryMethod.- Parameters:
amount
- The updated final payment amount. This amount is the item total plus the shipping costs of the selected deliveryMethod.
-
setTaxTotal
Total tax amount from the order.- Parameters:
taxTotal
- Total tax amount from the order.
-
setDeliveryMethods
The list of new delivery methods and the cost of each.- Parameters:
deliveryMethods
- The list of new delivery methods and the cost of each.
-
setPaymentData
The paymentData from the client side. This value changes every time you make a /paypal/updateOrder request.- Parameters:
paymentData
- The paymentData from the client side. This value changes every time you make a /paypal/updateOrder request.
-
setPspReference
The original pspReference from the /payments response.- Parameters:
pspReference
- The original pspReference from the /payments response.
-
setSessionId
The original sessionId from the /sessions response.- Parameters:
sessionId
- The original sessionId from the /sessions response.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-