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
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
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationSAPInvoice2ConsignmentEntryReldefining source attributeconsignmentEntriesin extensioncommerceservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofSAPInvoice.consignmentEntriesattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofSAPInvoice.currencyattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofSAPInvoice.externalSystemIdattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofSAPInvoice.idattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofSAPInvoice.invoiceMediaattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofSAPInvoice.netPriceattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofSAPInvoice.totalPriceattribute defined at extensioncommerceservices.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.Generated constructor - Default constructor for creation with existing contextSAPInvoiceModel(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 parametersSAPInvoiceModel(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 -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theSAPInvoice.consignmentEntriesattribute defined at extensioncommerceservices.Generated method - Getter of theSAPInvoice.currencyattribute defined at extensioncommerceservices.Generated method - Getter of theSAPInvoice.externalSystemIdattribute defined at extensioncommerceservices.getId()Generated method - Getter of theSAPInvoice.idattribute defined at extensioncommerceservices.Generated method - Getter of theSAPInvoice.invoiceMediaattribute defined at extensioncommerceservices.Generated method - Getter of theSAPInvoice.netPriceattribute defined at extensioncommerceservices.Generated method - Getter of theSAPInvoice.totalPriceattribute defined at extensioncommerceservices.voidGenerated method - Setter ofSAPInvoice.consignmentEntriesattribute defined at extensioncommerceservices.voidsetCurrency(CurrencyModel value) Generated method - Setter ofSAPInvoice.currencyattribute defined at extensioncommerceservices.voidGenerated method - Setter ofSAPInvoice.externalSystemIdattribute defined at extensioncommerceservices.voidGenerated method - Setter ofSAPInvoice.idattribute defined at extensioncommerceservices.voidGenerated method - Setter ofSAPInvoice.invoiceMediaattribute defined at extensioncommerceservices.voidsetNetPrice(BigDecimal value) Generated method - Setter ofSAPInvoice.netPriceattribute defined at extensioncommerceservices.voidsetTotalPrice(BigDecimal value) Generated method - Setter ofSAPInvoice.totalPriceattribute defined at extensioncommerceservices.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_SAPINVOICE2CONSIGNMENTENTRYREL
Generated relation code constant for relationSAPInvoice2ConsignmentEntryReldefining source attributeconsignmentEntriesin extensioncommerceservices.- See Also:
-
ID
Generated constant - Attribute key ofSAPInvoice.idattribute defined at extensioncommerceservices.- See Also:
-
TOTALPRICE
Generated constant - Attribute key ofSAPInvoice.totalPriceattribute defined at extensioncommerceservices.- See Also:
-
NETPRICE
Generated constant - Attribute key ofSAPInvoice.netPriceattribute defined at extensioncommerceservices.- See Also:
-
CURRENCY
Generated constant - Attribute key ofSAPInvoice.currencyattribute defined at extensioncommerceservices.- See Also:
-
EXTERNALSYSTEMID
Generated constant - Attribute key ofSAPInvoice.externalSystemIdattribute defined at extensioncommerceservices.- See Also:
-
INVOICEMEDIA
Generated constant - Attribute key ofSAPInvoice.invoiceMediaattribute defined at extensioncommerceservices.- See Also:
-
CONSIGNMENTENTRIES
Generated constant - Attribute key ofSAPInvoice.consignmentEntriesattribute defined at extensioncommerceservices.- See Also:
-
-
Constructor Details
-
SAPInvoiceModel
public SAPInvoiceModel()Generated constructor - Default constructor for generic creation. -
SAPInvoiceModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
SAPInvoiceModel
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:
_id- initial attribute declared by typeSAPInvoiceat extensioncommerceservices
-
SAPInvoiceModel
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:
_id- initial attribute declared by typeSAPInvoiceat extensioncommerceservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getConsignmentEntries
@Accessor(qualifier="consignmentEntries", type=GETTER) public Set<ConsignmentEntryModel> getConsignmentEntries()Generated method - Getter of theSAPInvoice.consignmentEntriesattribute defined at extensioncommerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the consignmentEntries
-
getCurrency
Generated method - Getter of theSAPInvoice.currencyattribute defined at extensioncommerceservices.- Returns:
- the currency
-
getExternalSystemId
Generated method - Getter of theSAPInvoice.externalSystemIdattribute defined at extensioncommerceservices.- Returns:
- the externalSystemId - External System ID where the invoice resides.
-
getId
Generated method - Getter of theSAPInvoice.idattribute defined at extensioncommerceservices.- Returns:
- the id
-
getInvoiceMedia
Generated method - Getter of theSAPInvoice.invoiceMediaattribute defined at extensioncommerceservices.- Returns:
- the invoiceMedia
-
getNetPrice
Generated method - Getter of theSAPInvoice.netPriceattribute defined at extensioncommerceservices.- Returns:
- the netPrice
-
getTotalPrice
Generated method - Getter of theSAPInvoice.totalPriceattribute defined at extensioncommerceservices.- Returns:
- the totalPrice
-
setConsignmentEntries
@Accessor(qualifier="consignmentEntries", type=SETTER) public void setConsignmentEntries(Set<ConsignmentEntryModel> value) Generated method - Setter ofSAPInvoice.consignmentEntriesattribute defined at extensioncommerceservices.- Parameters:
value- the consignmentEntries
-
setCurrency
Generated method - Setter ofSAPInvoice.currencyattribute defined at extensioncommerceservices.- Parameters:
value- the currency
-
setExternalSystemId
@Accessor(qualifier="externalSystemId", type=SETTER) public void setExternalSystemId(ExternalSystemId value) Generated method - Setter ofSAPInvoice.externalSystemIdattribute defined at extensioncommerceservices.- Parameters:
value- the externalSystemId - External System ID where the invoice resides.
-
setId
Generated method - Setter ofSAPInvoice.idattribute defined at extensioncommerceservices.- Parameters:
value- the id
-
setInvoiceMedia
@Accessor(qualifier="invoiceMedia", type=SETTER) public void setInvoiceMedia(SAPInvoiceMediaModel value) Generated method - Setter ofSAPInvoice.invoiceMediaattribute defined at extensioncommerceservices.- Parameters:
value- the invoiceMedia
-
setNetPrice
Generated method - Setter ofSAPInvoice.netPriceattribute defined at extensioncommerceservices.- Parameters:
value- the netPrice
-
setTotalPrice
Generated method - Setter ofSAPInvoice.totalPriceattribute defined at extensioncommerceservices.- Parameters:
value- the totalPrice
-