public static class SetupTokenResponsePaymentSource.Builder extends Object
SetupTokenResponsePaymentSource.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SetupTokenResponsePaymentSource |
build()
Builds a new
SetupTokenResponsePaymentSource object using the set fields. |
SetupTokenResponsePaymentSource.Builder |
card(SetupTokenResponseCard card)
Setter for card.
|
SetupTokenResponsePaymentSource.Builder |
paypal(PaypalPaymentToken paypal)
Setter for paypal.
|
SetupTokenResponsePaymentSource.Builder |
venmo(VenmoPaymentToken venmo)
Setter for venmo.
|
public SetupTokenResponsePaymentSource.Builder card(SetupTokenResponseCard card)
card - SetupTokenResponseCard value for card.public SetupTokenResponsePaymentSource.Builder paypal(PaypalPaymentToken paypal)
paypal - PaypalPaymentToken value for paypal.public SetupTokenResponsePaymentSource.Builder venmo(VenmoPaymentToken venmo)
venmo - VenmoPaymentToken value for venmo.public SetupTokenResponsePaymentSource build()
SetupTokenResponsePaymentSource object using the set fields.SetupTokenResponsePaymentSourceCopyright © 2025. All rights reserved.