Class B2BDocumentModel

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    SapB2BDocumentModel

    public class B2BDocumentModel
    extends ItemModel
    Generated model class for type B2BDocument first defined at extension accountsummaryaddon.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _B2BUNIT2B2BDOCUMENT
      Generated relation code constant for relation B2BUnit2B2BDocument defining source attribute unit in extension accountsummaryaddon.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String AMOUNT
      Generated constant - Attribute key of B2BDocument.amount attribute defined at extension accountsummaryaddon.
      static java.lang.String CURRENCY
      Generated constant - Attribute key of B2BDocument.currency attribute defined at extension accountsummaryaddon.
      static java.lang.String DATE
      Generated constant - Attribute key of B2BDocument.date attribute defined at extension accountsummaryaddon.
      static java.lang.String DOCUMENTMEDIA
      Generated constant - Attribute key of B2BDocument.documentMedia attribute defined at extension accountsummaryaddon.
      static java.lang.String DOCUMENTNUMBER
      Generated constant - Attribute key of B2BDocument.documentNumber attribute defined at extension accountsummaryaddon.
      static java.lang.String DOCUMENTTYPE
      Generated constant - Attribute key of B2BDocument.documentType attribute defined at extension accountsummaryaddon.
      static java.lang.String DUEDATE
      Generated constant - Attribute key of B2BDocument.dueDate attribute defined at extension accountsummaryaddon.
      static java.lang.String OPENAMOUNT
      Generated constant - Attribute key of B2BDocument.openAmount attribute defined at extension accountsummaryaddon.
      static java.lang.String ORDER
      Generated constant - Attribute key of B2BDocument.order attribute defined at extension accountsummaryaddon.
      static java.lang.String PAYDOCUMENTPAYMENTINFO
      Generated constant - Attribute key of B2BDocument.payDocumentPaymentInfo attribute defined at extension accountsummaryaddon.
      static java.lang.String STATUS
      Generated constant - Attribute key of B2BDocument.status attribute defined at extension accountsummaryaddon.
      static java.lang.String UNIT
      Generated constant - Attribute key of B2BDocument.unit attribute defined at extension accountsummaryaddon.
      static java.lang.String USEDOCUMENTPAYMENTINFO
      Generated constant - Attribute key of B2BDocument.useDocumentPaymentInfo attribute defined at extension accountsummaryaddon.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      B2BDocumentModel()
      Generated constructor - Default constructor for generic creation.
      B2BDocumentModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      B2BDocumentModel​(java.math.BigDecimal _amount, CurrencyModel _currency, java.lang.String _documentNumber, B2BDocumentTypeModel _documentType, B2BUnitModel _unit)
      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
      B2BDocumentModel​(java.math.BigDecimal _amount, CurrencyModel _currency, java.lang.String _documentNumber, B2BDocumentTypeModel _documentType, ItemModel _owner, B2BUnitModel _unit)
      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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.math.BigDecimal getAmount()
      Generated method - Getter of the B2BDocument.amount attribute defined at extension accountsummaryaddon.
      CurrencyModel getCurrency()
      Generated method - Getter of the B2BDocument.currency attribute defined at extension accountsummaryaddon.
      java.util.Date getDate()
      Generated method - Getter of the B2BDocument.date attribute defined at extension accountsummaryaddon.
      DocumentMediaModel getDocumentMedia()
      Generated method - Getter of the B2BDocument.documentMedia attribute defined at extension accountsummaryaddon.
      java.lang.String getDocumentNumber()
      Generated method - Getter of the B2BDocument.documentNumber attribute defined at extension accountsummaryaddon.
      B2BDocumentTypeModel getDocumentType()
      Generated method - Getter of the B2BDocument.documentType attribute defined at extension accountsummaryaddon.
      java.util.Date getDueDate()
      Generated method - Getter of the B2BDocument.dueDate attribute defined at extension accountsummaryaddon.
      java.math.BigDecimal getOpenAmount()
      Generated method - Getter of the B2BDocument.openAmount attribute defined at extension accountsummaryaddon.
      AbstractOrderModel getOrder()
      Generated method - Getter of the B2BDocument.order attribute defined at extension accountsummaryaddon.
      java.util.Collection<B2BDocumentPaymentInfoModel> getPayDocumentPaymentInfo()
      Generated method - Getter of the B2BDocument.payDocumentPaymentInfo attribute defined at extension accountsummaryaddon.
      DocumentStatus getStatus()
      Generated method - Getter of the B2BDocument.status attribute defined at extension accountsummaryaddon.
      B2BUnitModel getUnit()
      Generated method - Getter of the B2BDocument.unit attribute defined at extension accountsummaryaddon.
      java.util.Collection<B2BDocumentPaymentInfoModel> getUseDocumentPaymentInfo()
      Generated method - Getter of the B2BDocument.useDocumentPaymentInfo attribute defined at extension accountsummaryaddon.
      void setAmount​(java.math.BigDecimal value)
      Generated method - Setter of B2BDocument.amount attribute defined at extension accountsummaryaddon.
      void setCurrency​(CurrencyModel value)
      Generated method - Setter of B2BDocument.currency attribute defined at extension accountsummaryaddon.
      void setDate​(java.util.Date value)
      Generated method - Setter of B2BDocument.date attribute defined at extension accountsummaryaddon.
      void setDocumentMedia​(DocumentMediaModel value)
      Generated method - Setter of B2BDocument.documentMedia attribute defined at extension accountsummaryaddon.
      void setDocumentNumber​(java.lang.String value)
      Generated method - Setter of B2BDocument.documentNumber attribute defined at extension accountsummaryaddon.
      void setDocumentType​(B2BDocumentTypeModel value)
      Generated method - Setter of B2BDocument.documentType attribute defined at extension accountsummaryaddon.
      void setDueDate​(java.util.Date value)
      Generated method - Setter of B2BDocument.dueDate attribute defined at extension accountsummaryaddon.
      void setOpenAmount​(java.math.BigDecimal value)
      Generated method - Setter of B2BDocument.openAmount attribute defined at extension accountsummaryaddon.
      void setOrder​(AbstractOrderModel value)
      Generated method - Setter of B2BDocument.order attribute defined at extension accountsummaryaddon.
      void setPayDocumentPaymentInfo​(java.util.Collection<B2BDocumentPaymentInfoModel> value)
      Generated method - Setter of B2BDocument.payDocumentPaymentInfo attribute defined at extension accountsummaryaddon.
      void setStatus​(DocumentStatus value)
      Generated method - Setter of B2BDocument.status attribute defined at extension accountsummaryaddon.
      void setUnit​(B2BUnitModel value)
      Generated method - Setter of B2BDocument.unit attribute defined at extension accountsummaryaddon.
      void setUseDocumentPaymentInfo​(java.util.Collection<B2BDocumentPaymentInfoModel> value)
      Generated method - Setter of B2BDocument.useDocumentPaymentInfo attribute defined at extension accountsummaryaddon.
      • 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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _B2BUNIT2B2BDOCUMENT

        public static final java.lang.String _B2BUNIT2B2BDOCUMENT
        Generated relation code constant for relation B2BUnit2B2BDocument defining source attribute unit in extension accountsummaryaddon.
        See Also:
        Constant Field Values
      • DOCUMENTNUMBER

        public static final java.lang.String DOCUMENTNUMBER
        Generated constant - Attribute key of B2BDocument.documentNumber attribute defined at extension accountsummaryaddon.
        See Also:
        Constant Field Values
      • STATUS

        public static final java.lang.String STATUS
        Generated constant - Attribute key of B2BDocument.status attribute defined at extension accountsummaryaddon.
        See Also:
        Constant Field Values
      • DATE

        public static final java.lang.String DATE
        Generated constant - Attribute key of B2BDocument.date attribute defined at extension accountsummaryaddon.
        See Also:
        Constant Field Values
      • DUEDATE

        public static final java.lang.String DUEDATE
        Generated constant - Attribute key of B2BDocument.dueDate attribute defined at extension accountsummaryaddon.
        See Also:
        Constant Field Values
      • AMOUNT

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

        public static final java.lang.String OPENAMOUNT
        Generated constant - Attribute key of B2BDocument.openAmount attribute defined at extension accountsummaryaddon.
        See Also:
        Constant Field Values
      • CURRENCY

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

        public static final java.lang.String DOCUMENTMEDIA
        Generated constant - Attribute key of B2BDocument.documentMedia attribute defined at extension accountsummaryaddon.
        See Also:
        Constant Field Values
      • DOCUMENTTYPE

        public static final java.lang.String DOCUMENTTYPE
        Generated constant - Attribute key of B2BDocument.documentType attribute defined at extension accountsummaryaddon.
        See Also:
        Constant Field Values
      • UNIT

        public static final java.lang.String UNIT
        Generated constant - Attribute key of B2BDocument.unit attribute defined at extension accountsummaryaddon.
        See Also:
        Constant Field Values
      • ORDER

        public static final java.lang.String ORDER
        Generated constant - Attribute key of B2BDocument.order attribute defined at extension accountsummaryaddon.
        See Also:
        Constant Field Values
      • PAYDOCUMENTPAYMENTINFO

        public static final java.lang.String PAYDOCUMENTPAYMENTINFO
        Generated constant - Attribute key of B2BDocument.payDocumentPaymentInfo attribute defined at extension accountsummaryaddon.
        See Also:
        Constant Field Values
      • USEDOCUMENTPAYMENTINFO

        public static final java.lang.String USEDOCUMENTPAYMENTINFO
        Generated constant - Attribute key of B2BDocument.useDocumentPaymentInfo attribute defined at extension accountsummaryaddon.
        See Also:
        Constant Field Values
    • Constructor Detail

      • B2BDocumentModel

        public B2BDocumentModel()
        Generated constructor - Default constructor for generic creation.
      • B2BDocumentModel

        public B2BDocumentModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • B2BDocumentModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public B2BDocumentModel​(java.math.BigDecimal _amount,
                                CurrencyModel _currency,
                                java.lang.String _documentNumber,
                                B2BDocumentTypeModel _documentType,
                                B2BUnitModel _unit)
        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:
        _amount - initial attribute declared by type B2BDocument at extension accountsummaryaddon
        _currency - initial attribute declared by type B2BDocument at extension accountsummaryaddon
        _documentNumber - initial attribute declared by type B2BDocument at extension accountsummaryaddon
        _documentType - initial attribute declared by type B2BDocument at extension accountsummaryaddon
        _unit - initial attribute declared by type B2BDocument at extension accountsummaryaddon
      • B2BDocumentModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public B2BDocumentModel​(java.math.BigDecimal _amount,
                                CurrencyModel _currency,
                                java.lang.String _documentNumber,
                                B2BDocumentTypeModel _documentType,
                                ItemModel _owner,
                                B2BUnitModel _unit)
        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:
        _amount - initial attribute declared by type B2BDocument at extension accountsummaryaddon
        _currency - initial attribute declared by type B2BDocument at extension accountsummaryaddon
        _documentNumber - initial attribute declared by type B2BDocument at extension accountsummaryaddon
        _documentType - initial attribute declared by type B2BDocument at extension accountsummaryaddon
        _owner - initial attribute declared by type Item at extension core
        _unit - initial attribute declared by type B2BDocument at extension accountsummaryaddon
    • Method Detail

      • getAmount

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

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

        @Accessor(qualifier="date",
                  type=GETTER)
        public java.util.Date getDate()
        Generated method - Getter of the B2BDocument.date attribute defined at extension accountsummaryaddon.
        Returns:
        the date - date
      • getDocumentMedia

        @Accessor(qualifier="documentMedia",
                  type=GETTER)
        public DocumentMediaModel getDocumentMedia()
        Generated method - Getter of the B2BDocument.documentMedia attribute defined at extension accountsummaryaddon.
        Returns:
        the documentMedia
      • getDocumentNumber

        @Accessor(qualifier="documentNumber",
                  type=GETTER)
        public java.lang.String getDocumentNumber()
        Generated method - Getter of the B2BDocument.documentNumber attribute defined at extension accountsummaryaddon.
        Returns:
        the documentNumber
      • getDocumentType

        @Accessor(qualifier="documentType",
                  type=GETTER)
        public B2BDocumentTypeModel getDocumentType()
        Generated method - Getter of the B2BDocument.documentType attribute defined at extension accountsummaryaddon.
        Returns:
        the documentType
      • getDueDate

        @Accessor(qualifier="dueDate",
                  type=GETTER)
        public java.util.Date getDueDate()
        Generated method - Getter of the B2BDocument.dueDate attribute defined at extension accountsummaryaddon.
        Returns:
        the dueDate - dueDate
      • getOpenAmount

        @Accessor(qualifier="openAmount",
                  type=GETTER)
        public java.math.BigDecimal getOpenAmount()
        Generated method - Getter of the B2BDocument.openAmount attribute defined at extension accountsummaryaddon.
        Returns:
        the openAmount - openAmount
      • getOrder

        @Accessor(qualifier="order",
                  type=GETTER)
        public AbstractOrderModel getOrder()
        Generated method - Getter of the B2BDocument.order attribute defined at extension accountsummaryaddon.
        Returns:
        the order
      • getPayDocumentPaymentInfo

        @Accessor(qualifier="payDocumentPaymentInfo",
                  type=GETTER)
        public java.util.Collection<B2BDocumentPaymentInfoModel> getPayDocumentPaymentInfo()
        Generated method - Getter of the B2BDocument.payDocumentPaymentInfo attribute defined at extension accountsummaryaddon. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the payDocumentPaymentInfo
      • getStatus

        @Accessor(qualifier="status",
                  type=GETTER)
        public DocumentStatus getStatus()
        Generated method - Getter of the B2BDocument.status attribute defined at extension accountsummaryaddon.
        Returns:
        the status
      • getUnit

        @Accessor(qualifier="unit",
                  type=GETTER)
        public B2BUnitModel getUnit()
        Generated method - Getter of the B2BDocument.unit attribute defined at extension accountsummaryaddon.
        Returns:
        the unit
      • getUseDocumentPaymentInfo

        @Accessor(qualifier="useDocumentPaymentInfo",
                  type=GETTER)
        public java.util.Collection<B2BDocumentPaymentInfoModel> getUseDocumentPaymentInfo()
        Generated method - Getter of the B2BDocument.useDocumentPaymentInfo attribute defined at extension accountsummaryaddon. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the useDocumentPaymentInfo
      • setAmount

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

        @Accessor(qualifier="currency",
                  type=SETTER)
        public void setCurrency​(CurrencyModel value)
        Generated method - Setter of B2BDocument.currency attribute defined at extension accountsummaryaddon.
        Parameters:
        value - the currency
      • setDate

        @Accessor(qualifier="date",
                  type=SETTER)
        public void setDate​(java.util.Date value)
        Generated method - Setter of B2BDocument.date attribute defined at extension accountsummaryaddon.
        Parameters:
        value - the date - date
      • setDocumentMedia

        @Accessor(qualifier="documentMedia",
                  type=SETTER)
        public void setDocumentMedia​(DocumentMediaModel value)
        Generated method - Setter of B2BDocument.documentMedia attribute defined at extension accountsummaryaddon.
        Parameters:
        value - the documentMedia
      • setDocumentNumber

        @Accessor(qualifier="documentNumber",
                  type=SETTER)
        public void setDocumentNumber​(java.lang.String value)
        Generated method - Setter of B2BDocument.documentNumber attribute defined at extension accountsummaryaddon.
        Parameters:
        value - the documentNumber
      • setDocumentType

        @Accessor(qualifier="documentType",
                  type=SETTER)
        public void setDocumentType​(B2BDocumentTypeModel value)
        Generated method - Setter of B2BDocument.documentType attribute defined at extension accountsummaryaddon.
        Parameters:
        value - the documentType
      • setDueDate

        @Accessor(qualifier="dueDate",
                  type=SETTER)
        public void setDueDate​(java.util.Date value)
        Generated method - Setter of B2BDocument.dueDate attribute defined at extension accountsummaryaddon.
        Parameters:
        value - the dueDate - dueDate
      • setOpenAmount

        @Accessor(qualifier="openAmount",
                  type=SETTER)
        public void setOpenAmount​(java.math.BigDecimal value)
        Generated method - Setter of B2BDocument.openAmount attribute defined at extension accountsummaryaddon.
        Parameters:
        value - the openAmount - openAmount
      • setOrder

        @Accessor(qualifier="order",
                  type=SETTER)
        public void setOrder​(AbstractOrderModel value)
        Generated method - Setter of B2BDocument.order attribute defined at extension accountsummaryaddon.
        Parameters:
        value - the order
      • setPayDocumentPaymentInfo

        @Accessor(qualifier="payDocumentPaymentInfo",
                  type=SETTER)
        public void setPayDocumentPaymentInfo​(java.util.Collection<B2BDocumentPaymentInfoModel> value)
        Generated method - Setter of B2BDocument.payDocumentPaymentInfo attribute defined at extension accountsummaryaddon.
        Parameters:
        value - the payDocumentPaymentInfo
      • setStatus

        @Accessor(qualifier="status",
                  type=SETTER)
        public void setStatus​(DocumentStatus value)
        Generated method - Setter of B2BDocument.status attribute defined at extension accountsummaryaddon.
        Parameters:
        value - the status
      • setUnit

        @Accessor(qualifier="unit",
                  type=SETTER)
        public void setUnit​(B2BUnitModel value)
        Generated method - Setter of B2BDocument.unit attribute defined at extension accountsummaryaddon.
        Parameters:
        value - the unit
      • setUseDocumentPaymentInfo

        @Accessor(qualifier="useDocumentPaymentInfo",
                  type=SETTER)
        public void setUseDocumentPaymentInfo​(java.util.Collection<B2BDocumentPaymentInfoModel> value)
        Generated method - Setter of B2BDocument.useDocumentPaymentInfo attribute defined at extension accountsummaryaddon.
        Parameters:
        value - the useDocumentPaymentInfo