public class PaymentTokenResponsePaymentSource extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PaymentTokenResponsePaymentSource.Builder
Class to build instances of
PaymentTokenResponsePaymentSource. |
| Constructor and Description |
|---|
PaymentTokenResponsePaymentSource()
Default constructor.
|
PaymentTokenResponsePaymentSource(CardPaymentTokenEntity card,
PaypalPaymentToken paypal,
VenmoPaymentToken venmo,
ApplePayPaymentToken applePay)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ApplePayPaymentToken |
getApplePay()
Getter for ApplePay.
|
CardPaymentTokenEntity |
getCard()
Getter for Card.
|
PaypalPaymentToken |
getPaypal()
Getter for Paypal.
|
VenmoPaymentToken |
getVenmo()
Getter for Venmo.
|
void |
setApplePay(ApplePayPaymentToken applePay)
Setter for ApplePay.
|
void |
setCard(CardPaymentTokenEntity card)
Setter for Card.
|
void |
setPaypal(PaypalPaymentToken paypal)
Setter for Paypal.
|
void |
setVenmo(VenmoPaymentToken venmo)
Setter for Venmo.
|
PaymentTokenResponsePaymentSource.Builder |
toBuilder()
Builds a new
PaymentTokenResponsePaymentSource.Builder object. |
String |
toString()
Converts this PaymentTokenResponsePaymentSource into string format.
|
public PaymentTokenResponsePaymentSource()
public PaymentTokenResponsePaymentSource(CardPaymentTokenEntity card, PaypalPaymentToken paypal, VenmoPaymentToken venmo, ApplePayPaymentToken applePay)
card - CardPaymentTokenEntity value for card.paypal - PaypalPaymentToken value for paypal.venmo - VenmoPaymentToken value for venmo.applePay - ApplePayPaymentToken value for applePay.public CardPaymentTokenEntity getCard()
public void setCard(CardPaymentTokenEntity card)
card - Value for CardPaymentTokenEntitypublic PaypalPaymentToken getPaypal()
public void setPaypal(PaypalPaymentToken paypal)
paypal - Value for PaypalPaymentTokenpublic VenmoPaymentToken getVenmo()
public void setVenmo(VenmoPaymentToken venmo)
venmo - Value for VenmoPaymentTokenpublic ApplePayPaymentToken getApplePay()
public void setApplePay(ApplePayPaymentToken applePay)
applePay - Value for ApplePayPaymentTokenpublic String toString()
public PaymentTokenResponsePaymentSource.Builder toBuilder()
PaymentTokenResponsePaymentSource.Builder object.
Creates the instance with the state of the current model.PaymentTokenResponsePaymentSource.Builder objectCopyright © 2025. All rights reserved.