Package de.hybris.platform.returns.model
Class RefundEntryModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.returns.model.ReturnEntryModel
-
- de.hybris.platform.returns.model.RefundEntryModel
-
- All Implemented Interfaces:
java.io.Serializable
public class RefundEntryModel extends ReturnEntryModel
Generated model class for type RefundEntry first defined at extension basecommerce.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringAMOUNTGenerated constant - Attribute key ofRefundEntry.amountattribute defined at extensionbasecommerce.static java.lang.StringCURRENCYGenerated constant - Attribute key ofRefundEntry.currencyattribute defined at extensionbasecommerce.static java.lang.StringREASONGenerated constant - Attribute key ofRefundEntry.reasonattribute defined at extensionbasecommerce.static java.lang.StringREFUNDEDDATEGenerated constant - Attribute key ofRefundEntry.refundedDateattribute defined at extensionbasecommerce.-
Fields inherited from class de.hybris.platform.returns.model.ReturnEntryModel
_RETURNREQUEST2RETURNENTRY, ACTION, EXPECTEDQUANTITY, NOTES, ORDERENTRY, REACHEDDATE, RECEIVEDQUANTITY, RETURNREQUEST, RETURNREQUESTPOS, STATUS, TAX
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description RefundEntryModel()Generated constructor - Default constructor for generic creation.RefundEntryModel(ReturnAction _action, AbstractOrderEntryModel _orderEntry, RefundReason _reason, ReturnStatus _status)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersRefundEntryModel(ReturnAction _action, AbstractOrderEntryModel _orderEntry, ItemModel _owner, RefundReason _reason, ReturnStatus _status)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersRefundEntryModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigDecimalgetAmount()Generated method - Getter of theRefundEntry.amountattribute defined at extensionbasecommerce.CurrencyModelgetCurrency()Generated method - Getter of theRefundEntry.currencyattribute defined at extensionbasecommerce.RefundReasongetReason()Generated method - Getter of theRefundEntry.reasonattribute defined at extensionbasecommerce.java.util.DategetRefundedDate()Generated method - Getter of theRefundEntry.refundedDateattribute defined at extensionbasecommerce.voidsetAmount(java.math.BigDecimal value)Generated method - Setter ofRefundEntry.amountattribute defined at extensionbasecommerce.voidsetReason(RefundReason value)Generated method - Setter ofRefundEntry.reasonattribute defined at extensionbasecommerce.voidsetRefundedDate(java.util.Date value)Generated method - Setter ofRefundEntry.refundedDateattribute defined at extensionbasecommerce.-
Methods inherited from class de.hybris.platform.returns.model.ReturnEntryModel
getAction, getExpectedQuantity, getNotes, getOrderEntry, getReachedDate, getReceivedQuantity, getReturnRequest, getStatus, getTax, setAction, setExpectedQuantity, setNotes, setOrderEntry, setReachedDate, setReceivedQuantity, setReturnRequest, setStatus, setTax
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
REASON
public static final java.lang.String REASON
Generated constant - Attribute key ofRefundEntry.reasonattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
AMOUNT
public static final java.lang.String AMOUNT
Generated constant - Attribute key ofRefundEntry.amountattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
CURRENCY
public static final java.lang.String CURRENCY
Generated constant - Attribute key ofRefundEntry.currencyattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
REFUNDEDDATE
public static final java.lang.String REFUNDEDDATE
Generated constant - Attribute key ofRefundEntry.refundedDateattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RefundEntryModel
public RefundEntryModel()
Generated constructor - Default constructor for generic creation.
-
RefundEntryModel
public RefundEntryModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
RefundEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public RefundEntryModel(ReturnAction _action, AbstractOrderEntryModel _orderEntry, RefundReason _reason, ReturnStatus _status)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_action- initial attribute declared by typeReturnEntryat extensionbasecommerce_orderEntry- initial attribute declared by typeReturnEntryat extensionbasecommerce_reason- initial attribute declared by typeRefundEntryat extensionbasecommerce_status- initial attribute declared by typeReturnEntryat extensionbasecommerce
-
RefundEntryModel
@Deprecated(since="4.1.1", forRemoval=true) public RefundEntryModel(ReturnAction _action, AbstractOrderEntryModel _orderEntry, ItemModel _owner, RefundReason _reason, ReturnStatus _status)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_action- initial attribute declared by typeReturnEntryat extensionbasecommerce_orderEntry- initial attribute declared by typeReturnEntryat extensionbasecommerce_owner- initial attribute declared by typeItemat extensioncore_reason- initial attribute declared by typeRefundEntryat extensionbasecommerce_status- initial attribute declared by typeReturnEntryat extensionbasecommerce
-
-
Method Detail
-
getAmount
@Accessor(qualifier="amount", type=GETTER) public java.math.BigDecimal getAmount()
Generated method - Getter of theRefundEntry.amountattribute defined at extensionbasecommerce.- Returns:
- the amount
-
getCurrency
@Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
Generated method - Getter of theRefundEntry.currencyattribute defined at extensionbasecommerce.- Returns:
- the currency
-
getReason
@Accessor(qualifier="reason", type=GETTER) public RefundReason getReason()
Generated method - Getter of theRefundEntry.reasonattribute defined at extensionbasecommerce.- Returns:
- the reason
-
getRefundedDate
@Accessor(qualifier="refundedDate", type=GETTER) public java.util.Date getRefundedDate()
Generated method - Getter of theRefundEntry.refundedDateattribute defined at extensionbasecommerce.- Returns:
- the refundedDate
-
setAmount
@Accessor(qualifier="amount", type=SETTER) public void setAmount(java.math.BigDecimal value)
Generated method - Setter ofRefundEntry.amountattribute defined at extensionbasecommerce.- Parameters:
value- the amount
-
setReason
@Accessor(qualifier="reason", type=SETTER) public void setReason(RefundReason value)
Generated method - Setter ofRefundEntry.reasonattribute defined at extensionbasecommerce.- Parameters:
value- the reason
-
-