public class CheckoutPreference
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
CheckoutPreference.Builder |
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getConceptAmount() |
java.lang.String |
getConceptId() |
java.lang.Integer |
getDefaultInstallments() |
java.lang.String |
getDefaultPaymentMethodId() |
DifferentialPricing |
getDifferentialPricing() |
java.util.List<java.lang.String> |
getExcludedPaymentMethods() |
java.util.List<java.lang.String> |
getExcludedPaymentTypes() |
java.util.Date |
getExpirationDateFrom() |
java.util.Date |
getExpirationDateTo() |
java.lang.String |
getId() |
java.util.List<Item> |
getItems() |
java.math.BigDecimal |
getMarketplaceFee() |
java.lang.Integer |
getMaxInstallments() |
java.lang.String |
getOperationType() |
Payer |
getPayer() |
PaymentPreference |
getPaymentPreference() |
java.math.BigDecimal |
getShippingCost() |
Site |
getSite() |
java.math.BigDecimal |
getTotalAmount()
Sum of value * quantity of listed items in a preference.
|
boolean |
isBinaryMode() |
void |
validate() |
public void validate() throws CheckoutPreferenceException
CheckoutPreferenceException
@Nullable public java.lang.String getOperationType()
@Nullable public java.math.BigDecimal getMarketplaceFee()
@Nullable public java.math.BigDecimal getShippingCost()
@Nullable public DifferentialPricing getDifferentialPricing()
@Nullable public java.math.BigDecimal getConceptAmount()
@Nullable public java.lang.String getConceptId()
@NonNull public java.math.BigDecimal getTotalAmount()
@NonNull public Site getSite()
@NonNull public java.util.List<Item> getItems()
@NonNull public Payer getPayer()
@Nullable public java.util.Date getExpirationDateFrom()
@Nullable public java.util.Date getExpirationDateTo()
@Nullable public java.lang.String getDefaultPaymentMethodId()
@Nullable public java.lang.Integer getDefaultInstallments()
@Nullable public java.lang.Integer getMaxInstallments()
@NonNull public java.util.List<java.lang.String> getExcludedPaymentTypes()
@NonNull public java.util.List<java.lang.String> getExcludedPaymentMethods()
@NonNull public PaymentPreference getPaymentPreference()
@Nullable public java.lang.String getId()
public boolean isBinaryMode()