public class PaymentTokenRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PaymentTokenRequest.Builder
Class to build instances of
PaymentTokenRequest. |
| Constructor and Description |
|---|
PaymentTokenRequest()
Default constructor.
|
PaymentTokenRequest(PaymentTokenRequestPaymentSource paymentSource,
Customer customer)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Customer |
getCustomer()
Getter for Customer.
|
PaymentTokenRequestPaymentSource |
getPaymentSource()
Getter for PaymentSource.
|
void |
setCustomer(Customer customer)
Setter for Customer.
|
void |
setPaymentSource(PaymentTokenRequestPaymentSource paymentSource)
Setter for PaymentSource.
|
PaymentTokenRequest.Builder |
toBuilder()
Builds a new
PaymentTokenRequest.Builder object. |
String |
toString()
Converts this PaymentTokenRequest into string format.
|
public PaymentTokenRequest()
public PaymentTokenRequest(PaymentTokenRequestPaymentSource paymentSource, Customer customer)
paymentSource - PaymentTokenRequestPaymentSource value for paymentSource.customer - Customer value for customer.public Customer getCustomer()
public void setCustomer(Customer customer)
customer - Value for Customerpublic PaymentTokenRequestPaymentSource getPaymentSource()
public void setPaymentSource(PaymentTokenRequestPaymentSource paymentSource)
paymentSource - Value for PaymentTokenRequestPaymentSourcepublic String toString()
public PaymentTokenRequest.Builder toBuilder()
PaymentTokenRequest.Builder object.
Creates the instance with the state of the current model.PaymentTokenRequest.Builder objectCopyright © 2025. All rights reserved.