Class B2BDocumentModel

All Implemented Interfaces:
Serializable

public class B2BDocumentModel extends ItemModel
Generated model class for type B2BDocument first defined at extension accountsummaryaddon.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _B2BUNIT2B2BDOCUMENT

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static final String USEDOCUMENTPAYMENTINFO
      Generated constant - Attribute key of B2BDocument.useDocumentPaymentInfo attribute defined at extension accountsummaryaddon.
      See Also:
  • Constructor Details

    • B2BDocumentModel

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

      public B2BDocumentModel(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(BigDecimal _amount, CurrencyModel _currency, 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(BigDecimal _amount, CurrencyModel _currency, 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 Details

    • getAmount

      @Accessor(qualifier="amount", type=GETTER) public 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 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 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 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 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 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 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(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(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(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(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(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(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(Collection<B2BDocumentPaymentInfoModel> value)
      Generated method - Setter of B2BDocument.useDocumentPaymentInfo attribute defined at extension accountsummaryaddon.
      Parameters:
      value - the useDocumentPaymentInfo