Class AdyenPayPalExpressCheckoutRequest

java.lang.Object
com.broadleafcommerce.adyen.service.domain.AdyenPayPalExpressCheckoutRequest

public class AdyenPayPalExpressCheckoutRequest extends Object
Request payload used when setting up a PayPal express checkout interaction.
Author:
Chris Kittrell (ckittrell)
  • Constructor Details

    • AdyenPayPalExpressCheckoutRequest

      public AdyenPayPalExpressCheckoutRequest()
  • Method Details

    • getCurrencyCode

      @Nullable public String getCurrencyCode()
    • getGatewayType

      public String getGatewayType()
      The payment gateway used to process this payment.
    • getType

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

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

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

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

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

      public String getCartId()
      Unique id used to represent the cart.
      Returns:
      Unique id used to represent the cart.
    • getAdditionalAttributes

      public Map<String,Object> getAdditionalAttributes()
      General use map to capture any additional attributes.
      Returns:
      General use map to capture any additional attributes
    • setGatewayType

      public void setGatewayType(String gatewayType)
      The payment gateway used to process this payment.
    • setType

      public void setType(String type)
      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

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

      public void setCheckoutTransactionType(String checkoutTransactionType)
      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

      public void setReturnUrl(String returnUrl)
      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

      public void setRequestId(String requestId)
      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

      public void setCartId(String cartId)
      Unique id used to represent the cart.
      Parameters:
      cartId - Unique id used to represent the cart.
    • setAdditionalAttributes

      public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
      General use map to capture any additional attributes.
      Parameters:
      attributes - General use map to capture any additional attributes
    • 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