Class CePuCoDistrdContrPaytTrms
Original entity name from the Odata EDM: A_CePuCoDistrdContrPaytTrmsType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CePuCoDistrdContrPaytTrmsSelectableSelector for all available fields of CePuCoDistrdContrPaytTrms.static final CePuCoDistrdContrPaytTrmsField<BigDecimal>Use with available fluent helpers to apply the CashDiscount1Days field to query operations.static final CePuCoDistrdContrPaytTrmsField<BigDecimal>Use with available fluent helpers to apply the CashDiscount1Percent field to query operations.static final CePuCoDistrdContrPaytTrmsField<BigDecimal>Use with available fluent helpers to apply the CashDiscount2Days field to query operations.static final CePuCoDistrdContrPaytTrmsField<BigDecimal>Use with available fluent helpers to apply the CashDiscount2Percent field to query operations.static final CePuCoDistrdContrPaytTrmsField<String>Use with available fluent helpers to apply the CentralPurchaseContract field to query operations.static final CePuCoDistrdContrPaytTrmsField<String>Use with available fluent helpers to apply the ExtContractForPurg field to query operations.static final CePuCoDistrdContrPaytTrmsField<BigDecimal>Use with available fluent helpers to apply the NetPaymentDays field to query operations.static final CePuCoDistrdContrPaytTrmsField<String>Use with available fluent helpers to apply the PaymentTerms field to query operations.static final CePuCoDistrdContrPaytTrmsField<String>Use with available fluent helpers to apply the ProcurementHubSourceSystem field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionCePuCoDistrdContrPaytTrms(String centralPurchaseContract, String extContractForPurg, String procurementHubSourceSystem, String paymentTerms, BigDecimal netPaymentDays, BigDecimal cashDiscount1Days, BigDecimal cashDiscount1Percent, BigDecimal cashDiscount2Days, BigDecimal cashDiscount2Percent) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
CePuCoDistrdContrPaytTrmsField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> CePuCoDistrdContrPaytTrmsField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Precision: 3, Scale: 0Constraints: Not nullable, Precision: 5, Scale: 3Constraints: Not nullable, Precision: 3, Scale: 0Constraints: Not nullable, Precision: 5, Scale: 3(Key Field) Constraints: Not nullable, Maximum length: 10protected Stringprotected String(Key Field) Constraints: Not nullable, Maximum length: 10getKey()Constraints: Not nullable, Precision: 3, Scale: 0Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 10getType()inthashCode()voidsetCashDiscount1Days(BigDecimal cashDiscount1Days) Constraints: Not nullable, Precision: 3, Scale: 0voidsetCashDiscount1Percent(BigDecimal cashDiscount1Percent) Constraints: Not nullable, Precision: 5, Scale: 3voidsetCashDiscount2Days(BigDecimal cashDiscount2Days) Constraints: Not nullable, Precision: 3, Scale: 0voidsetCashDiscount2Percent(BigDecimal cashDiscount2Percent) Constraints: Not nullable, Precision: 5, Scale: 3voidsetCentralPurchaseContract(String centralPurchaseContract) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetExtContractForPurg(String extContractForPurg) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetNetPaymentDays(BigDecimal netPaymentDays) Constraints: Not nullable, Precision: 3, Scale: 0voidsetPaymentTerms(String paymentTerms) Constraints: Not nullable, Maximum length: 4voidsetProcurementHubSourceSystem(String procurementHubSourceSystem) (Key Field) Constraints: Not nullable, Maximum length: 10protected voidsetServicePathForFetch(String servicePathForFetch) toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of CePuCoDistrdContrPaytTrms. -
CENTRAL_PURCHASE_CONTRACT
Use with available fluent helpers to apply the CentralPurchaseContract field to query operations. -
EXT_CONTRACT_FOR_PURG
Use with available fluent helpers to apply the ExtContractForPurg field to query operations. -
PROCUREMENT_HUB_SOURCE_SYSTEM
Use with available fluent helpers to apply the ProcurementHubSourceSystem field to query operations. -
PAYMENT_TERMS
Use with available fluent helpers to apply the PaymentTerms field to query operations. -
NET_PAYMENT_DAYS
Use with available fluent helpers to apply the NetPaymentDays field to query operations. -
CASH_DISCOUNT1_DAYS
Use with available fluent helpers to apply the CashDiscount1Days field to query operations. -
CASH_DISCOUNT1_PERCENT
Use with available fluent helpers to apply the CashDiscount1Percent field to query operations. -
CASH_DISCOUNT2_DAYS
Use with available fluent helpers to apply the CashDiscount2Days field to query operations. -
CASH_DISCOUNT2_PERCENT
Use with available fluent helpers to apply the CashDiscount2Percent field to query operations.
-
-
Constructor Details
-
CePuCoDistrdContrPaytTrms
public CePuCoDistrdContrPaytTrms() -
CePuCoDistrdContrPaytTrms
public CePuCoDistrdContrPaytTrms(@Nullable String centralPurchaseContract, @Nullable String extContractForPurg, @Nullable String procurementHubSourceSystem, @Nullable String paymentTerms, @Nullable BigDecimal netPaymentDays, @Nullable BigDecimal cashDiscount1Days, @Nullable BigDecimal cashDiscount1Percent, @Nullable BigDecimal cashDiscount2Days, @Nullable BigDecimal cashDiscount2Percent)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CePuCoDistrdContrPaytTrms>
-
setCentralPurchaseContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CentralPurchaseContract
- Parameters:
centralPurchaseContract- Purchasing Document Number
-
setExtContractForPurg
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ExtContractForPurg
- Parameters:
extContractForPurg- Contract of External System
-
setProcurementHubSourceSystem
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementHubSourceSystem
- Parameters:
procurementHubSourceSystem- Logical System
-
setPaymentTerms
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PaymentTerms
- Parameters:
paymentTerms- Terms of Payment Key
-
setNetPaymentDays
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: NetPaymentDays
- Parameters:
netPaymentDays- Net Payment Terms Period
-
setCashDiscount1Days
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: CashDiscount1Days
- Parameters:
cashDiscount1Days- Cash discount days 1
-
setCashDiscount1Percent
Constraints: Not nullable, Precision: 5, Scale: 3Original property name from the Odata EDM: CashDiscount1Percent
- Parameters:
cashDiscount1Percent- Cash Discount Percentage 1
-
setCashDiscount2Days
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: CashDiscount2Days
- Parameters:
cashDiscount2Days- Cash discount days 2
-
setCashDiscount2Percent
Constraints: Not nullable, Precision: 5, Scale: 3Original property name from the Odata EDM: CashDiscount2Percent
- Parameters:
cashDiscount2Percent- Cash Discount Percentage 2
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CePuCoDistrdContrPaytTrms>
-
getKey
- Overrides:
getKeyin classVdmObject<CePuCoDistrdContrPaytTrms>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CePuCoDistrdContrPaytTrms>
-
fromMap
- Overrides:
fromMapin classVdmObject<CePuCoDistrdContrPaytTrms>
-
field
@Nonnull public static <T> CePuCoDistrdContrPaytTrmsField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> CePuCoDistrdContrPaytTrmsField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<CePuCoDistrdContrPaytTrms>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<CePuCoDistrdContrPaytTrms>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<CePuCoDistrdContrPaytTrms>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CePuCoDistrdContrPaytTrms>
-
builder
-
getCentralPurchaseContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CentralPurchaseContract
- Returns:
- Purchasing Document Number
-
getExtContractForPurg
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ExtContractForPurg
- Returns:
- Contract of External System
-
getProcurementHubSourceSystem
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementHubSourceSystem
- Returns:
- Logical System
-
getPaymentTerms
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PaymentTerms
- Returns:
- Terms of Payment Key
-
getNetPaymentDays
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: NetPaymentDays
- Returns:
- Net Payment Terms Period
-
getCashDiscount1Days
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: CashDiscount1Days
- Returns:
- Cash discount days 1
-
getCashDiscount1Percent
Constraints: Not nullable, Precision: 5, Scale: 3Original property name from the Odata EDM: CashDiscount1Percent
- Returns:
- Cash Discount Percentage 1
-
getCashDiscount2Days
Constraints: Not nullable, Precision: 3, Scale: 0Original property name from the Odata EDM: CashDiscount2Days
- Returns:
- Cash discount days 2
-
getCashDiscount2Percent
Constraints: Not nullable, Precision: 5, Scale: 3Original property name from the Odata EDM: CashDiscount2Percent
- Returns:
- Cash Discount Percentage 2
-
toString
- Overrides:
toStringin classVdmObject<CePuCoDistrdContrPaytTrms>
-
equals
- Overrides:
equalsin classVdmEntity<CePuCoDistrdContrPaytTrms>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CePuCoDistrdContrPaytTrms>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CePuCoDistrdContrPaytTrms>
-