Interface FulfillmentGroupAdjustment
- All Superinterfaces:
Adjustment,Serializable
- All Known Implementing Classes:
FulfillmentGroupAdjustmentImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoidinit(FulfillmentGroup fulfillmentGroup, Offer offer, String reason) Future credit means that the associated adjustment will be discounted at a later time to the customer via a credit.voidsetFulfillmentGroup(FulfillmentGroup fulfillmentGroup) voidsetFutureCredit(Boolean futureCredit) Future credit means that the associated adjustment will be discounted at a later time to the customer via a credit.voidsetValue(org.broadleafcommerce.common.money.Money value)
-
Method Details
-
getFulfillmentGroup
FulfillmentGroup getFulfillmentGroup() -
setFulfillmentGroup
-
init
-
setValue
void setValue(org.broadleafcommerce.common.money.Money value) - Specified by:
setValuein interfaceAdjustment
-
isFutureCredit
Boolean isFutureCredit()Future credit means that the associated adjustment will be discounted at a later time to the customer via a credit. It is up to the implementor to decide how to achieve this. This field is used to determine if the adjustment originated from an offer marked as FUTURE_CREDIT.See
Offer.getAdjustmentType()for more info- Returns:
-
setFutureCredit
Future credit means that the associated adjustment will be discounted at a later time to the customer via a credit. It is up to the implementor to decide how to achieve this. This field is used to determine if the adjustment originated from an offer marked as FUTURE_CREDIT.See
Offer.getAdjustmentType()for more info- Parameters:
futureCredit-
-