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