Class CheckoutPaymentMethodOption.FeeDto
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.domain.payment.CheckoutPaymentMethodOption.FeeDto
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- CheckoutPaymentMethodOption
@Validated public static class CheckoutPaymentMethodOption.FeeDto extends Object implements Serializable
Fees are represented as separate CartItems but not placed in any fulfillment group to avoid repricing the fulfillment costs.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FeeDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)BigDecimalgetAmount()StringgetCurrency()StringgetName()inthashCode()booleanisDiscountable()booleanisRefundable()booleanisTaxable()voidsetAmount(BigDecimal amount)voidsetCurrency(String currency)voidsetDiscountable(boolean isDiscountable)voidsetName(String name)voidsetRefundable(boolean isRefundable)voidsetTaxable(boolean isTaxable)StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
-
getAmount
public BigDecimal getAmount()
-
getCurrency
public String getCurrency()
-
isDiscountable
public boolean isDiscountable()
-
isTaxable
public boolean isTaxable()
-
isRefundable
public boolean isRefundable()
-
setName
public void setName(String name)
-
setAmount
public void setAmount(BigDecimal amount)
-
setCurrency
public void setCurrency(String currency)
-
setDiscountable
public void setDiscountable(boolean isDiscountable)
-
setTaxable
public void setTaxable(boolean isTaxable)
-
setRefundable
public void setRefundable(boolean isRefundable)
-
canEqual
protected boolean canEqual(Object other)
-
-