public class PaymentTokenRequestPaymentSource extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PaymentTokenRequestPaymentSource.Builder
Class to build instances of
PaymentTokenRequestPaymentSource. |
| Constructor and Description |
|---|
PaymentTokenRequestPaymentSource()
Default constructor.
|
PaymentTokenRequestPaymentSource(PaymentTokenRequestCard card,
VaultTokenRequest token)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PaymentTokenRequestCard |
getCard()
Getter for Card.
|
VaultTokenRequest |
getToken()
Getter for Token.
|
void |
setCard(PaymentTokenRequestCard card)
Setter for Card.
|
void |
setToken(VaultTokenRequest token)
Setter for Token.
|
PaymentTokenRequestPaymentSource.Builder |
toBuilder()
Builds a new
PaymentTokenRequestPaymentSource.Builder object. |
String |
toString()
Converts this PaymentTokenRequestPaymentSource into string format.
|
public PaymentTokenRequestPaymentSource()
public PaymentTokenRequestPaymentSource(PaymentTokenRequestCard card, VaultTokenRequest token)
card - PaymentTokenRequestCard value for card.token - VaultTokenRequest value for token.public PaymentTokenRequestCard getCard()
public void setCard(PaymentTokenRequestCard card)
card - Value for PaymentTokenRequestCardpublic VaultTokenRequest getToken()
public void setToken(VaultTokenRequest token)
token - Value for VaultTokenRequestpublic String toString()
public PaymentTokenRequestPaymentSource.Builder toBuilder()
PaymentTokenRequestPaymentSource.Builder object.
Creates the instance with the state of the current model.PaymentTokenRequestPaymentSource.Builder objectCopyright © 2025. All rights reserved.