public class CreateCheckoutRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateCheckoutRequest.Builder
Class to build instances of
CreateCheckoutRequest. |
| Constructor and Description |
|---|
CreateCheckoutRequest(String idempotencyKey,
CreateOrderRequest order,
Boolean askForShippingAddress,
String merchantSupportEmail,
String prePopulateBuyerEmail,
Address prePopulateShippingAddress,
String redirectUrl,
List<ChargeRequestAdditionalRecipient> additionalRecipients,
String note)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<ChargeRequestAdditionalRecipient> |
getAdditionalRecipients()
Getter for AdditionalRecipients.
|
Boolean |
getAskForShippingAddress()
Getter for AskForShippingAddress.
|
String |
getIdempotencyKey()
Getter for IdempotencyKey.
|
String |
getMerchantSupportEmail()
Getter for MerchantSupportEmail.
|
String |
getNote()
Getter for Note.
|
CreateOrderRequest |
getOrder()
Getter for Order.
|
String |
getPrePopulateBuyerEmail()
Getter for PrePopulateBuyerEmail.
|
Address |
getPrePopulateShippingAddress()
Getter for PrePopulateShippingAddress.
|
String |
getRedirectUrl()
Getter for RedirectUrl.
|
int |
hashCode() |
CreateCheckoutRequest.Builder |
toBuilder()
Builds a new
CreateCheckoutRequest.Builder object. |
String |
toString()
Converts this CreateCheckoutRequest into string format.
|
public CreateCheckoutRequest(String idempotencyKey, CreateOrderRequest order, Boolean askForShippingAddress, String merchantSupportEmail, String prePopulateBuyerEmail, Address prePopulateShippingAddress, String redirectUrl, List<ChargeRequestAdditionalRecipient> additionalRecipients, String note)
idempotencyKey - String value for idempotencyKey.order - CreateOrderRequest value for order.askForShippingAddress - Boolean value for askForShippingAddress.merchantSupportEmail - String value for merchantSupportEmail.prePopulateBuyerEmail - String value for prePopulateBuyerEmail.prePopulateShippingAddress - Address value for prePopulateShippingAddress.redirectUrl - String value for redirectUrl.additionalRecipients - List of ChargeRequestAdditionalRecipient value for
additionalRecipients.note - String value for note.public String getIdempotencyKey()
public CreateOrderRequest getOrder()
public Boolean getAskForShippingAddress()
public String getMerchantSupportEmail()
public String getPrePopulateBuyerEmail()
public Address getPrePopulateShippingAddress()
public String getRedirectUrl()
public List<ChargeRequestAdditionalRecipient> getAdditionalRecipients()
public String getNote()
public String toString()
public CreateCheckoutRequest.Builder toBuilder()
CreateCheckoutRequest.Builder object.
Creates the instance with the state of the current model.CreateCheckoutRequest.Builder objectCopyright © 2022. All rights reserved.