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