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 booleanbooleanThe 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.inthashCode()voidsetAmount(AdyenAmount amount) The updated final payment amount.voidsetDeliveryMethods(List<AdyenDeliveryMethod> deliveryMethods) The list of new delivery methods and the cost of each.voidsetPaymentData(String paymentData) The paymentData from the client side.voidsetPspReference(String pspReference) The original pspReference from the /payments response.voidsetSessionId(String sessionId) The original sessionId from the /sessions response.voidTotal 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
-