public static class PaymentTokenRequest.Builder extends Object
PaymentTokenRequest.| Constructor and Description |
|---|
Builder()
Initialization constructor.
|
Builder(PaymentTokenRequestPaymentSource paymentSource)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PaymentTokenRequest |
build()
Builds a new
PaymentTokenRequest object using the set fields. |
PaymentTokenRequest.Builder |
customer(Customer customer)
Setter for customer.
|
PaymentTokenRequest.Builder |
paymentSource(PaymentTokenRequestPaymentSource paymentSource)
Setter for paymentSource.
|
public Builder()
public Builder(PaymentTokenRequestPaymentSource paymentSource)
paymentSource - PaymentTokenRequestPaymentSource value for paymentSource.public PaymentTokenRequest.Builder paymentSource(PaymentTokenRequestPaymentSource paymentSource)
paymentSource - PaymentTokenRequestPaymentSource value for paymentSource.public PaymentTokenRequest.Builder customer(Customer customer)
customer - Customer value for customer.public PaymentTokenRequest build()
PaymentTokenRequest object using the set fields.PaymentTokenRequestCopyright © 2025. All rights reserved.