public class OrderCaptureRequestPaymentSource extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OrderCaptureRequestPaymentSource.Builder
Class to build instances of
OrderCaptureRequestPaymentSource. |
| Constructor and Description |
|---|
OrderCaptureRequestPaymentSource()
Default constructor.
|
OrderCaptureRequestPaymentSource(CardRequest card,
Token token,
PaypalWallet paypal,
ApplePayRequest applePay,
GooglePayRequest googlePay,
VenmoWalletRequest venmo)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ApplePayRequest |
getApplePay()
Getter for ApplePay.
|
CardRequest |
getCard()
Getter for Card.
|
GooglePayRequest |
getGooglePay()
Getter for GooglePay.
|
PaypalWallet |
getPaypal()
Getter for Paypal.
|
Token |
getToken()
Getter for Token.
|
VenmoWalletRequest |
getVenmo()
Getter for Venmo.
|
void |
setApplePay(ApplePayRequest applePay)
Setter for ApplePay.
|
void |
setCard(CardRequest card)
Setter for Card.
|
void |
setGooglePay(GooglePayRequest googlePay)
Setter for GooglePay.
|
void |
setPaypal(PaypalWallet paypal)
Setter for Paypal.
|
void |
setToken(Token token)
Setter for Token.
|
void |
setVenmo(VenmoWalletRequest venmo)
Setter for Venmo.
|
OrderCaptureRequestPaymentSource.Builder |
toBuilder()
Builds a new
OrderCaptureRequestPaymentSource.Builder object. |
String |
toString()
Converts this OrderCaptureRequestPaymentSource into string format.
|
public OrderCaptureRequestPaymentSource()
public OrderCaptureRequestPaymentSource(CardRequest card, Token token, PaypalWallet paypal, ApplePayRequest applePay, GooglePayRequest googlePay, VenmoWalletRequest venmo)
card - CardRequest value for card.token - Token value for token.paypal - PaypalWallet value for paypal.applePay - ApplePayRequest value for applePay.googlePay - GooglePayRequest value for googlePay.venmo - VenmoWalletRequest value for venmo.public CardRequest getCard()
public void setCard(CardRequest card)
card - Value for CardRequestpublic Token getToken()
public void setToken(Token token)
token - Value for Tokenpublic PaypalWallet getPaypal()
public void setPaypal(PaypalWallet paypal)
paypal - Value for PaypalWalletpublic ApplePayRequest getApplePay()
public void setApplePay(ApplePayRequest applePay)
applePay - Value for ApplePayRequestpublic GooglePayRequest getGooglePay()
public void setGooglePay(GooglePayRequest googlePay)
googlePay - Value for GooglePayRequestpublic VenmoWalletRequest getVenmo()
public void setVenmo(VenmoWalletRequest venmo)
venmo - Value for VenmoWalletRequestpublic String toString()
public OrderCaptureRequestPaymentSource.Builder toBuilder()
OrderCaptureRequestPaymentSource.Builder object.
Creates the instance with the state of the current model.OrderCaptureRequestPaymentSource.Builder objectCopyright © 2025. All rights reserved.