Class SupplierConfirmationItem
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: A_SupplierConfirmationItem_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SupplierConfirmationItem instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SupplierConfirmationItem>Selector for all available fields of SupplierConfirmationItem.static final SimpleProperty.String<SupplierConfirmationItem>static final SimpleProperty.Boolean<SupplierConfirmationItem>static final SimpleProperty.String<SupplierConfirmationItem>static final SimpleProperty.NumericDecimal<SupplierConfirmationItem>static final SimpleProperty.String<SupplierConfirmationItem>static final SimpleProperty.String<SupplierConfirmationItem>static final SimpleProperty.String<SupplierConfirmationItem>static final SimpleProperty.String<SupplierConfirmationItem>static final SimpleProperty.String<SupplierConfirmationItem>static final SimpleProperty.NumericDecimal<SupplierConfirmationItem>static final SimpleProperty.String<SupplierConfirmationItem>Use with available request builders to apply the _SupplierConfirmationLineTP navigation property to query operations.Use with available request builders to apply the _SupplierConfirmationTP navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionSupplierConfirmationItem(String supplierConfirmation, String supplierConfirmationItem, String suplrConfRefPurchaseOrder, String suplrConfRefPurchaseOrderItem, String suplrConfItemExternalReference, BigDecimal supplierConfirmedNetPrice, String documentCurrency, Boolean itemIsRejectedBySupplier, String supplierOrderAcknNumber, BigDecimal suplrConfNetPriceQuantity, String suplrConfOrderPriceUnit, List<SupplierConfirmationLine> to_SupplierConfirmationLineTP, SupplierConfirmation to_SupplierConfirmationTP) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SupplierConfirmationLine entities.builder()protected booleanbooleanprotected voidprotected StringConstraints: Not nullable, Maximum length: 3protected StringConstraints: Not nullableprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 70Constraints: Not nullable, Precision: 5Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 5(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 5io.vavr.control.Option<List<SupplierConfirmationLine>>Retrieval of associated SupplierConfirmationLine entities (one to many).io.vavr.control.Option<SupplierConfirmation>Retrieval of associated SupplierConfirmation entity (one to one).Constraints: Not nullable, Precision: 11, Scale: 0Constraints: Not nullable, Maximum length: 20getType()inthashCode()voidsetDocumentCurrency(String documentCurrency) Constraints: Not nullable, Maximum length: 3voidsetItemIsRejectedBySupplier(Boolean itemIsRejectedBySupplier) Constraints: Not nullablevoidsetSuplrConfItemExternalReference(String suplrConfItemExternalReference) Constraints: Not nullable, Maximum length: 70voidsetSuplrConfNetPriceQuantity(BigDecimal suplrConfNetPriceQuantity) Constraints: Not nullable, Precision: 5voidsetSuplrConfOrderPriceUnit(String suplrConfOrderPriceUnit) Constraints: Not nullable, Maximum length: 3voidsetSuplrConfRefPurchaseOrder(String suplrConfRefPurchaseOrder) Constraints: Not nullable, Maximum length: 10voidsetSuplrConfRefPurchaseOrderItem(String suplrConfRefPurchaseOrderItem) Constraints: Not nullable, Maximum length: 5voidsetSupplierConfirmation(String supplierConfirmation) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetSupplierConfirmationItem(String supplierConfirmationItem) (Key Field) Constraints: Not nullable, Maximum length: 5voidOverwrites the list of associated SupplierConfirmationLine entities for the loaded navigation property _SupplierConfirmationLineTP.voidOverwrites the associated SupplierConfirmation entity for the loaded navigation property _SupplierConfirmationTP.voidsetSupplierConfirmedNetPrice(BigDecimal supplierConfirmedNetPrice) Constraints: Not nullable, Precision: 11, Scale: 0voidsetSupplierOrderAcknNumber(String supplierOrderAcknNumber) Constraints: Not nullable, Maximum length: 20toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of SupplierConfirmationItem. -
SUPPLIER_CONFIRMATION
-
SUPPLIER_CONFIRMATION_ITEM
-
SUPLR_CONF_REF_PURCHASE_ORDER
-
SUPLR_CONF_REF_PURCHASE_ORDER_ITEM
public static final SimpleProperty.String<SupplierConfirmationItem> SUPLR_CONF_REF_PURCHASE_ORDER_ITEM -
SUPLR_CONF_ITEM_EXTERNAL_REFERENCE
public static final SimpleProperty.String<SupplierConfirmationItem> SUPLR_CONF_ITEM_EXTERNAL_REFERENCE -
SUPPLIER_CONFIRMED_NET_PRICE
public static final SimpleProperty.NumericDecimal<SupplierConfirmationItem> SUPPLIER_CONFIRMED_NET_PRICE -
DOCUMENT_CURRENCY
-
ITEM_IS_REJECTED_BY_SUPPLIER
-
SUPPLIER_ORDER_ACKN_NUMBER
-
SUPLR_CONF_NET_PRICE_QUANTITY
public static final SimpleProperty.NumericDecimal<SupplierConfirmationItem> SUPLR_CONF_NET_PRICE_QUANTITY -
SUPLR_CONF_ORDER_PRICE_UNIT
-
TO__SUPPLIER_CONFIRMATION_LINE_TP
public static final NavigationProperty.Collection<SupplierConfirmationItem,SupplierConfirmationLine> TO__SUPPLIER_CONFIRMATION_LINE_TPUse with available request builders to apply the _SupplierConfirmationLineTP navigation property to query operations. -
TO__SUPPLIER_CONFIRMATION_TP
public static final NavigationProperty.Single<SupplierConfirmationItem,SupplierConfirmation> TO__SUPPLIER_CONFIRMATION_TPUse with available request builders to apply the _SupplierConfirmationTP navigation property to query operations.
-
-
Constructor Details
-
SupplierConfirmationItem
public SupplierConfirmationItem() -
SupplierConfirmationItem
public SupplierConfirmationItem(@Nullable String supplierConfirmation, @Nullable String supplierConfirmationItem, @Nullable String suplrConfRefPurchaseOrder, @Nullable String suplrConfRefPurchaseOrderItem, @Nullable String suplrConfItemExternalReference, @Nullable BigDecimal supplierConfirmedNetPrice, @Nullable String documentCurrency, @Nullable Boolean itemIsRejectedBySupplier, @Nullable String supplierOrderAcknNumber, @Nullable BigDecimal suplrConfNetPriceQuantity, @Nullable String suplrConfOrderPriceUnit, List<SupplierConfirmationLine> to_SupplierConfirmationLineTP, @Nullable SupplierConfirmation to_SupplierConfirmationTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SupplierConfirmationItem>
-
setSupplierConfirmation
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SupplierConfirmation
- Parameters:
supplierConfirmation- Supplier Confirmation Number
-
setSupplierConfirmationItem
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: SupplierConfirmationItem
- Parameters:
supplierConfirmationItem- Supplier Confirmation Item
-
setSuplrConfRefPurchaseOrder
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SuplrConfRefPurchaseOrder
- Parameters:
suplrConfRefPurchaseOrder- Reference Purchase Order
-
setSuplrConfRefPurchaseOrderItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: SuplrConfRefPurchaseOrderItem
- Parameters:
suplrConfRefPurchaseOrderItem- Reference Purchase Order Item
-
setSuplrConfItemExternalReference
Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: SuplrConfItemExternalReference
- Parameters:
suplrConfItemExternalReference- Supplier External Reference ID
-
setSupplierConfirmedNetPrice
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: SupplierConfirmedNetPrice
- Parameters:
supplierConfirmedNetPrice- Supplier Confirmed Net Price
-
setDocumentCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: DocumentCurrency
- Parameters:
documentCurrency- Currency Key
-
setItemIsRejectedBySupplier
Constraints: Not nullableOriginal property name from the Odata EDM: ItemIsRejectedBySupplier
- Parameters:
itemIsRejectedBySupplier- Rejection Indicator
-
setSupplierOrderAcknNumber
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SupplierOrderAcknNumber
- Parameters:
supplierOrderAcknNumber- Order Acknowledgment Number
-
setSuplrConfNetPriceQuantity
Constraints: Not nullable, Precision: 5Original property name from the Odata EDM: SuplrConfNetPriceQuantity
- Parameters:
suplrConfNetPriceQuantity- Supplier Confirmed Net Price Unit
-
setSuplrConfOrderPriceUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SuplrConfOrderPriceUnit
- Parameters:
suplrConfOrderPriceUnit- Supplier Confirmed Net Price Unit Of Measure
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SupplierConfirmationItem>
-
getKey
- Overrides:
getKeyin classVdmObject<SupplierConfirmationItem>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SupplierConfirmationItem>
-
fromMap
- Overrides:
fromMapin classVdmObject<SupplierConfirmationItem>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SupplierConfirmationItem>
-
getSupplierConfirmationLineTPIfPresent
@Nonnull public io.vavr.control.Option<List<SupplierConfirmationLine>> getSupplierConfirmationLineTPIfPresent()Retrieval of associated SupplierConfirmationLine entities (one to many). This corresponds to the OData navigation property _SupplierConfirmationLineTP.If the navigation property for an entity SupplierConfirmationItem has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _SupplierConfirmationLineTP is already loaded, the
result will contain the SupplierConfirmationLine entities. If not, an
Optionwith result stateemptyis returned.
-
setSupplierConfirmationLineTP
Overwrites the list of associated SupplierConfirmationLine entities for the loaded navigation property _SupplierConfirmationLineTP.If the navigation property _SupplierConfirmationLineTP of a queried SupplierConfirmationItem is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of SupplierConfirmationLine entities.
-
addSupplierConfirmationLineTP
Adds elements to the list of associated SupplierConfirmationLine entities. This corresponds to the OData navigation property _SupplierConfirmationLineTP.If the navigation property _SupplierConfirmationLineTP of a queried SupplierConfirmationItem is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of SupplierConfirmationLine entities.
-
getSupplierConfirmationTPIfPresent
Retrieval of associated SupplierConfirmation entity (one to one). This corresponds to the OData navigation property _SupplierConfirmationTP.If the navigation property for an entity SupplierConfirmationItem has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _SupplierConfirmationTP is already loaded, the result
will contain the SupplierConfirmation entity. If not, an
Optionwith result stateemptyis returned.
-
setSupplierConfirmationTP
Overwrites the associated SupplierConfirmation entity for the loaded navigation property _SupplierConfirmationTP.- Parameters:
value- New SupplierConfirmation entity.
-
builder
-
getSupplierConfirmation
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SupplierConfirmation
- Returns:
- Supplier Confirmation Number
-
getSupplierConfirmationItem
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: SupplierConfirmationItem
- Returns:
- Supplier Confirmation Item
-
getSuplrConfRefPurchaseOrder
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SuplrConfRefPurchaseOrder
- Returns:
- Reference Purchase Order
-
getSuplrConfRefPurchaseOrderItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: SuplrConfRefPurchaseOrderItem
- Returns:
- Reference Purchase Order Item
-
getSuplrConfItemExternalReference
Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: SuplrConfItemExternalReference
- Returns:
- Supplier External Reference ID
-
getSupplierConfirmedNetPrice
Constraints: Not nullable, Precision: 11, Scale: 0Original property name from the Odata EDM: SupplierConfirmedNetPrice
- Returns:
- Supplier Confirmed Net Price
-
getDocumentCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: DocumentCurrency
- Returns:
- Currency Key
-
getItemIsRejectedBySupplier
Constraints: Not nullableOriginal property name from the Odata EDM: ItemIsRejectedBySupplier
- Returns:
- Rejection Indicator
-
getSupplierOrderAcknNumber
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SupplierOrderAcknNumber
- Returns:
- Order Acknowledgment Number
-
getSuplrConfNetPriceQuantity
Constraints: Not nullable, Precision: 5Original property name from the Odata EDM: SuplrConfNetPriceQuantity
- Returns:
- Supplier Confirmed Net Price Unit
-
getSuplrConfOrderPriceUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SuplrConfOrderPriceUnit
- Returns:
- Supplier Confirmed Net Price Unit Of Measure
-
toString
- Overrides:
toStringin classVdmObject<SupplierConfirmationItem>
-
equals
- Overrides:
equalsin classVdmEntity<SupplierConfirmationItem>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SupplierConfirmationItem>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SupplierConfirmationItem>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SupplierConfirmationItem>
-