Class 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
    • 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 of RefundEntry.reason attribute defined at extension basecommerce.
        See Also:
        Constant Field Values
      • AMOUNT

        public static final java.lang.String AMOUNT
        Generated constant - Attribute key of RefundEntry.amount attribute defined at extension basecommerce.
        See Also:
        Constant Field Values
      • CURRENCY

        public static final java.lang.String CURRENCY
        Generated constant - Attribute key of RefundEntry.currency attribute defined at extension basecommerce.
        See Also:
        Constant Field Values
      • REFUNDEDDATE

        public static final java.lang.String REFUNDEDDATE
        Generated constant - Attribute key of RefundEntry.refundedDate attribute defined at extension basecommerce.
        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 parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _action - initial attribute declared by type ReturnEntry at extension basecommerce
        _orderEntry - initial attribute declared by type ReturnEntry at extension basecommerce
        _reason - initial attribute declared by type RefundEntry at extension basecommerce
        _status - initial attribute declared by type ReturnEntry at extension basecommerce
      • 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 parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _action - initial attribute declared by type ReturnEntry at extension basecommerce
        _orderEntry - initial attribute declared by type ReturnEntry at extension basecommerce
        _owner - initial attribute declared by type Item at extension core
        _reason - initial attribute declared by type RefundEntry at extension basecommerce
        _status - initial attribute declared by type ReturnEntry at extension basecommerce
    • Method Detail

      • getAmount

        @Accessor(qualifier="amount",
                  type=GETTER)
        public java.math.BigDecimal getAmount()
        Generated method - Getter of the RefundEntry.amount attribute defined at extension basecommerce.
        Returns:
        the amount
      • getCurrency

        @Accessor(qualifier="currency",
                  type=GETTER)
        public CurrencyModel getCurrency()
        Generated method - Getter of the RefundEntry.currency attribute defined at extension basecommerce.
        Returns:
        the currency
      • getReason

        @Accessor(qualifier="reason",
                  type=GETTER)
        public RefundReason getReason()
        Generated method - Getter of the RefundEntry.reason attribute defined at extension basecommerce.
        Returns:
        the reason
      • getRefundedDate

        @Accessor(qualifier="refundedDate",
                  type=GETTER)
        public java.util.Date getRefundedDate()
        Generated method - Getter of the RefundEntry.refundedDate attribute defined at extension basecommerce.
        Returns:
        the refundedDate
      • setAmount

        @Accessor(qualifier="amount",
                  type=SETTER)
        public void setAmount​(java.math.BigDecimal value)
        Generated method - Setter of RefundEntry.amount attribute defined at extension basecommerce.
        Parameters:
        value - the amount
      • setReason

        @Accessor(qualifier="reason",
                  type=SETTER)
        public void setReason​(RefundReason value)
        Generated method - Setter of RefundEntry.reason attribute defined at extension basecommerce.
        Parameters:
        value - the reason
      • setRefundedDate

        @Accessor(qualifier="refundedDate",
                  type=SETTER)
        public void setRefundedDate​(java.util.Date value)
        Generated method - Setter of RefundEntry.refundedDate attribute defined at extension basecommerce.
        Parameters:
        value - the refundedDate