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