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:
  • Constructor Details

    • FeeDto

      public FeeDto()
  • Method Details

    • getName

      public String getName()
    • getAmount

      @NotNull public @NotNull 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(@NotNull @NotNull 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)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object