Class PRAInternalMarketingRateTrans
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: PRAInternalMarketingRateTrans_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of PRAInternalMarketingRateTrans instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<PRAInternalMarketingRateTrans>Selector for all available fields of PRAInternalMarketingRateTrans.static final SimpleProperty.String<PRAInternalMarketingRateTrans>static final SimpleProperty.String<PRAInternalMarketingRateTrans>static final SimpleProperty.String<PRAInternalMarketingRateTrans>static final SimpleProperty.String<PRAInternalMarketingRateTrans>static final SimpleProperty.NumericDecimal<PRAInternalMarketingRateTrans>static final SimpleProperty.NumericDecimal<PRAInternalMarketingRateTrans>static final SimpleProperty.String<PRAInternalMarketingRateTrans>static final SimpleProperty.DateTime<PRAInternalMarketingRateTrans>static final SimpleProperty.String<PRAInternalMarketingRateTrans>Use with available request builders to apply the _PRAIntMktgRateHeader navigation property to query operations.static final SimpleProperty.String<PRAInternalMarketingRateTrans>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionPRAInternalMarketingRateTrans(String pRAMarketingRateNumber, String marketingType, String unitOfMeasure, BigDecimal marketingDeductionRateAmount, BigDecimal marketingCostDeductionPercent, String companyCode, String jointVenture, String divisionOfInterest, String createdByUser, OffsetDateTime pRACreationDateTime, PRAInternalMarketingRateHdr to_PRAIntMktgRateHeader) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 12protected StringConstraints: Not nullable, Maximum length: 5protected StringConstraints: Not nullable, Maximum length: 6protected ODataEntityKeygetKey()Constraints: Not nullable, Precision: 5, Scale: 2Constraints: Not nullable, Precision: 11, Scale: 7(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Nullableio.vavr.control.Option<PRAInternalMarketingRateHdr>Retrieval of associated PRAInternalMarketingRateHdr entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 12getType()Constraints: Not nullable, Maximum length: 3inthashCode()voidsetCompanyCode(String companyCode) Constraints: Not nullable, Maximum length: 4voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetDivisionOfInterest(String divisionOfInterest) Constraints: Not nullable, Maximum length: 5voidsetJointVenture(String jointVenture) Constraints: Not nullable, Maximum length: 6voidsetMarketingCostDeductionPercent(BigDecimal marketingCostDeductionPercent) Constraints: Not nullable, Precision: 5, Scale: 2voidsetMarketingDeductionRateAmount(BigDecimal marketingDeductionRateAmount) Constraints: Not nullable, Precision: 11, Scale: 7voidsetMarketingType(String marketingType) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetPRACreationDateTime(OffsetDateTime pRACreationDateTime) Constraints: NullablevoidOverwrites the associated PRAInternalMarketingRateHdr entity for the loaded navigation property _PRAIntMktgRateHeader.voidsetPRAMarketingRateNumber(String pRAMarketingRateNumber) (Key Field) Constraints: Not nullable, Maximum length: 12voidsetUnitOfMeasure(String unitOfMeasure) Constraints: Not nullable, Maximum length: 3toString()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 PRAInternalMarketingRateTrans. -
PRA_MARKETING_RATE_NUMBER
-
MARKETING_TYPE
-
UNIT_OF_MEASURE
-
MARKETING_DEDUCTION_RATE_AMOUNT
public static final SimpleProperty.NumericDecimal<PRAInternalMarketingRateTrans> MARKETING_DEDUCTION_RATE_AMOUNT -
MARKETING_COST_DEDUCTION_PERCENT
public static final SimpleProperty.NumericDecimal<PRAInternalMarketingRateTrans> MARKETING_COST_DEDUCTION_PERCENT -
COMPANY_CODE
-
JOINT_VENTURE
-
DIVISION_OF_INTEREST
-
CREATED_BY_USER
-
PRA_CREATION_DATE_TIME
-
TO__P_R_A_INT_MKTG_RATE_HEADER
public static final NavigationProperty.Single<PRAInternalMarketingRateTrans,PRAInternalMarketingRateHdr> TO__P_R_A_INT_MKTG_RATE_HEADERUse with available request builders to apply the _PRAIntMktgRateHeader navigation property to query operations.
-
-
Constructor Details
-
PRAInternalMarketingRateTrans
public PRAInternalMarketingRateTrans() -
PRAInternalMarketingRateTrans
public PRAInternalMarketingRateTrans(@Nullable String pRAMarketingRateNumber, @Nullable String marketingType, @Nullable String unitOfMeasure, @Nullable BigDecimal marketingDeductionRateAmount, @Nullable BigDecimal marketingCostDeductionPercent, @Nullable String companyCode, @Nullable String jointVenture, @Nullable String divisionOfInterest, @Nullable String createdByUser, @Nullable OffsetDateTime pRACreationDateTime, @Nullable PRAInternalMarketingRateHdr to_PRAIntMktgRateHeader)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PRAInternalMarketingRateTrans>
-
setPRAMarketingRateNumber
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: PRAMarketingRateNumber
- Parameters:
pRAMarketingRateNumber- Marketing Rate Number
-
setMarketingType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: MarketingType
- Parameters:
marketingType- Marketing type code
-
setUnitOfMeasure
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: UnitOfMeasure
- Parameters:
unitOfMeasure- Measurement unit
-
setMarketingDeductionRateAmount
Constraints: Not nullable, Precision: 11, Scale: 7Original property name from the Odata EDM: MarketingDeductionRateAmount
- Parameters:
marketingDeductionRateAmount- Marketing Deduction Rate
-
setMarketingCostDeductionPercent
Constraints: Not nullable, Precision: 5, Scale: 2Original property name from the Odata EDM: MarketingCostDeductionPercent
- Parameters:
marketingCostDeductionPercent- Marketing Cost Deduction %
-
setCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setJointVenture
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: JointVenture
- Parameters:
jointVenture- Joint Venture
-
setDivisionOfInterest
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DivisionOfInterest
- Parameters:
divisionOfInterest- Division of Interest (DOI)
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- Name of Person Responsible for Creating the Object
-
setPRACreationDateTime
Constraints: NullableOriginal property name from the Odata EDM: PRACreationDateTime
- Parameters:
pRACreationDateTime- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PRAInternalMarketingRateTrans>
-
getKey
- Overrides:
getKeyin classVdmObject<PRAInternalMarketingRateTrans>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PRAInternalMarketingRateTrans>
-
fromMap
- Overrides:
fromMapin classVdmObject<PRAInternalMarketingRateTrans>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PRAInternalMarketingRateTrans>
-
getPRAIntMktgRateHeaderIfPresent
@Nonnull public io.vavr.control.Option<PRAInternalMarketingRateHdr> getPRAIntMktgRateHeaderIfPresent()Retrieval of associated PRAInternalMarketingRateHdr entity (one to one). This corresponds to the OData navigation property _PRAIntMktgRateHeader.If the navigation property for an entity PRAInternalMarketingRateTrans 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 _PRAIntMktgRateHeader is already loaded, the result
will contain the PRAInternalMarketingRateHdr entity. If not, an
Optionwith result stateemptyis returned.
-
setPRAIntMktgRateHeader
Overwrites the associated PRAInternalMarketingRateHdr entity for the loaded navigation property _PRAIntMktgRateHeader.- Parameters:
value- New PRAInternalMarketingRateHdr entity.
-
builder
-
getPRAMarketingRateNumber
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: PRAMarketingRateNumber
- Returns:
- Marketing Rate Number
-
getMarketingType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: MarketingType
- Returns:
- Marketing type code
-
getUnitOfMeasure
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: UnitOfMeasure
- Returns:
- Measurement unit
-
getMarketingDeductionRateAmount
Constraints: Not nullable, Precision: 11, Scale: 7Original property name from the Odata EDM: MarketingDeductionRateAmount
- Returns:
- Marketing Deduction Rate
-
getMarketingCostDeductionPercent
Constraints: Not nullable, Precision: 5, Scale: 2Original property name from the Odata EDM: MarketingCostDeductionPercent
- Returns:
- Marketing Cost Deduction %
-
getCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getJointVenture
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: JointVenture
- Returns:
- Joint Venture
-
getDivisionOfInterest
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DivisionOfInterest
- Returns:
- Division of Interest (DOI)
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- Name of Person Responsible for Creating the Object
-
getPRACreationDateTime
Constraints: NullableOriginal property name from the Odata EDM: PRACreationDateTime
- Returns:
- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
toString
- Overrides:
toStringin classVdmObject<PRAInternalMarketingRateTrans>
-
equals
- Overrides:
equalsin classVdmEntity<PRAInternalMarketingRateTrans>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PRAInternalMarketingRateTrans>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PRAInternalMarketingRateTrans>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<PRAInternalMarketingRateTrans>
-