java.lang.Object
com.broadleafcommerce.paypal.micro.gateway.domain.payments.PaymentSourceRequest
All Implemented Interfaces:
Serializable

public class PaymentSourceRequest extends Object implements Serializable
Author:
Dima Myroniuk (dmyroniuk)
See Also:
  • Constructor Details

    • PaymentSourceRequest

      public PaymentSourceRequest()
  • Method Details

    • setCard

      public void setCard(CardRequest card)
      The payment card to use to fund a payment. Can be a credit or debit card. Note: Passing card number, cvv and expiry directly via the API requires PCI SAQ D compliance. PayPal offers a mechanism by which you do not have to take on the PCI SAQ D burden by using hosted fields - refer to this Integration Guide.
    • setPaypal

      public void setPaypal(Paypal paypal)
      Indicates that PayPal Wallet is the payment source. Main use of this selection is to provide additional instructions associated with this choice like vaulting.
    • setToken

      public void setToken(Token token)
      The tokenized payment source to fund a payment.
    • getCard

      public CardRequest getCard()
      The payment card to use to fund a payment. Can be a credit or debit card. Note: Passing card number, cvv and expiry directly via the API requires PCI SAQ D compliance. PayPal offers a mechanism by which you do not have to take on the PCI SAQ D burden by using hosted fields - refer to this Integration Guide.
    • getPaypal

      public Paypal getPaypal()
      Indicates that PayPal Wallet is the payment source. Main use of this selection is to provide additional instructions associated with this choice like vaulting.
    • getToken

      public Token getToken()
      The tokenized payment source to fund a payment.