Class SAPInvoiceModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.commerceservices.model.SAPInvoiceModel
All Implemented Interfaces:
Serializable

public class SAPInvoiceModel extends ItemModel
Generated model class for type SAPInvoice first defined at extension commerceservices.

SAP Invoice type.

See Also:
  • 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 final String
    Generated relation code constant for relation SAPInvoice2ConsignmentEntryRel defining source attribute consignmentEntries in extension commerceservices.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of SAPInvoice.consignmentEntries attribute defined at extension commerceservices.
    static final String
    Generated constant - Attribute key of SAPInvoice.currency attribute defined at extension commerceservices.
    static final String
    Generated constant - Attribute key of SAPInvoice.externalSystemId attribute defined at extension commerceservices.
    static final String
    Generated constant - Attribute key of SAPInvoice.id attribute defined at extension commerceservices.
    static final String
    Generated constant - Attribute key of SAPInvoice.invoiceMedia attribute defined at extension commerceservices.
    static final String
    Generated constant - Attribute key of SAPInvoice.netPrice attribute defined at extension commerceservices.
    static final String
    Generated constant - Attribute key of SAPInvoice.totalPrice attribute defined at extension commerceservices.

    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
    Generated constructor - Default constructor for generic creation.
    SAPInvoiceModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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
    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

    Modifier and Type
    Method
    Description
    Generated method - Getter of the SAPInvoice.consignmentEntries attribute defined at extension commerceservices.
    Generated method - Getter of the SAPInvoice.currency attribute defined at extension commerceservices.
    Generated method - Getter of the SAPInvoice.externalSystemId attribute defined at extension commerceservices.
    Generated method - Getter of the SAPInvoice.id attribute defined at extension commerceservices.
    Generated method - Getter of the SAPInvoice.invoiceMedia attribute defined at extension commerceservices.
    Generated method - Getter of the SAPInvoice.netPrice attribute defined at extension commerceservices.
    Generated method - Getter of the SAPInvoice.totalPrice attribute defined at extension commerceservices.
    void
    Generated method - Setter of SAPInvoice.consignmentEntries attribute defined at extension commerceservices.
    void
    Generated method - Setter of SAPInvoice.currency attribute defined at extension commerceservices.
    void
    Generated method - Setter of SAPInvoice.externalSystemId attribute defined at extension commerceservices.
    void
    setId(String value)
    Generated method - Setter of SAPInvoice.id attribute defined at extension commerceservices.
    void
    Generated method - Setter of SAPInvoice.invoiceMedia attribute defined at extension commerceservices.
    void
    Generated method - Setter of SAPInvoice.netPrice attribute defined at extension commerceservices.
    void
    Generated method - Setter of SAPInvoice.totalPrice attribute defined at extension commerceservices.

    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

    Methods inherited from class java.lang.Object

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

    • _TYPECODE

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

      public static final String _SAPINVOICE2CONSIGNMENTENTRYREL
      Generated relation code constant for relation SAPInvoice2ConsignmentEntryRel defining source attribute consignmentEntries in extension commerceservices.
      See Also:
    • ID

      public static final String ID
      Generated constant - Attribute key of SAPInvoice.id attribute defined at extension commerceservices.
      See Also:
    • TOTALPRICE

      public static final String TOTALPRICE
      Generated constant - Attribute key of SAPInvoice.totalPrice attribute defined at extension commerceservices.
      See Also:
    • NETPRICE

      public static final String NETPRICE
      Generated constant - Attribute key of SAPInvoice.netPrice attribute defined at extension commerceservices.
      See Also:
    • CURRENCY

      public static final String CURRENCY
      Generated constant - Attribute key of SAPInvoice.currency attribute defined at extension commerceservices.
      See Also:
    • EXTERNALSYSTEMID

      public static final String EXTERNALSYSTEMID
      Generated constant - Attribute key of SAPInvoice.externalSystemId attribute defined at extension commerceservices.
      See Also:
    • INVOICEMEDIA

      public static final String INVOICEMEDIA
      Generated constant - Attribute key of SAPInvoice.invoiceMedia attribute defined at extension commerceservices.
      See Also:
    • CONSIGNMENTENTRIES

      public static final String CONSIGNMENTENTRIES
      Generated constant - Attribute key of SAPInvoice.consignmentEntries attribute defined at extension commerceservices.
      See Also:
  • Constructor Details

    • SAPInvoiceModel

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

      public SAPInvoiceModel(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
    • SAPInvoiceModel

      @Deprecated(since="4.1.1", forRemoval=true) public SAPInvoiceModel(String _id)
      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:
      _id - initial attribute declared by type SAPInvoice at extension commerceservices
    • SAPInvoiceModel

      @Deprecated(since="4.1.1", forRemoval=true) public SAPInvoiceModel(String _id, ItemModel _owner)
      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:
      _id - initial attribute declared by type SAPInvoice at extension commerceservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getConsignmentEntries

      @Accessor(qualifier="consignmentEntries", type=GETTER) public Set<ConsignmentEntryModel> getConsignmentEntries()
      Generated method - Getter of the SAPInvoice.consignmentEntries attribute defined at extension commerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the consignmentEntries
    • getCurrency

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

      @Accessor(qualifier="externalSystemId", type=GETTER) public ExternalSystemId getExternalSystemId()
      Generated method - Getter of the SAPInvoice.externalSystemId attribute defined at extension commerceservices.
      Returns:
      the externalSystemId - External System ID where the invoice resides.
    • getId

      @Accessor(qualifier="id", type=GETTER) public String getId()
      Generated method - Getter of the SAPInvoice.id attribute defined at extension commerceservices.
      Returns:
      the id
    • getInvoiceMedia

      @Accessor(qualifier="invoiceMedia", type=GETTER) public SAPInvoiceMediaModel getInvoiceMedia()
      Generated method - Getter of the SAPInvoice.invoiceMedia attribute defined at extension commerceservices.
      Returns:
      the invoiceMedia
    • getNetPrice

      @Accessor(qualifier="netPrice", type=GETTER) public BigDecimal getNetPrice()
      Generated method - Getter of the SAPInvoice.netPrice attribute defined at extension commerceservices.
      Returns:
      the netPrice
    • getTotalPrice

      @Accessor(qualifier="totalPrice", type=GETTER) public BigDecimal getTotalPrice()
      Generated method - Getter of the SAPInvoice.totalPrice attribute defined at extension commerceservices.
      Returns:
      the totalPrice
    • setConsignmentEntries

      @Accessor(qualifier="consignmentEntries", type=SETTER) public void setConsignmentEntries(Set<ConsignmentEntryModel> value)
      Generated method - Setter of SAPInvoice.consignmentEntries attribute defined at extension commerceservices.
      Parameters:
      value - the consignmentEntries
    • setCurrency

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

      @Accessor(qualifier="externalSystemId", type=SETTER) public void setExternalSystemId(ExternalSystemId value)
      Generated method - Setter of SAPInvoice.externalSystemId attribute defined at extension commerceservices.
      Parameters:
      value - the externalSystemId - External System ID where the invoice resides.
    • setId

      @Accessor(qualifier="id", type=SETTER) public void setId(String value)
      Generated method - Setter of SAPInvoice.id attribute defined at extension commerceservices.
      Parameters:
      value - the id
    • setInvoiceMedia

      @Accessor(qualifier="invoiceMedia", type=SETTER) public void setInvoiceMedia(SAPInvoiceMediaModel value)
      Generated method - Setter of SAPInvoice.invoiceMedia attribute defined at extension commerceservices.
      Parameters:
      value - the invoiceMedia
    • setNetPrice

      @Accessor(qualifier="netPrice", type=SETTER) public void setNetPrice(BigDecimal value)
      Generated method - Setter of SAPInvoice.netPrice attribute defined at extension commerceservices.
      Parameters:
      value - the netPrice
    • setTotalPrice

      @Accessor(qualifier="totalPrice", type=SETTER) public void setTotalPrice(BigDecimal value)
      Generated method - Setter of SAPInvoice.totalPrice attribute defined at extension commerceservices.
      Parameters:
      value - the totalPrice