public class Checkout extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Checkout.Builder
Class to build instances of
Checkout. |
| Modifier | Constructor and Description |
|---|---|
protected |
Checkout(String id,
io.apimatic.core.types.OptionalNullable<String> checkoutPageUrl,
io.apimatic.core.types.OptionalNullable<Boolean> askForShippingAddress,
io.apimatic.core.types.OptionalNullable<String> merchantSupportEmail,
io.apimatic.core.types.OptionalNullable<String> prePopulateBuyerEmail,
Address prePopulateShippingAddress,
io.apimatic.core.types.OptionalNullable<String> redirectUrl,
Order order,
String createdAt,
io.apimatic.core.types.OptionalNullable<List<AdditionalRecipient>> additionalRecipients)
Internal initialization constructor.
|
|
Checkout(String id,
String checkoutPageUrl,
Boolean askForShippingAddress,
String merchantSupportEmail,
String prePopulateBuyerEmail,
Address prePopulateShippingAddress,
String redirectUrl,
Order order,
String createdAt,
List<AdditionalRecipient> additionalRecipients)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<AdditionalRecipient> |
getAdditionalRecipients()
Getter for AdditionalRecipients.
|
Boolean |
getAskForShippingAddress()
Getter for AskForShippingAddress.
|
String |
getCheckoutPageUrl()
Getter for CheckoutPageUrl.
|
String |
getCreatedAt()
Getter for CreatedAt.
|
String |
getId()
Getter for Id.
|
String |
getMerchantSupportEmail()
Getter for MerchantSupportEmail.
|
Order |
getOrder()
Getter for Order.
|
String |
getPrePopulateBuyerEmail()
Getter for PrePopulateBuyerEmail.
|
Address |
getPrePopulateShippingAddress()
Getter for PrePopulateShippingAddress.
|
String |
getRedirectUrl()
Getter for RedirectUrl.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<List<AdditionalRecipient>> |
internalGetAdditionalRecipients()
Internal Getter for AdditionalRecipients.
|
protected io.apimatic.core.types.OptionalNullable<Boolean> |
internalGetAskForShippingAddress()
Internal Getter for AskForShippingAddress.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetCheckoutPageUrl()
Internal Getter for CheckoutPageUrl.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetMerchantSupportEmail()
Internal Getter for MerchantSupportEmail.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetPrePopulateBuyerEmail()
Internal Getter for PrePopulateBuyerEmail.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetRedirectUrl()
Internal Getter for RedirectUrl.
|
Checkout.Builder |
toBuilder()
Builds a new
Checkout.Builder object. |
String |
toString()
Converts this Checkout into string format.
|
public Checkout(String id, String checkoutPageUrl, Boolean askForShippingAddress, String merchantSupportEmail, String prePopulateBuyerEmail, Address prePopulateShippingAddress, String redirectUrl, Order order, String createdAt, List<AdditionalRecipient> additionalRecipients)
id - String value for id.checkoutPageUrl - String value for checkoutPageUrl.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.order - Order value for order.createdAt - String value for createdAt.additionalRecipients - List of AdditionalRecipient value for additionalRecipients.protected Checkout(String id, io.apimatic.core.types.OptionalNullable<String> checkoutPageUrl, io.apimatic.core.types.OptionalNullable<Boolean> askForShippingAddress, io.apimatic.core.types.OptionalNullable<String> merchantSupportEmail, io.apimatic.core.types.OptionalNullable<String> prePopulateBuyerEmail, Address prePopulateShippingAddress, io.apimatic.core.types.OptionalNullable<String> redirectUrl, Order order, String createdAt, io.apimatic.core.types.OptionalNullable<List<AdditionalRecipient>> additionalRecipients)
public String getId()
protected io.apimatic.core.types.OptionalNullable<String> internalGetCheckoutPageUrl()
public String getCheckoutPageUrl()
protected io.apimatic.core.types.OptionalNullable<Boolean> internalGetAskForShippingAddress()
public Boolean getAskForShippingAddress()
protected io.apimatic.core.types.OptionalNullable<String> internalGetMerchantSupportEmail()
public String getMerchantSupportEmail()
protected io.apimatic.core.types.OptionalNullable<String> internalGetPrePopulateBuyerEmail()
public String getPrePopulateBuyerEmail()
public Address getPrePopulateShippingAddress()
protected io.apimatic.core.types.OptionalNullable<String> internalGetRedirectUrl()
public String getRedirectUrl()
public Order getOrder()
public String getCreatedAt()
protected io.apimatic.core.types.OptionalNullable<List<AdditionalRecipient>> internalGetAdditionalRecipients()
public List<AdditionalRecipient> getAdditionalRecipients()
public String toString()
public Checkout.Builder toBuilder()
Checkout.Builder object.
Creates the instance with the state of the current model.Checkout.Builder objectCopyright © 2023. All rights reserved.