Class FulfillmentGroupAdjustmentImpl
java.lang.Object
org.broadleafcommerce.core.offer.domain.FulfillmentGroupAdjustmentImpl
- All Implemented Interfaces:
Serializable,CurrencyCodeIdentifiable,Adjustment,FulfillmentGroupAdjustment
@Entity
public class FulfillmentGroupAdjustmentImpl
extends Object
implements FulfillmentGroupAdjustment, CurrencyCodeIdentifiable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Offerprotected FulfillmentGroupprotected Longprotected Booleanprotected Offerprotected Stringprotected BigDecimal -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getOffer()getValue()inthashCode()voidinit(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.voidvoidvoidvoid
-
Field Details
-
id
-
fulfillmentGroup
-
offer
-
reason
-
value
-
isFutureCredit
-
deproxiedOffer
-
-
Constructor Details
-
FulfillmentGroupAdjustmentImpl
public FulfillmentGroupAdjustmentImpl()
-
-
Method Details
-
init
- Specified by:
initin interfaceFulfillmentGroupAdjustment
-
getId
- Specified by:
getIdin interfaceAdjustment
-
setId
- Specified by:
setIdin interfaceAdjustment
-
getFulfillmentGroup
- Specified by:
getFulfillmentGroupin interfaceFulfillmentGroupAdjustment
-
setFulfillmentGroup
- Specified by:
setFulfillmentGroupin interfaceFulfillmentGroupAdjustment
-
getOffer
- Specified by:
getOfferin interfaceAdjustment
-
setOffer
-
getReason
- Specified by:
getReasonin interfaceAdjustment
-
setReason
- Specified by:
setReasonin interfaceAdjustment
-
getValue
- Specified by:
getValuein interfaceAdjustment
-
setValue
- Specified by:
setValuein interfaceAdjustment- Specified by:
setValuein interfaceFulfillmentGroupAdjustment
-
getCurrencyCode
- Specified by:
getCurrencyCodein interfaceCurrencyCodeIdentifiable
-
isFutureCredit
Description copied from interface:FulfillmentGroupAdjustmentFuture 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- Specified by:
isFutureCreditin interfaceFulfillmentGroupAdjustment- Returns:
-
setFutureCredit
Description copied from interface:FulfillmentGroupAdjustmentFuture 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- Specified by:
setFutureCreditin interfaceFulfillmentGroupAdjustment
-
hashCode
public int hashCode() -
equals
-