Class SrcgProjQtnItemPaymentTerms
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrcgProjQtnItemPaymentTerms_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjQtnItemPaymentTerms instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjQtnItemPaymentTerms>Selector for all available fields of SrcgProjQtnItemPaymentTerms.static final SimpleProperty.NumericDecimal<SrcgProjQtnItemPaymentTerms>static final SimpleProperty.NumericDecimal<SrcgProjQtnItemPaymentTerms>static final SimpleProperty.NumericDecimal<SrcgProjQtnItemPaymentTerms>static final SimpleProperty.NumericDecimal<SrcgProjQtnItemPaymentTerms>static final SimpleProperty.String<SrcgProjQtnItemPaymentTerms>static final SimpleProperty.NumericDecimal<SrcgProjQtnItemPaymentTerms>static final SimpleProperty.String<SrcgProjQtnItemPaymentTerms>static final SimpleProperty.String<SrcgProjQtnItemPaymentTerms>static final SimpleProperty.String<SrcgProjQtnItemPaymentTerms>static final SimpleProperty.Guid<SrcgProjQtnItemPaymentTerms>static final SimpleProperty.Guid<SrcgProjQtnItemPaymentTerms>static final SimpleProperty.Guid<SrcgProjQtnItemPaymentTerms>Use with available request builders to apply the _SourcingProjectQuotation navigation property to query operations.Use with available request builders to apply the _SrcgProjQtnAllowedPaytTrm navigation property to query operations.Use with available request builders to apply the _SrcgProjQuotationItem 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
ConstructorsConstructorDescriptionSrcgProjQtnItemPaymentTerms(UUID srcgProjQtnItmPaymentTermsUUID, UUID sourcingProjectQuotationUUID, UUID srcgProjQtnItemUUID, String plant, String paymentTerms, BigDecimal cashDiscount1Days, BigDecimal cashDiscount2Days, BigDecimal cashDiscount1Percent, BigDecimal cashDiscount2Percent, BigDecimal netPaymentDays, String companyCode, String procurementHubSourceSystem, SourcingProjectQuotation to_SourcingProjectQuotation, List<SrcgProjQtnAllowedPaytTrm> to_SrcgProjQtnAllowedPaytTrm, SrcgProjQtnItem to_SrcgProjQuotationItem) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SrcgProjQtnAllowedPaytTrm entities.builder()protected booleanbooleanprotected voidConstraints: Not nullable, Precision: 3Constraints: Not nullable, Precision: 5, Scale: 3Constraints: Not nullable, Precision: 3Constraints: Not nullable, Precision: 5, Scale: 3Constraints: Not nullable, Maximum length: 4protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Precision: 3Constraints: Not nullable, Maximum length: 4getPlant()Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<SourcingProjectQuotation>Retrieval of associated SourcingProjectQuotation entity (one to one).Constraints: Not nullableio.vavr.control.Option<List<SrcgProjQtnAllowedPaytTrm>>Retrieval of associated SrcgProjQtnAllowedPaytTrm entities (one to many).Constraints: Not nullable(Key Field) Constraints: Not nullableio.vavr.control.Option<SrcgProjQtnItem>Retrieval of associated SrcgProjQtnItem entity (one to one).getType()inthashCode()voidsetCashDiscount1Days(BigDecimal cashDiscount1Days) Constraints: Not nullable, Precision: 3voidsetCashDiscount1Percent(BigDecimal cashDiscount1Percent) Constraints: Not nullable, Precision: 5, Scale: 3voidsetCashDiscount2Days(BigDecimal cashDiscount2Days) Constraints: Not nullable, Precision: 3voidsetCashDiscount2Percent(BigDecimal cashDiscount2Percent) Constraints: Not nullable, Precision: 5, Scale: 3voidsetCompanyCode(String companyCode) Constraints: Not nullable, Maximum length: 4voidsetNetPaymentDays(BigDecimal netPaymentDays) Constraints: Not nullable, Precision: 3voidsetPaymentTerms(String paymentTerms) Constraints: Not nullable, Maximum length: 4voidConstraints: Not nullable, Maximum length: 4voidsetProcurementHubSourceSystem(String procurementHubSourceSystem) Constraints: Not nullable, Maximum length: 10voidOverwrites the associated SourcingProjectQuotation entity for the loaded navigation property _SourcingProjectQuotation.voidsetSourcingProjectQuotationUUID(UUID sourcingProjectQuotationUUID) Constraints: Not nullablevoidOverwrites the list of associated SrcgProjQtnAllowedPaytTrm entities for the loaded navigation property _SrcgProjQtnAllowedPaytTrm.voidsetSrcgProjQtnItemUUID(UUID srcgProjQtnItemUUID) Constraints: Not nullablevoidsetSrcgProjQtnItmPaymentTermsUUID(UUID srcgProjQtnItmPaymentTermsUUID) (Key Field) Constraints: Not nullablevoidOverwrites the associated SrcgProjQtnItem entity for the loaded navigation property _SrcgProjQuotationItem.toString()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 SrcgProjQtnItemPaymentTerms. -
SRCG_PROJ_QTN_ITM_PAYMENT_TERMS_UUID
public static final SimpleProperty.Guid<SrcgProjQtnItemPaymentTerms> SRCG_PROJ_QTN_ITM_PAYMENT_TERMS_UUID -
SOURCING_PROJECT_QUOTATION_UUID
public static final SimpleProperty.Guid<SrcgProjQtnItemPaymentTerms> SOURCING_PROJECT_QUOTATION_UUID -
SRCG_PROJ_QTN_ITEM_UUID
-
PLANT
-
PAYMENT_TERMS
-
CASH_DISCOUNT1_DAYS
-
CASH_DISCOUNT2_DAYS
-
CASH_DISCOUNT1_PERCENT
public static final SimpleProperty.NumericDecimal<SrcgProjQtnItemPaymentTerms> CASH_DISCOUNT1_PERCENT -
CASH_DISCOUNT2_PERCENT
public static final SimpleProperty.NumericDecimal<SrcgProjQtnItemPaymentTerms> CASH_DISCOUNT2_PERCENT -
NET_PAYMENT_DAYS
-
COMPANY_CODE
-
PROCUREMENT_HUB_SOURCE_SYSTEM
public static final SimpleProperty.String<SrcgProjQtnItemPaymentTerms> PROCUREMENT_HUB_SOURCE_SYSTEM -
TO__SOURCING_PROJECT_QUOTATION
public static final NavigationProperty.Single<SrcgProjQtnItemPaymentTerms,SourcingProjectQuotation> TO__SOURCING_PROJECT_QUOTATIONUse with available request builders to apply the _SourcingProjectQuotation navigation property to query operations. -
TO__SRCG_PROJ_QTN_ALLOWED_PAYT_TRM
public static final NavigationProperty.Collection<SrcgProjQtnItemPaymentTerms,SrcgProjQtnAllowedPaytTrm> TO__SRCG_PROJ_QTN_ALLOWED_PAYT_TRMUse with available request builders to apply the _SrcgProjQtnAllowedPaytTrm navigation property to query operations. -
TO__SRCG_PROJ_QUOTATION_ITEM
public static final NavigationProperty.Single<SrcgProjQtnItemPaymentTerms,SrcgProjQtnItem> TO__SRCG_PROJ_QUOTATION_ITEMUse with available request builders to apply the _SrcgProjQuotationItem navigation property to query operations.
-
-
Constructor Details
-
SrcgProjQtnItemPaymentTerms
public SrcgProjQtnItemPaymentTerms() -
SrcgProjQtnItemPaymentTerms
public SrcgProjQtnItemPaymentTerms(@Nullable UUID srcgProjQtnItmPaymentTermsUUID, @Nullable UUID sourcingProjectQuotationUUID, @Nullable UUID srcgProjQtnItemUUID, @Nullable String plant, @Nullable String paymentTerms, @Nullable BigDecimal cashDiscount1Days, @Nullable BigDecimal cashDiscount2Days, @Nullable BigDecimal cashDiscount1Percent, @Nullable BigDecimal cashDiscount2Percent, @Nullable BigDecimal netPaymentDays, @Nullable String companyCode, @Nullable String procurementHubSourceSystem, @Nullable SourcingProjectQuotation to_SourcingProjectQuotation, List<SrcgProjQtnAllowedPaytTrm> to_SrcgProjQtnAllowedPaytTrm, @Nullable SrcgProjQtnItem to_SrcgProjQuotationItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjQtnItemPaymentTerms>
-
setSrcgProjQtnItmPaymentTermsUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnItmPaymentTermsUUID
- Parameters:
srcgProjQtnItmPaymentTermsUUID- UUID of Payment Term in Item in Sourcing Project
-
setSourcingProjectQuotationUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectQuotationUUID
- Parameters:
sourcingProjectQuotationUUID- Supplier Quotation UUID
-
setSrcgProjQtnItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnItemUUID
- Parameters:
srcgProjQtnItemUUID- Supplier Quotation Item UUID
-
setPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setPaymentTerms
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PaymentTerms
- Parameters:
paymentTerms- Terms of Payment Key
-
setCashDiscount1Days
Constraints: Not nullable, Precision: 3Original property name from the Odata EDM: CashDiscount1Days
- Parameters:
cashDiscount1Days- Cash discount days 1
-
setCashDiscount2Days
Constraints: Not nullable, Precision: 3Original property name from the Odata EDM: CashDiscount2Days
- Parameters:
cashDiscount2Days- Cash discount days 2
-
setCashDiscount1Percent
Constraints: Not nullable, Precision: 5, Scale: 3Original property name from the Odata EDM: CashDiscount1Percent
- Parameters:
cashDiscount1Percent- Cash Discount Percentage 1
-
setCashDiscount2Percent
Constraints: Not nullable, Precision: 5, Scale: 3Original property name from the Odata EDM: CashDiscount2Percent
- Parameters:
cashDiscount2Percent- Cash Discount Percentage 2
-
setNetPaymentDays
Constraints: Not nullable, Precision: 3Original property name from the Odata EDM: NetPaymentDays
- Parameters:
netPaymentDays- Net Payment Terms Period
-
setCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setProcurementHubSourceSystem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementHubSourceSystem
- Parameters:
procurementHubSourceSystem- Connected System ID
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjQtnItemPaymentTerms>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjQtnItemPaymentTerms>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjQtnItemPaymentTerms>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjQtnItemPaymentTerms>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjQtnItemPaymentTerms>
-
getSourcingProjectQuotationIfPresent
@Nonnull public io.vavr.control.Option<SourcingProjectQuotation> getSourcingProjectQuotationIfPresent()Retrieval of associated SourcingProjectQuotation entity (one to one). This corresponds to the OData navigation property _SourcingProjectQuotation.If the navigation property for an entity SrcgProjQtnItemPaymentTerms 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 _SourcingProjectQuotation is already loaded, the result
will contain the SourcingProjectQuotation entity. If not, an
Optionwith result stateemptyis returned.
-
setSourcingProjectQuotation
Overwrites the associated SourcingProjectQuotation entity for the loaded navigation property _SourcingProjectQuotation.- Parameters:
value- New SourcingProjectQuotation entity.
-
getSrcgProjQtnAllowedPaytTrmIfPresent
@Nonnull public io.vavr.control.Option<List<SrcgProjQtnAllowedPaytTrm>> getSrcgProjQtnAllowedPaytTrmIfPresent()Retrieval of associated SrcgProjQtnAllowedPaytTrm entities (one to many). This corresponds to the OData navigation property _SrcgProjQtnAllowedPaytTrm.If the navigation property for an entity SrcgProjQtnItemPaymentTerms 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 _SrcgProjQtnAllowedPaytTrm is already loaded, the
result will contain the SrcgProjQtnAllowedPaytTrm entities. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjQtnAllowedPaytTrm
Overwrites the list of associated SrcgProjQtnAllowedPaytTrm entities for the loaded navigation property _SrcgProjQtnAllowedPaytTrm.If the navigation property _SrcgProjQtnAllowedPaytTrm of a queried SrcgProjQtnItemPaymentTerms 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 SrcgProjQtnAllowedPaytTrm entities.
-
addSrcgProjQtnAllowedPaytTrm
Adds elements to the list of associated SrcgProjQtnAllowedPaytTrm entities. This corresponds to the OData navigation property _SrcgProjQtnAllowedPaytTrm.If the navigation property _SrcgProjQtnAllowedPaytTrm of a queried SrcgProjQtnItemPaymentTerms 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 SrcgProjQtnAllowedPaytTrm entities.
-
getSrcgProjQuotationItemIfPresent
Retrieval of associated SrcgProjQtnItem entity (one to one). This corresponds to the OData navigation property _SrcgProjQuotationItem.If the navigation property for an entity SrcgProjQtnItemPaymentTerms 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 _SrcgProjQuotationItem is already loaded, the result
will contain the SrcgProjQtnItem entity. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjQuotationItem
Overwrites the associated SrcgProjQtnItem entity for the loaded navigation property _SrcgProjQuotationItem.- Parameters:
value- New SrcgProjQtnItem entity.
-
builder
-
getSrcgProjQtnItmPaymentTermsUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnItmPaymentTermsUUID
- Returns:
- UUID of Payment Term in Item in Sourcing Project
-
getSourcingProjectQuotationUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectQuotationUUID
- Returns:
- Supplier Quotation UUID
-
getSrcgProjQtnItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnItemUUID
- Returns:
- Supplier Quotation Item UUID
-
getPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getPaymentTerms
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PaymentTerms
- Returns:
- Terms of Payment Key
-
getCashDiscount1Days
Constraints: Not nullable, Precision: 3Original property name from the Odata EDM: CashDiscount1Days
- Returns:
- Cash discount days 1
-
getCashDiscount2Days
Constraints: Not nullable, Precision: 3Original property name from the Odata EDM: CashDiscount2Days
- Returns:
- Cash discount days 2
-
getCashDiscount1Percent
Constraints: Not nullable, Precision: 5, Scale: 3Original property name from the Odata EDM: CashDiscount1Percent
- Returns:
- Cash Discount Percentage 1
-
getCashDiscount2Percent
Constraints: Not nullable, Precision: 5, Scale: 3Original property name from the Odata EDM: CashDiscount2Percent
- Returns:
- Cash Discount Percentage 2
-
getNetPaymentDays
Constraints: Not nullable, Precision: 3Original property name from the Odata EDM: NetPaymentDays
- Returns:
- Net Payment Terms Period
-
getCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getProcurementHubSourceSystem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementHubSourceSystem
- Returns:
- Connected System ID
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjQtnItemPaymentTerms>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjQtnItemPaymentTerms>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjQtnItemPaymentTerms>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjQtnItemPaymentTerms>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjQtnItemPaymentTerms>
-