public class CreateOrderInput extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateOrderInput.Builder
Class to build instances of
CreateOrderInput. |
| Constructor and Description |
|---|
CreateOrderInput()
Default constructor.
|
CreateOrderInput(String contentType,
OrderRequest body,
String paypalMockResponse,
String paypalRequestId,
String paypalPartnerAttributionId,
String paypalClientMetadataId,
String prefer,
String paypalAuthAssertion)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
OrderRequest |
getBody()
Getter for Body.
|
String |
getContentType()
Getter for ContentType.
|
String |
getPaypalAuthAssertion()
Getter for PaypalAuthAssertion.
|
String |
getPaypalClientMetadataId()
Getter for PaypalClientMetadataId.
|
String |
getPaypalMockResponse()
Getter for PaypalMockResponse.
|
String |
getPaypalPartnerAttributionId()
Getter for PaypalPartnerAttributionId.
|
String |
getPaypalRequestId()
Getter for PaypalRequestId.
|
String |
getPrefer()
Getter for Prefer.
|
void |
setBody(OrderRequest body)
Setter for Body.
|
void |
setPaypalAuthAssertion(String paypalAuthAssertion)
Setter for PaypalAuthAssertion.
|
void |
setPaypalClientMetadataId(String paypalClientMetadataId)
Setter for PaypalClientMetadataId.
|
void |
setPaypalMockResponse(String paypalMockResponse)
Setter for PaypalMockResponse.
|
void |
setPaypalPartnerAttributionId(String paypalPartnerAttributionId)
Setter for PaypalPartnerAttributionId.
|
void |
setPaypalRequestId(String paypalRequestId)
Setter for PaypalRequestId.
|
void |
setPrefer(String prefer)
Setter for Prefer.
|
CreateOrderInput.Builder |
toBuilder()
Builds a new
CreateOrderInput.Builder object. |
String |
toString()
Converts this CreateOrderInput into string format.
|
public CreateOrderInput()
public CreateOrderInput(String contentType, OrderRequest body, String paypalMockResponse, String paypalRequestId, String paypalPartnerAttributionId, String paypalClientMetadataId, String prefer, String paypalAuthAssertion)
contentType - String value for contentType.body - OrderRequest value for body.paypalMockResponse - String value for paypalMockResponse.paypalRequestId - String value for paypalRequestId.paypalPartnerAttributionId - String value for paypalPartnerAttributionId.paypalClientMetadataId - String value for paypalClientMetadataId.prefer - String value for prefer.paypalAuthAssertion - String value for paypalAuthAssertion.public String getContentType()
public OrderRequest getBody()
public void setBody(OrderRequest body)
body - Value for OrderRequestpublic String getPaypalMockResponse()
public void setPaypalMockResponse(String paypalMockResponse)
paypalMockResponse - Value for Stringpublic String getPaypalRequestId()
public void setPaypalRequestId(String paypalRequestId)
paypalRequestId - Value for Stringpublic String getPaypalPartnerAttributionId()
public void setPaypalPartnerAttributionId(String paypalPartnerAttributionId)
paypalPartnerAttributionId - Value for Stringpublic String getPaypalClientMetadataId()
public void setPaypalClientMetadataId(String paypalClientMetadataId)
paypalClientMetadataId - Value for Stringpublic String getPrefer()
public void setPrefer(String prefer)
prefer - Value for Stringpublic String getPaypalAuthAssertion()
public void setPaypalAuthAssertion(String paypalAuthAssertion)
paypalAuthAssertion - Value for Stringpublic String toString()
public CreateOrderInput.Builder toBuilder()
CreateOrderInput.Builder object.
Creates the instance with the state of the current model.CreateOrderInput.Builder objectCopyright © 2025. All rights reserved.