public class CheckoutOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CheckoutOptions.Builder
Class to build instances of
CheckoutOptions. |
| Modifier | Constructor and Description |
|---|---|
|
CheckoutOptions(Boolean allowTipping,
List<CustomField> customFields,
String subscriptionPlanId,
String redirectUrl,
String merchantSupportEmail,
Boolean askForShippingAddress,
AcceptedPaymentMethods acceptedPaymentMethods,
Money appFeeMoney,
ShippingFee shippingFee,
Boolean enableCoupon,
Boolean enableLoyalty)
Initialization constructor.
|
protected |
CheckoutOptions(io.apimatic.core.types.OptionalNullable<Boolean> allowTipping,
io.apimatic.core.types.OptionalNullable<List<CustomField>> customFields,
io.apimatic.core.types.OptionalNullable<String> subscriptionPlanId,
io.apimatic.core.types.OptionalNullable<String> redirectUrl,
io.apimatic.core.types.OptionalNullable<String> merchantSupportEmail,
io.apimatic.core.types.OptionalNullable<Boolean> askForShippingAddress,
AcceptedPaymentMethods acceptedPaymentMethods,
Money appFeeMoney,
ShippingFee shippingFee,
io.apimatic.core.types.OptionalNullable<Boolean> enableCoupon,
io.apimatic.core.types.OptionalNullable<Boolean> enableLoyalty)
Internal initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AcceptedPaymentMethods |
getAcceptedPaymentMethods()
Getter for AcceptedPaymentMethods.
|
Boolean |
getAllowTipping()
Getter for AllowTipping.
|
Money |
getAppFeeMoney()
Getter for AppFeeMoney.
|
Boolean |
getAskForShippingAddress()
Getter for AskForShippingAddress.
|
List<CustomField> |
getCustomFields()
Getter for CustomFields.
|
Boolean |
getEnableCoupon()
Getter for EnableCoupon.
|
Boolean |
getEnableLoyalty()
Getter for EnableLoyalty.
|
String |
getMerchantSupportEmail()
Getter for MerchantSupportEmail.
|
String |
getRedirectUrl()
Getter for RedirectUrl.
|
ShippingFee |
getShippingFee()
Getter for ShippingFee.
|
String |
getSubscriptionPlanId()
Getter for SubscriptionPlanId.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<Boolean> |
internalGetAllowTipping()
Internal Getter for AllowTipping.
|
protected io.apimatic.core.types.OptionalNullable<Boolean> |
internalGetAskForShippingAddress()
Internal Getter for AskForShippingAddress.
|
protected io.apimatic.core.types.OptionalNullable<List<CustomField>> |
internalGetCustomFields()
Internal Getter for CustomFields.
|
protected io.apimatic.core.types.OptionalNullable<Boolean> |
internalGetEnableCoupon()
Internal Getter for EnableCoupon.
|
protected io.apimatic.core.types.OptionalNullable<Boolean> |
internalGetEnableLoyalty()
Internal Getter for EnableLoyalty.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetMerchantSupportEmail()
Internal Getter for MerchantSupportEmail.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetRedirectUrl()
Internal Getter for RedirectUrl.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetSubscriptionPlanId()
Internal Getter for SubscriptionPlanId.
|
CheckoutOptions.Builder |
toBuilder()
Builds a new
CheckoutOptions.Builder object. |
String |
toString()
Converts this CheckoutOptions into string format.
|
public CheckoutOptions(Boolean allowTipping, List<CustomField> customFields, String subscriptionPlanId, String redirectUrl, String merchantSupportEmail, Boolean askForShippingAddress, AcceptedPaymentMethods acceptedPaymentMethods, Money appFeeMoney, ShippingFee shippingFee, Boolean enableCoupon, Boolean enableLoyalty)
allowTipping - Boolean value for allowTipping.customFields - List of CustomField value for customFields.subscriptionPlanId - String value for subscriptionPlanId.redirectUrl - String value for redirectUrl.merchantSupportEmail - String value for merchantSupportEmail.askForShippingAddress - Boolean value for askForShippingAddress.acceptedPaymentMethods - AcceptedPaymentMethods value for acceptedPaymentMethods.appFeeMoney - Money value for appFeeMoney.shippingFee - ShippingFee value for shippingFee.enableCoupon - Boolean value for enableCoupon.enableLoyalty - Boolean value for enableLoyalty.protected CheckoutOptions(io.apimatic.core.types.OptionalNullable<Boolean> allowTipping, io.apimatic.core.types.OptionalNullable<List<CustomField>> customFields, io.apimatic.core.types.OptionalNullable<String> subscriptionPlanId, io.apimatic.core.types.OptionalNullable<String> redirectUrl, io.apimatic.core.types.OptionalNullable<String> merchantSupportEmail, io.apimatic.core.types.OptionalNullable<Boolean> askForShippingAddress, AcceptedPaymentMethods acceptedPaymentMethods, Money appFeeMoney, ShippingFee shippingFee, io.apimatic.core.types.OptionalNullable<Boolean> enableCoupon, io.apimatic.core.types.OptionalNullable<Boolean> enableLoyalty)
protected io.apimatic.core.types.OptionalNullable<Boolean> internalGetAllowTipping()
public Boolean getAllowTipping()
protected io.apimatic.core.types.OptionalNullable<List<CustomField>> internalGetCustomFields()
public List<CustomField> getCustomFields()
protected io.apimatic.core.types.OptionalNullable<String> internalGetSubscriptionPlanId()
public String getSubscriptionPlanId()
protected io.apimatic.core.types.OptionalNullable<String> internalGetRedirectUrl()
public String getRedirectUrl()
protected io.apimatic.core.types.OptionalNullable<String> internalGetMerchantSupportEmail()
public String getMerchantSupportEmail()
protected io.apimatic.core.types.OptionalNullable<Boolean> internalGetAskForShippingAddress()
public Boolean getAskForShippingAddress()
public AcceptedPaymentMethods getAcceptedPaymentMethods()
public Money getAppFeeMoney()
public ShippingFee getShippingFee()
protected io.apimatic.core.types.OptionalNullable<Boolean> internalGetEnableCoupon()
public Boolean getEnableCoupon()
protected io.apimatic.core.types.OptionalNullable<Boolean> internalGetEnableLoyalty()
public Boolean getEnableLoyalty()
public String toString()
public CheckoutOptions.Builder toBuilder()
CheckoutOptions.Builder object.
Creates the instance with the state of the current model.CheckoutOptions.Builder objectCopyright © 2023. All rights reserved.