Class ContractMarketingDetail
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ContractMarketingDetail_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ContractMarketingDetail instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ContractMarketingDetail>Selector for all available fields of ContractMarketingDetail.static final SimpleProperty.Boolean<ContractMarketingDetail>static final SimpleProperty.String<ContractMarketingDetail>static final SimpleProperty.String<ContractMarketingDetail>static final SimpleProperty.String<ContractMarketingDetail>static final SimpleProperty.String<ContractMarketingDetail>static final SimpleProperty.String<ContractMarketingDetail>static final SimpleProperty.String<ContractMarketingDetail>static final SimpleProperty.NumericDecimal<ContractMarketingDetail>static final SimpleProperty.NumericDecimal<ContractMarketingDetail>static final SimpleProperty.String<ContractMarketingDetail>static final SimpleProperty.Date<ContractMarketingDetail>static final SimpleProperty.Date<ContractMarketingDetail>static final SimpleProperty.String<ContractMarketingDetail>static final SimpleProperty.String<ContractMarketingDetail>static final SimpleProperty.String<ContractMarketingDetail>static final SimpleProperty.String<ContractMarketingDetail>static final SimpleProperty.DateTime<ContractMarketingDetail>static final SimpleProperty.NumericDecimal<ContractMarketingDetail>static final SimpleProperty.String<ContractMarketingDetail>static final SimpleProperty.String<ContractMarketingDetail>Use with available request builders to apply the _PRAContrMktgCostCtrlHdrTP navigation property to query operations.static final SimpleProperty.String<ContractMarketingDetail>static final SimpleProperty.String<ContractMarketingDetail>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionContractMarketingDetail(String pRAContract, String measurementPoint, String well, String wellCompletion, String pRAMaterial, LocalDate effectiveFromDate, LocalDate effectiveToDate, String contractMarketingCostControl, String marketingType, BigDecimal deductionReimbursementPercent, String deductionReimbursementType, String pRAVolumeBasisCode, BigDecimal deductionReimbursementRateAmt, String currency, BigDecimal pRADdctdFixedAmount, Boolean amountIsRecoupedFlag, String methodTableCode, String companyCode, String creditPlantVenture, String creditPlantDivisionOfInterest, String createdByUser, OffsetDateTime pRACreationDateTime, ContractMarketingHeader to_PRAContrMktgCostCtrlHdrTP) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullableConstraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 6Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 5, Scale: 2Constraints: Not nullable, Precision: 11, Scale: 7Constraints: Not nullable, Maximum length: 1protected String(Key Field) Constraints: Not nullable(Key Field) Constraints: Not nullableprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<ContractMarketingHeader>Retrieval of associated ContractMarketingHeader entity (one to one).Constraints: NullableConstraints: Not nullable, Precision: 13, Scale: 0(Key Field) Constraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 1getType()getWell()(Key Field) Constraints: Not nullable, Maximum length: 15(Key Field) Constraints: Not nullable, Maximum length: 5inthashCode()voidsetAmountIsRecoupedFlag(Boolean amountIsRecoupedFlag) Constraints: Not nullablevoidsetCompanyCode(String companyCode) Constraints: Not nullable, Maximum length: 4voidsetContractMarketingCostControl(String contractMarketingCostControl) (Key Field) Constraints: Not nullable, Maximum length: 12voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreditPlantDivisionOfInterest(String creditPlantDivisionOfInterest) Constraints: Not nullable, Maximum length: 5voidsetCreditPlantVenture(String creditPlantVenture) Constraints: Not nullable, Maximum length: 6voidsetCurrency(String currency) Constraints: Not nullable, Maximum length: 3voidsetDeductionReimbursementPercent(BigDecimal deductionReimbursementPercent) Constraints: Not nullable, Precision: 5, Scale: 2voidsetDeductionReimbursementRateAmt(BigDecimal deductionReimbursementRateAmt) Constraints: Not nullable, Precision: 11, Scale: 7voidsetDeductionReimbursementType(String deductionReimbursementType) Constraints: Not nullable, Maximum length: 1voidsetEffectiveFromDate(LocalDate effectiveFromDate) (Key Field) Constraints: Not nullablevoidsetEffectiveToDate(LocalDate effectiveToDate) (Key Field) Constraints: Not nullablevoidsetMarketingType(String marketingType) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetMeasurementPoint(String measurementPoint) (Key Field) Constraints: Not nullable, Maximum length: 20voidsetMethodTableCode(String methodTableCode) Constraints: Not nullable, Maximum length: 4voidsetPRAContract(String pRAContract) (Key Field) Constraints: Not nullable, Maximum length: 10voidOverwrites the associated ContractMarketingHeader entity for the loaded navigation property _PRAContrMktgCostCtrlHdrTP.voidsetPRACreationDateTime(OffsetDateTime pRACreationDateTime) Constraints: NullablevoidsetPRADdctdFixedAmount(BigDecimal pRADdctdFixedAmount) Constraints: Not nullable, Precision: 13, Scale: 0voidsetPRAMaterial(String pRAMaterial) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetPRAVolumeBasisCode(String pRAVolumeBasisCode) Constraints: Not nullable, Maximum length: 1void(Key Field) Constraints: Not nullable, Maximum length: 15voidsetWellCompletion(String wellCompletion) (Key Field) Constraints: Not nullable, Maximum length: 5toString()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 ContractMarketingDetail. -
PRA_CONTRACT
-
MEASUREMENT_POINT
-
WELL
-
WELL_COMPLETION
-
PRA_MATERIAL
-
EFFECTIVE_FROM_DATE
-
EFFECTIVE_TO_DATE
-
CONTRACT_MARKETING_COST_CONTROL
-
MARKETING_TYPE
-
DEDUCTION_REIMBURSEMENT_PERCENT
public static final SimpleProperty.NumericDecimal<ContractMarketingDetail> DEDUCTION_REIMBURSEMENT_PERCENT -
DEDUCTION_REIMBURSEMENT_TYPE
-
PRA_VOLUME_BASIS_CODE
-
DEDUCTION_REIMBURSEMENT_RATE_AMT
public static final SimpleProperty.NumericDecimal<ContractMarketingDetail> DEDUCTION_REIMBURSEMENT_RATE_AMT -
CURRENCY
-
PRA_DDCTD_FIXED_AMOUNT
-
AMOUNT_IS_RECOUPED_FLAG
-
METHOD_TABLE_CODE
-
COMPANY_CODE
-
CREDIT_PLANT_VENTURE
-
CREDIT_PLANT_DIVISION_OF_INTEREST
public static final SimpleProperty.String<ContractMarketingDetail> CREDIT_PLANT_DIVISION_OF_INTEREST -
CREATED_BY_USER
-
PRA_CREATION_DATE_TIME
-
TO__P_R_A_CONTR_MKTG_COST_CTRL_HDR_TP
public static final NavigationProperty.Single<ContractMarketingDetail,ContractMarketingHeader> TO__P_R_A_CONTR_MKTG_COST_CTRL_HDR_TPUse with available request builders to apply the _PRAContrMktgCostCtrlHdrTP navigation property to query operations.
-
-
Constructor Details
-
ContractMarketingDetail
public ContractMarketingDetail() -
ContractMarketingDetail
public ContractMarketingDetail(@Nullable String pRAContract, @Nullable String measurementPoint, @Nullable String well, @Nullable String wellCompletion, @Nullable String pRAMaterial, @Nullable LocalDate effectiveFromDate, @Nullable LocalDate effectiveToDate, @Nullable String contractMarketingCostControl, @Nullable String marketingType, @Nullable BigDecimal deductionReimbursementPercent, @Nullable String deductionReimbursementType, @Nullable String pRAVolumeBasisCode, @Nullable BigDecimal deductionReimbursementRateAmt, @Nullable String currency, @Nullable BigDecimal pRADdctdFixedAmount, @Nullable Boolean amountIsRecoupedFlag, @Nullable String methodTableCode, @Nullable String companyCode, @Nullable String creditPlantVenture, @Nullable String creditPlantDivisionOfInterest, @Nullable String createdByUser, @Nullable OffsetDateTime pRACreationDateTime, @Nullable ContractMarketingHeader to_PRAContrMktgCostCtrlHdrTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ContractMarketingDetail>
-
setPRAContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PRAContract
- Parameters:
pRAContract- Contract Number
-
setMeasurementPoint
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MeasurementPoint
- Parameters:
measurementPoint- Measurement point number
-
setWell
(Key Field) Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: Well
- Parameters:
well- Well ID number
-
setWellCompletion
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: WellCompletion
- Parameters:
wellCompletion- Well Completion Number
-
setPRAMaterial
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: PRAMaterial
- Parameters:
pRAMaterial- Material Number
-
setEffectiveFromDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: EffectiveFromDate
- Parameters:
effectiveFromDate- Effective from date
-
setEffectiveToDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: EffectiveToDate
- Parameters:
effectiveToDate- Effective To Date
-
setContractMarketingCostControl
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ContractMarketingCostControl
- Parameters:
contractMarketingCostControl- Contract Marketing Cost Control
-
setMarketingType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: MarketingType
- Parameters:
marketingType- Marketing type code
-
setDeductionReimbursementPercent
Constraints: Not nullable, Precision: 5, Scale: 2Original property name from the Odata EDM: DeductionReimbursementPercent
- Parameters:
deductionReimbursementPercent- Deduction Reimbursement Percent
-
setDeductionReimbursementType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: DeductionReimbursementType
- Parameters:
deductionReimbursementType- Deduction Reimbursement Code
-
setPRAVolumeBasisCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PRAVolumeBasisCode
- Parameters:
pRAVolumeBasisCode- Volume Basis Code
-
setDeductionReimbursementRateAmt
Constraints: Not nullable, Precision: 11, Scale: 7Original property name from the Odata EDM: DeductionReimbursementRateAmt
- Parameters:
deductionReimbursementRateAmt- Deduction Reimbursement Rate Amount
-
setCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Currency
- Parameters:
currency- Currency Key
-
setPRADdctdFixedAmount
Constraints: Not nullable, Precision: 13, Scale: 0Original property name from the Odata EDM: PRADdctdFixedAmount
- Parameters:
pRADdctdFixedAmount- Fixed amount
-
setAmountIsRecoupedFlag
Constraints: Not nullableOriginal property name from the Odata EDM: AmountIsRecoupedFlag
- Parameters:
amountIsRecoupedFlag- Recoupment Flag
-
setMethodTableCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: MethodTableCode
- Parameters:
methodTableCode- Method Table Code
-
setCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setCreditPlantVenture
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: CreditPlantVenture
- Parameters:
creditPlantVenture- Credit Plant Venture
-
setCreditPlantDivisionOfInterest
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: CreditPlantDivisionOfInterest
- Parameters:
creditPlantDivisionOfInterest- Credit Plant Division of Interest
-
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<ContractMarketingDetail>
-
getKey
- Overrides:
getKeyin classVdmObject<ContractMarketingDetail>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ContractMarketingDetail>
-
fromMap
- Overrides:
fromMapin classVdmObject<ContractMarketingDetail>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ContractMarketingDetail>
-
getPRAContrMktgCostCtrlHdrTPIfPresent
@Nonnull public io.vavr.control.Option<ContractMarketingHeader> getPRAContrMktgCostCtrlHdrTPIfPresent()Retrieval of associated ContractMarketingHeader entity (one to one). This corresponds to the OData navigation property _PRAContrMktgCostCtrlHdrTP.If the navigation property for an entity ContractMarketingDetail 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 _PRAContrMktgCostCtrlHdrTP is already loaded, the
result will contain the ContractMarketingHeader entity. If not, an
Optionwith result stateemptyis returned.
-
setPRAContrMktgCostCtrlHdrTP
Overwrites the associated ContractMarketingHeader entity for the loaded navigation property _PRAContrMktgCostCtrlHdrTP.- Parameters:
value- New ContractMarketingHeader entity.
-
builder
-
getPRAContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PRAContract
- Returns:
- Contract Number
-
getMeasurementPoint
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MeasurementPoint
- Returns:
- Measurement point number
-
getWell
(Key Field) Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: Well
- Returns:
- Well ID number
-
getWellCompletion
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: WellCompletion
- Returns:
- Well Completion Number
-
getPRAMaterial
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: PRAMaterial
- Returns:
- Material Number
-
getEffectiveFromDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: EffectiveFromDate
- Returns:
- Effective from date
-
getEffectiveToDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: EffectiveToDate
- Returns:
- Effective To Date
-
getContractMarketingCostControl
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ContractMarketingCostControl
- Returns:
- Contract Marketing Cost Control
-
getMarketingType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: MarketingType
- Returns:
- Marketing type code
-
getDeductionReimbursementPercent
Constraints: Not nullable, Precision: 5, Scale: 2Original property name from the Odata EDM: DeductionReimbursementPercent
- Returns:
- Deduction Reimbursement Percent
-
getDeductionReimbursementType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: DeductionReimbursementType
- Returns:
- Deduction Reimbursement Code
-
getPRAVolumeBasisCode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PRAVolumeBasisCode
- Returns:
- Volume Basis Code
-
getDeductionReimbursementRateAmt
Constraints: Not nullable, Precision: 11, Scale: 7Original property name from the Odata EDM: DeductionReimbursementRateAmt
- Returns:
- Deduction Reimbursement Rate Amount
-
getCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Currency
- Returns:
- Currency Key
-
getPRADdctdFixedAmount
Constraints: Not nullable, Precision: 13, Scale: 0Original property name from the Odata EDM: PRADdctdFixedAmount
- Returns:
- Fixed amount
-
getAmountIsRecoupedFlag
Constraints: Not nullableOriginal property name from the Odata EDM: AmountIsRecoupedFlag
- Returns:
- Recoupment Flag
-
getMethodTableCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: MethodTableCode
- Returns:
- Method Table Code
-
getCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getCreditPlantVenture
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: CreditPlantVenture
- Returns:
- Credit Plant Venture
-
getCreditPlantDivisionOfInterest
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: CreditPlantDivisionOfInterest
- Returns:
- Credit Plant Division of Interest
-
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<ContractMarketingDetail>
-
equals
- Overrides:
equalsin classVdmEntity<ContractMarketingDetail>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ContractMarketingDetail>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ContractMarketingDetail>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ContractMarketingDetail>
-