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.,Product,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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FulfillmentFlatRate()FulfillmentFlatRate(javax.money.MonetaryAmount value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)javax.money.MonetaryAmountgetValue()The value of this flat rateinthashCode()voidsetValue(javax.money.MonetaryAmount value)The value of this flat rateStringtoString()
-
-
-
Method Detail
-
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
-
canEqual
protected boolean canEqual(Object other)
-
-