public static class CreateOrderInput.Builder extends Object
CreateOrderInput.| Constructor and Description |
|---|
Builder()
Initialization constructor.
|
Builder(String contentType,
OrderRequest body)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CreateOrderInput.Builder |
body(OrderRequest body)
Setter for body.
|
CreateOrderInput |
build()
Builds a new
CreateOrderInput object using the set fields. |
CreateOrderInput.Builder |
contentType(String contentType)
Setter for contentType.
|
CreateOrderInput.Builder |
paypalAuthAssertion(String paypalAuthAssertion)
Setter for paypalAuthAssertion.
|
CreateOrderInput.Builder |
paypalClientMetadataId(String paypalClientMetadataId)
Setter for paypalClientMetadataId.
|
CreateOrderInput.Builder |
paypalMockResponse(String paypalMockResponse)
Setter for paypalMockResponse.
|
CreateOrderInput.Builder |
paypalPartnerAttributionId(String paypalPartnerAttributionId)
Setter for paypalPartnerAttributionId.
|
CreateOrderInput.Builder |
paypalRequestId(String paypalRequestId)
Setter for paypalRequestId.
|
CreateOrderInput.Builder |
prefer(String prefer)
Setter for prefer.
|
public Builder()
public Builder(String contentType, OrderRequest body)
contentType - String value for contentType.body - OrderRequest value for body.public CreateOrderInput.Builder contentType(String contentType)
contentType - String value for contentType.public CreateOrderInput.Builder body(OrderRequest body)
body - OrderRequest value for body.public CreateOrderInput.Builder paypalMockResponse(String paypalMockResponse)
paypalMockResponse - String value for paypalMockResponse.public CreateOrderInput.Builder paypalRequestId(String paypalRequestId)
paypalRequestId - String value for paypalRequestId.public CreateOrderInput.Builder paypalPartnerAttributionId(String paypalPartnerAttributionId)
paypalPartnerAttributionId - String value for paypalPartnerAttributionId.public CreateOrderInput.Builder paypalClientMetadataId(String paypalClientMetadataId)
paypalClientMetadataId - String value for paypalClientMetadataId.public CreateOrderInput.Builder prefer(String prefer)
prefer - String value for prefer.public CreateOrderInput.Builder paypalAuthAssertion(String paypalAuthAssertion)
paypalAuthAssertion - String value for paypalAuthAssertion.public CreateOrderInput build()
CreateOrderInput object using the set fields.CreateOrderInputCopyright © 2025. All rights reserved.