Class ProductPlantPurchaseTax
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProductPlantPurchaseTax_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProductPlantPurchaseTax instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProductPlantPurchaseTax>Selector for all available fields of ProductPlantPurchaseTax.static final SimpleProperty.String<ProductPlantPurchaseTax>static final SimpleProperty.String<ProductPlantPurchaseTax>static final SimpleProperty.String<ProductPlantPurchaseTax>static final SimpleProperty.String<ProductPlantPurchaseTax>static final NavigationProperty.Single<ProductPlantPurchaseTax,Product> Use with available request builders to apply the _Product navigation property to query operations.static final NavigationProperty.Single<ProductPlantPurchaseTax,ProductPlant> Use with available request builders to apply the _ProductPlant 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
ConstructorsConstructorDescriptionProductPlantPurchaseTax(String product, String plant, String departureCountry, String prodPurchaseTaxClassification, Product to_Product, ProductPlant to_ProductPlant) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected String(Key Field) Constraints: Not nullable, Maximum length: 3protected Stringprotected ODataEntityKeygetKey()getPlant()(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 1(Key Field) Constraints: Not nullable, Maximum length: 18io.vavr.control.Option<Product>Retrieval of associated Product entity (one to one).io.vavr.control.Option<ProductPlant>Retrieval of associated ProductPlant entity (one to one).getType()inthashCode()voidsetDepartureCountry(String departureCountry) (Key Field) Constraints: Not nullable, Maximum length: 3void(Key Field) Constraints: Not nullable, Maximum length: 4voidsetProdPurchaseTaxClassification(String prodPurchaseTaxClassification) Constraints: Not nullable, Maximum length: 1voidsetProduct(Product value) Overwrites the associated Product entity for the loaded navigation property _Product.voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetProductPlant(ProductPlant value) Overwrites the associated ProductPlant entity for the loaded navigation property _ProductPlant.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 ProductPlantPurchaseTax. -
PRODUCT
-
PLANT
-
DEPARTURE_COUNTRY
-
PROD_PURCHASE_TAX_CLASSIFICATION
-
TO__PRODUCT
Use with available request builders to apply the _Product navigation property to query operations. -
TO__PRODUCT_PLANT
public static final NavigationProperty.Single<ProductPlantPurchaseTax,ProductPlant> TO__PRODUCT_PLANTUse with available request builders to apply the _ProductPlant navigation property to query operations.
-
-
Constructor Details
-
ProductPlantPurchaseTax
public ProductPlantPurchaseTax() -
ProductPlantPurchaseTax
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductPlantPurchaseTax>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Parameters:
product- Product Number
-
setPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setDepartureCountry
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: DepartureCountry
- Parameters:
departureCountry- Departure Country/Region (from which the goods are sent)
-
setProdPurchaseTaxClassification
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProdPurchaseTaxClassification
- Parameters:
prodPurchaseTaxClassification- Tax indicator for material (Purchasing)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductPlantPurchaseTax>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductPlantPurchaseTax>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductPlantPurchaseTax>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductPlantPurchaseTax>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductPlantPurchaseTax>
-
getProductIfPresent
Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property _Product.If the navigation property for an entity ProductPlantPurchaseTax 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.
-
getProductPlantIfPresent
Retrieval of associated ProductPlant entity (one to one). This corresponds to the OData navigation property _ProductPlant.If the navigation property for an entity ProductPlantPurchaseTax 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 _ProductPlant is already loaded, the result will
contain the ProductPlant entity. If not, an
Optionwith result stateemptyis returned.
-
setProductPlant
Overwrites the associated ProductPlant entity for the loaded navigation property _ProductPlant.- Parameters:
value- New ProductPlant entity.
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Returns:
- Product Number
-
getPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getDepartureCountry
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: DepartureCountry
- Returns:
- Departure Country/Region (from which the goods are sent)
-
getProdPurchaseTaxClassification
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProdPurchaseTaxClassification
- Returns:
- Tax indicator for material (Purchasing)
-
toString
- Overrides:
toStringin classVdmObject<ProductPlantPurchaseTax>
-
equals
- Overrides:
equalsin classVdmEntity<ProductPlantPurchaseTax>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductPlantPurchaseTax>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductPlantPurchaseTax>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProductPlantPurchaseTax>
-