Class FulfillmentFlatRate

java.lang.Object
com.broadleafcommerce.cartoperation.domain.FulfillmentFlatRate
All Implemented Interfaces:
Serializable

public class FulfillmentFlatRate extends Object implements Serializable
Represents a flat fulfillment rate (e.g., shipping price) for a particular fulfillable item (e.g., CatalogItem, Variant) and fulfillment option (e.g., standard shipping). Depending on if the option is configured to use flat rates, this flat rate will be used in calculating the cost of fulfilling the associated item.
Author:
Nathan Moore (nathandmoore)
See Also:
  • Constructor Details

    • FulfillmentFlatRate

      public FulfillmentFlatRate(javax.money.MonetaryAmount value)
    • FulfillmentFlatRate

      public FulfillmentFlatRate()
  • Method Details

    • getValue

      public javax.money.MonetaryAmount getValue()
      The value of this flat rate
      Returns:
      The value of this flat rate
    • setValue

      public void setValue(javax.money.MonetaryAmount value)
      The value of this flat rate
      Parameters:
      value - The value of this flat rate
    • 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