Class ProdSalesDeliverySalesTax
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProdSalesDeliverySalesTax_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProdSalesDeliverySalesTax instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProdSalesDeliverySalesTax>Selector for all available fields of ProdSalesDeliverySalesTax.static final SimpleProperty.String<ProdSalesDeliverySalesTax>static final SimpleProperty.String<ProdSalesDeliverySalesTax>static final SimpleProperty.String<ProdSalesDeliverySalesTax>static final SimpleProperty.String<ProdSalesDeliverySalesTax>static final SimpleProperty.String<ProdSalesDeliverySalesTax>static final SimpleProperty.String<ProdSalesDeliverySalesTax>static final NavigationProperty.Single<ProdSalesDeliverySalesTax,Product> Use with available request builders to apply the _Product navigation property to query operations.Use with available request builders to apply the _ProductSalesDelivery 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
ConstructorsConstructorDescriptionProdSalesDeliverySalesTax(String product, String country, String productSalesTaxCategory, String productSalesOrg, String productDistributionChnl, String productTaxClassification, Product to_Product, ProductSalesDelivery to_ProductSalesDelivery) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 3protected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 18(Key Field) Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<Product>Retrieval of associated Product entity (one to one).io.vavr.control.Option<ProductSalesDelivery>Retrieval of associated ProductSalesDelivery entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 1getType()inthashCode()voidsetCountry(String country) (Key Field) Constraints: Not nullable, Maximum length: 3voidsetProduct(Product value) Overwrites the associated Product entity for the loaded navigation property _Product.voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetProductDistributionChnl(String productDistributionChnl) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated ProductSalesDelivery entity for the loaded navigation property _ProductSalesDelivery.voidsetProductSalesOrg(String productSalesOrg) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetProductSalesTaxCategory(String productSalesTaxCategory) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetProductTaxClassification(String productTaxClassification) Constraints: Not nullable, Maximum length: 1toString()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 ProdSalesDeliverySalesTax. -
PRODUCT
-
COUNTRY
-
PRODUCT_SALES_TAX_CATEGORY
-
PRODUCT_SALES_ORG
-
PRODUCT_DISTRIBUTION_CHNL
-
PRODUCT_TAX_CLASSIFICATION
-
TO__PRODUCT
Use with available request builders to apply the _Product navigation property to query operations. -
TO__PRODUCT_SALES_DELIVERY
public static final NavigationProperty.Single<ProdSalesDeliverySalesTax,ProductSalesDelivery> TO__PRODUCT_SALES_DELIVERYUse with available request builders to apply the _ProductSalesDelivery navigation property to query operations.
-
-
Constructor Details
-
ProdSalesDeliverySalesTax
public ProdSalesDeliverySalesTax() -
ProdSalesDeliverySalesTax
public ProdSalesDeliverySalesTax(@Nullable String product, @Nullable String country, @Nullable String productSalesTaxCategory, @Nullable String productSalesOrg, @Nullable String productDistributionChnl, @Nullable String productTaxClassification, @Nullable Product to_Product, @Nullable ProductSalesDelivery to_ProductSalesDelivery)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProdSalesDeliverySalesTax>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Parameters:
product- Product Number
-
setCountry
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Country
- Parameters:
country- Departure Country/Region (from which the goods are sent)
-
setProductSalesTaxCategory
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProductSalesTaxCategory
- Parameters:
productSalesTaxCategory- Tax Condition Type (Sales Tax, Value-Added Tax,...)
-
setProductSalesOrg
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProductSalesOrg
- Parameters:
productSalesOrg- Sales Organization
-
setProductDistributionChnl
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ProductDistributionChnl
- Parameters:
productDistributionChnl- Distribution Channel
-
setProductTaxClassification
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProductTaxClassification
- Parameters:
productTaxClassification- The productTaxClassification to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProdSalesDeliverySalesTax>
-
getKey
- Overrides:
getKeyin classVdmObject<ProdSalesDeliverySalesTax>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProdSalesDeliverySalesTax>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProdSalesDeliverySalesTax>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProdSalesDeliverySalesTax>
-
getProductIfPresent
Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property _Product.If the navigation property for an entity ProdSalesDeliverySalesTax 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 _Product is already loaded, the result will contain the
Product entity. If not, an
Optionwith result stateemptyis returned.
-
setProduct
Overwrites the associated Product entity for the loaded navigation property _Product.- Parameters:
value- New Product entity.
-
getProductSalesDeliveryIfPresent
Retrieval of associated ProductSalesDelivery entity (one to one). This corresponds to the OData navigation property _ProductSalesDelivery.If the navigation property for an entity ProdSalesDeliverySalesTax 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 _ProductSalesDelivery is already loaded, the result
will contain the ProductSalesDelivery entity. If not, an
Optionwith result stateemptyis returned.
-
setProductSalesDelivery
Overwrites the associated ProductSalesDelivery entity for the loaded navigation property _ProductSalesDelivery.- Parameters:
value- New ProductSalesDelivery entity.
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Returns:
- Product Number
-
getCountry
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Country
- Returns:
- Departure Country/Region (from which the goods are sent)
-
getProductSalesTaxCategory
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProductSalesTaxCategory
- Returns:
- Tax Condition Type (Sales Tax, Value-Added Tax,...)
-
getProductSalesOrg
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProductSalesOrg
- Returns:
- Sales Organization
-
getProductDistributionChnl
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ProductDistributionChnl
- Returns:
- Distribution Channel
-
getProductTaxClassification
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProductTaxClassification
- Returns:
- The productTaxClassification contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<ProdSalesDeliverySalesTax>
-
equals
- Overrides:
equalsin classVdmEntity<ProdSalesDeliverySalesTax>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProdSalesDeliverySalesTax>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProdSalesDeliverySalesTax>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProdSalesDeliverySalesTax>
-