Class SrcgProjQtnAllowedPaytTrm
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrcgProjQtnAllowedPaytTrm_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjQtnAllowedPaytTrm instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjQtnAllowedPaytTrm>Selector for all available fields of SrcgProjQtnAllowedPaytTrm.static final SimpleProperty.NumericDecimal<SrcgProjQtnAllowedPaytTrm>static final SimpleProperty.NumericDecimal<SrcgProjQtnAllowedPaytTrm>static final SimpleProperty.NumericDecimal<SrcgProjQtnAllowedPaytTrm>static final SimpleProperty.NumericDecimal<SrcgProjQtnAllowedPaytTrm>static final SimpleProperty.String<SrcgProjQtnAllowedPaytTrm>static final SimpleProperty.NumericDecimal<SrcgProjQtnAllowedPaytTrm>static final SimpleProperty.String<SrcgProjQtnAllowedPaytTrm>static final SimpleProperty.String<SrcgProjQtnAllowedPaytTrm>static final SimpleProperty.String<SrcgProjQtnAllowedPaytTrm>static final SimpleProperty.Guid<SrcgProjQtnAllowedPaytTrm>static final SimpleProperty.Guid<SrcgProjQtnAllowedPaytTrm>static final SimpleProperty.Guid<SrcgProjQtnAllowedPaytTrm>Use with available request builders to apply the _SourcingProjectQuotation navigation property to query operations.Use with available request builders to apply the _SrcgProjQtnItmPaymentTerms 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
ConstructorsConstructorDescriptionSrcgProjQtnAllowedPaytTrm(UUID srcgProjQtnAllowedPaytTrmUUID, UUID srcgProjQtnItmPaymentTermsUUID, UUID sourcingProjectQuotationUUID, String plant, String paymentTerms, BigDecimal cashDiscount1Days, BigDecimal cashDiscount2Days, BigDecimal cashDiscount1Percent, BigDecimal cashDiscount2Percent, BigDecimal netPaymentDays, String companyCode, String procurementHubSourceSystem, SourcingProjectQuotation to_SourcingProjectQuotation, SrcgProjQtnItemPaymentTerms to_SrcgProjQtnItmPaymentTerms) -
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: 10io.vavr.control.Option<SourcingProjectQuotation>Retrieval of associated SourcingProjectQuotation entity (one to one).Constraints: Not nullable(Key Field) Constraints: Not nullableio.vavr.control.Option<SrcgProjQtnItemPaymentTerms>Retrieval of associated SrcgProjQtnItemPaymentTerms entity (one to one).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: 10voidOverwrites the associated SourcingProjectQuotation entity for the loaded navigation property _SourcingProjectQuotation.voidsetSourcingProjectQuotationUUID(UUID sourcingProjectQuotationUUID) Constraints: Not nullablevoidsetSrcgProjQtnAllowedPaytTrmUUID(UUID srcgProjQtnAllowedPaytTrmUUID) (Key Field) Constraints: Not nullablevoidOverwrites the associated SrcgProjQtnItemPaymentTerms entity for the loaded navigation property _SrcgProjQtnItmPaymentTerms.voidsetSrcgProjQtnItmPaymentTermsUUID(UUID srcgProjQtnItmPaymentTermsUUID) 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 SrcgProjQtnAllowedPaytTrm. -
SRCG_PROJ_QTN_ALLOWED_PAYT_TRM_UUID
public static final SimpleProperty.Guid<SrcgProjQtnAllowedPaytTrm> SRCG_PROJ_QTN_ALLOWED_PAYT_TRM_UUID -
SRCG_PROJ_QTN_ITM_PAYMENT_TERMS_UUID
public static final SimpleProperty.Guid<SrcgProjQtnAllowedPaytTrm> SRCG_PROJ_QTN_ITM_PAYMENT_TERMS_UUID -
SOURCING_PROJECT_QUOTATION_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
-
TO__SOURCING_PROJECT_QUOTATION
public static final NavigationProperty.Single<SrcgProjQtnAllowedPaytTrm,SourcingProjectQuotation> TO__SOURCING_PROJECT_QUOTATIONUse with available request builders to apply the _SourcingProjectQuotation navigation property to query operations. -
TO__SRCG_PROJ_QTN_ITM_PAYMENT_TERMS
public static final NavigationProperty.Single<SrcgProjQtnAllowedPaytTrm,SrcgProjQtnItemPaymentTerms> TO__SRCG_PROJ_QTN_ITM_PAYMENT_TERMSUse with available request builders to apply the _SrcgProjQtnItmPaymentTerms navigation property to query operations.
-
-
Constructor Details
-
SrcgProjQtnAllowedPaytTrm
public SrcgProjQtnAllowedPaytTrm() -
SrcgProjQtnAllowedPaytTrm
public SrcgProjQtnAllowedPaytTrm(@Nullable UUID srcgProjQtnAllowedPaytTrmUUID, @Nullable UUID srcgProjQtnItmPaymentTermsUUID, @Nullable UUID sourcingProjectQuotationUUID, @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, @Nullable SrcgProjQtnItemPaymentTerms to_SrcgProjQtnItmPaymentTerms)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjQtnAllowedPaytTrm>
-
setSrcgProjQtnAllowedPaytTrmUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnAllowedPaytTrmUUID
- Parameters:
srcgProjQtnAllowedPaytTrmUUID- UUID of Allowed Payment Term for Item in Supplier Qtn (SP)
-
setSrcgProjQtnItmPaymentTermsUUID
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
-
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<SrcgProjQtnAllowedPaytTrm>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjQtnAllowedPaytTrm>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjQtnAllowedPaytTrm>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjQtnAllowedPaytTrm>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjQtnAllowedPaytTrm>
-
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 SrcgProjQtnAllowedPaytTrm 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.
-
getSrcgProjQtnItmPaymentTermsIfPresent
@Nonnull public io.vavr.control.Option<SrcgProjQtnItemPaymentTerms> getSrcgProjQtnItmPaymentTermsIfPresent()Retrieval of associated SrcgProjQtnItemPaymentTerms entity (one to one). This corresponds to the OData navigation property _SrcgProjQtnItmPaymentTerms.If the navigation property for an entity SrcgProjQtnAllowedPaytTrm 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 _SrcgProjQtnItmPaymentTerms is already loaded, the
result will contain the SrcgProjQtnItemPaymentTerms entity. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjQtnItmPaymentTerms
Overwrites the associated SrcgProjQtnItemPaymentTerms entity for the loaded navigation property _SrcgProjQtnItmPaymentTerms.- Parameters:
value- New SrcgProjQtnItemPaymentTerms entity.
-
builder
-
getSrcgProjQtnAllowedPaytTrmUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnAllowedPaytTrmUUID
- Returns:
- UUID of Allowed Payment Term for Item in Supplier Qtn (SP)
-
getSrcgProjQtnItmPaymentTermsUUID
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
-
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<SrcgProjQtnAllowedPaytTrm>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjQtnAllowedPaytTrm>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjQtnAllowedPaytTrm>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjQtnAllowedPaytTrm>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjQtnAllowedPaytTrm>
-