Class PaymentSourceRequest
- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PaymentSourceRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CardRequest
getCard()
The payment card to use to fund a payment.Paypal
getPaypal()
Indicates that PayPal Wallet is the payment source.Token
getToken()
The tokenized payment source to fund a payment.void
setCard(CardRequest card)
The payment card to use to fund a payment.void
setPaypal(Paypal paypal)
Indicates that PayPal Wallet is the payment source.void
setToken(Token token)
The tokenized payment source to fund a payment.
-
-
-
Method Detail
-
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.
-
-