Class UpdateExpressPayPalOrderRequest

java.lang.Object
com.broadleafcommerce.adyen.domain.UpdateExpressPayPalOrderRequest

public class UpdateExpressPayPalOrderRequest extends Object
Request object for updating the PayPal order as part of the PayPal express checkout flow.
Author:
Chris Kittrell (ckittrell)
  • Constructor Details

    • UpdateExpressPayPalOrderRequest

      public UpdateExpressPayPalOrderRequest()
  • Method Details

    • getAmount

      public AdyenAmount 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

      public List<AdyenDeliveryMethod> 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

      public String 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

      public String getPspReference()
      The original pspReference from the /payments response.
      Returns:
      The original pspReference from the /payments response.
    • getSessionId

      public String getSessionId()
      The original sessionId from the /sessions response.
      Returns:
      The original sessionId from the /sessions response.
    • setAmount

      public void setAmount(AdyenAmount amount)
      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

      public void setTaxTotal(UpdateExpressPayPalOrderRequest.TaxTotal taxTotal)
      Total tax amount from the order.
      Parameters:
      taxTotal - Total tax amount from the order.
    • setDeliveryMethods

      public void setDeliveryMethods(List<AdyenDeliveryMethod> deliveryMethods)
      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

      public void setPaymentData(String paymentData)
      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

      public void setPspReference(String pspReference)
      The original pspReference from the /payments response.
      Parameters:
      pspReference - The original pspReference from the /payments response.
    • setSessionId

      public void setSessionId(String sessionId)
      The original sessionId from the /sessions response.
      Parameters:
      sessionId - The original sessionId from the /sessions response.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object