Class SrcgProjItemPaymentTerms
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrcgProjItemPaymentTerms_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjItemPaymentTerms instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjItemPaymentTerms>Selector for all available fields of SrcgProjItemPaymentTerms.static final SimpleProperty.NumericDecimal<SrcgProjItemPaymentTerms>static final SimpleProperty.NumericDecimal<SrcgProjItemPaymentTerms>static final SimpleProperty.NumericDecimal<SrcgProjItemPaymentTerms>static final SimpleProperty.NumericDecimal<SrcgProjItemPaymentTerms>static final SimpleProperty.String<SrcgProjItemPaymentTerms>static final SimpleProperty.NumericDecimal<SrcgProjItemPaymentTerms>static final SimpleProperty.String<SrcgProjItemPaymentTerms>static final SimpleProperty.String<SrcgProjItemPaymentTerms>static final SimpleProperty.String<SrcgProjItemPaymentTerms>static final SimpleProperty.String<SrcgProjItemPaymentTerms>static final SimpleProperty.Guid<SrcgProjItemPaymentTerms>static final SimpleProperty.Guid<SrcgProjItemPaymentTerms>static final SimpleProperty.String<SrcgProjItemPaymentTerms>static final SimpleProperty.Guid<SrcgProjItemPaymentTerms>static final NavigationProperty.Single<SrcgProjItemPaymentTerms,SourcingProject> Use with available request builders to apply the _SourcingProject navigation property to query operations.Use with available request builders to apply the _SourcingProjectItem 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
ConstructorsConstructorDescriptionSrcgProjItemPaymentTerms(UUID srcgProjItemPaymentTermsUUID, UUID sourcingProjectItemUUID, UUID sourcingProjectUUID, String plant, String paymentTerms, BigDecimal cashDiscount1Days, BigDecimal cashDiscount2Days, BigDecimal cashDiscount1Percent, BigDecimal cashDiscount2Percent, BigDecimal netPaymentDays, String companyCode, String procurementHubSourceSystem, String sourcingOrigin, String sourcingScenario, SourcingProject to_SourcingProject, SourcingProjectItem to_SourcingProjectItem) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()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: 10Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<SourcingProject>Retrieval of associated SourcingProject entity (one to one).io.vavr.control.Option<SourcingProjectItem>Retrieval of associated SourcingProjectItem entity (one to one).Constraints: Not nullableConstraints: Not nullableConstraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullablegetType()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: 10voidsetSourcingOrigin(String sourcingOrigin) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated SourcingProject entity for the loaded navigation property _SourcingProject.voidOverwrites the associated SourcingProjectItem entity for the loaded navigation property _SourcingProjectItem.voidsetSourcingProjectItemUUID(UUID sourcingProjectItemUUID) Constraints: Not nullablevoidsetSourcingProjectUUID(UUID sourcingProjectUUID) Constraints: Not nullablevoidsetSourcingScenario(String sourcingScenario) Constraints: Not nullable, Maximum length: 2voidsetSrcgProjItemPaymentTermsUUID(UUID srcgProjItemPaymentTermsUUID) (Key Field) Constraints: Not nullabletoString()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 SrcgProjItemPaymentTerms. -
SRCG_PROJ_ITEM_PAYMENT_TERMS_UUID
-
SOURCING_PROJECT_ITEM_UUID
-
SOURCING_PROJECT_UUID
-
PLANT
-
PAYMENT_TERMS
-
CASH_DISCOUNT1_DAYS
-
CASH_DISCOUNT2_DAYS
-
CASH_DISCOUNT1_PERCENT
-
CASH_DISCOUNT2_PERCENT
-
NET_PAYMENT_DAYS
-
COMPANY_CODE
-
PROCUREMENT_HUB_SOURCE_SYSTEM
-
SOURCING_ORIGIN
-
SOURCING_SCENARIO
-
TO__SOURCING_PROJECT
public static final NavigationProperty.Single<SrcgProjItemPaymentTerms,SourcingProject> TO__SOURCING_PROJECTUse with available request builders to apply the _SourcingProject navigation property to query operations. -
TO__SOURCING_PROJECT_ITEM
public static final NavigationProperty.Single<SrcgProjItemPaymentTerms,SourcingProjectItem> TO__SOURCING_PROJECT_ITEMUse with available request builders to apply the _SourcingProjectItem navigation property to query operations.
-
-
Constructor Details
-
SrcgProjItemPaymentTerms
public SrcgProjItemPaymentTerms() -
SrcgProjItemPaymentTerms
public SrcgProjItemPaymentTerms(@Nullable UUID srcgProjItemPaymentTermsUUID, @Nullable UUID sourcingProjectItemUUID, @Nullable UUID sourcingProjectUUID, @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 String sourcingOrigin, @Nullable String sourcingScenario, @Nullable SourcingProject to_SourcingProject, @Nullable SourcingProjectItem to_SourcingProjectItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjItemPaymentTerms>
-
setSrcgProjItemPaymentTermsUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjItemPaymentTermsUUID
- Parameters:
srcgProjItemPaymentTermsUUID- UUID of Payment Term in Item in Sourcing Project
-
setSourcingProjectItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectItemUUID
- Parameters:
sourcingProjectItemUUID- Sourcing Project Item UUID
-
setSourcingProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Parameters:
sourcingProjectUUID- Sourcing Project 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
-
setSourcingOrigin
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingOrigin
- Parameters:
sourcingOrigin- Sourcing Origin
-
setSourcingScenario
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingScenario
- Parameters:
sourcingScenario- Sourcing Integration Scenario
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjItemPaymentTerms>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjItemPaymentTerms>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjItemPaymentTerms>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjItemPaymentTerms>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjItemPaymentTerms>
-
getSourcingProjectIfPresent
Retrieval of associated SourcingProject entity (one to one). This corresponds to the OData navigation property _SourcingProject.If the navigation property for an entity SrcgProjItemPaymentTerms 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 _SourcingProject is already loaded, the result will
contain the SourcingProject entity. If not, an
Optionwith result stateemptyis returned.
-
setSourcingProject
Overwrites the associated SourcingProject entity for the loaded navigation property _SourcingProject.- Parameters:
value- New SourcingProject entity.
-
getSourcingProjectItemIfPresent
Retrieval of associated SourcingProjectItem entity (one to one). This corresponds to the OData navigation property _SourcingProjectItem.If the navigation property for an entity SrcgProjItemPaymentTerms 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 _SourcingProjectItem is already loaded, the result will
contain the SourcingProjectItem entity. If not, an
Optionwith result stateemptyis returned.
-
setSourcingProjectItem
Overwrites the associated SourcingProjectItem entity for the loaded navigation property _SourcingProjectItem.- Parameters:
value- New SourcingProjectItem entity.
-
builder
-
getSrcgProjItemPaymentTermsUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjItemPaymentTermsUUID
- Returns:
- UUID of Payment Term in Item in Sourcing Project
-
getSourcingProjectItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectItemUUID
- Returns:
- Sourcing Project Item UUID
-
getSourcingProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Returns:
- Sourcing Project 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
-
getSourcingOrigin
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingOrigin
- Returns:
- Sourcing Origin
-
getSourcingScenario
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingScenario
- Returns:
- Sourcing Integration Scenario
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjItemPaymentTerms>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjItemPaymentTerms>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjItemPaymentTerms>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjItemPaymentTerms>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjItemPaymentTerms>
-