public class CreatePaymentTokenInput extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CreatePaymentTokenInput.Builder
Class to build instances of
CreatePaymentTokenInput. |
| Constructor and Description |
|---|
CreatePaymentTokenInput()
Default constructor.
|
CreatePaymentTokenInput(String contentType,
PaymentTokenRequest body,
String paypalRequestId)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PaymentTokenRequest |
getBody()
Getter for Body.
|
String |
getContentType()
Getter for ContentType.
|
String |
getPaypalRequestId()
Getter for PaypalRequestId.
|
void |
setBody(PaymentTokenRequest body)
Setter for Body.
|
void |
setPaypalRequestId(String paypalRequestId)
Setter for PaypalRequestId.
|
CreatePaymentTokenInput.Builder |
toBuilder()
Builds a new
CreatePaymentTokenInput.Builder object. |
String |
toString()
Converts this CreatePaymentTokenInput into string format.
|
public CreatePaymentTokenInput()
public CreatePaymentTokenInput(String contentType, PaymentTokenRequest body, String paypalRequestId)
contentType - String value for contentType.body - PaymentTokenRequest value for body.paypalRequestId - String value for paypalRequestId.public String getContentType()
public PaymentTokenRequest getBody()
public void setBody(PaymentTokenRequest body)
body - Value for PaymentTokenRequestpublic String getPaypalRequestId()
public void setPaypalRequestId(String paypalRequestId)
paypalRequestId - Value for Stringpublic String toString()
public CreatePaymentTokenInput.Builder toBuilder()
CreatePaymentTokenInput.Builder object.
Creates the instance with the state of the current model.CreatePaymentTokenInput.Builder objectCopyright © 2025. All rights reserved.