public static class PaymentTokenResponse.Builder extends Object
PaymentTokenResponse.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
PaymentTokenResponse |
build()
Builds a new
PaymentTokenResponse object using the set fields. |
PaymentTokenResponse.Builder |
customer(CustomerResponse customer)
Setter for customer.
|
PaymentTokenResponse.Builder |
id(String id)
Setter for id.
|
PaymentTokenResponse.Builder |
links(List<LinkDescription> links)
Setter for links.
|
PaymentTokenResponse.Builder |
paymentSource(PaymentTokenResponsePaymentSource paymentSource)
Setter for paymentSource.
|
public PaymentTokenResponse.Builder id(String id)
id - String value for id.public PaymentTokenResponse.Builder customer(CustomerResponse customer)
customer - CustomerResponse value for customer.public PaymentTokenResponse.Builder paymentSource(PaymentTokenResponsePaymentSource paymentSource)
paymentSource - PaymentTokenResponsePaymentSource value for paymentSource.public PaymentTokenResponse.Builder links(List<LinkDescription> links)
links - List of LinkDescription value for links.public PaymentTokenResponse build()
PaymentTokenResponse object using the set fields.PaymentTokenResponseCopyright © 2025. All rights reserved.