Class DeductDetail
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: DeductDetail_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of DeductDetail instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty.String<DeductDetail>static final SimpleProperty<DeductDetail>Selector for all available fields of DeductDetail.static final SimpleProperty.DateTime<DeductDetail>static final SimpleProperty.String<DeductDetail>static final SimpleProperty.String<DeductDetail>static final SimpleProperty.String<DeductDetail>static final SimpleProperty.DateTime<DeductDetail>static final SimpleProperty.String<DeductDetail>static final SimpleProperty.String<DeductDetail>static final SimpleProperty.NumericDecimal<DeductDetail>static final SimpleProperty.String<DeductDetail>static final SimpleProperty.String<DeductDetail>static final NavigationProperty.Single<DeductDetail,RevenueAccountingHeader> Use with available request builders to apply the _PRAAccountingDocumentHeader navigation property to query operations.static final NavigationProperty.Single<DeductDetail,RevenueAccountingItems> Use with available request builders to apply the _PRAAcctgDocDetail 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
ConstructorsConstructorDescriptionDeductDetail(String companyCode, String pRAAccountingPeriod, String accountingDocument, String pRAAccountingDocumentLine, String deductionType, BigDecimal otherDeductionAmount, String companyCodeCurrency, String createdByUser, OffsetDateTime creationDateTime, String lastChangedByUser, OffsetDateTime changedDateTime, RevenueAccountingHeader to_PRAAccountingDocumentHeader, RevenueAccountingItems to_PRAAcctgDocDetail) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Nullable(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 12Constraints: Nullable(Key Field) Constraints: Not nullable, Maximum length: 2protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 15, Scale: 0io.vavr.control.Option<RevenueAccountingHeader>Retrieval of associated RevenueAccountingHeader entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 8(Key Field) Constraints: Not nullable, Maximum length: 6io.vavr.control.Option<RevenueAccountingItems>Retrieval of associated RevenueAccountingItems entity (one to one).getType()inthashCode()voidsetAccountingDocument(String accountingDocument) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetChangedDateTime(OffsetDateTime changedDateTime) Constraints: NullablevoidsetCompanyCode(String companyCode) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetCompanyCodeCurrency(String companyCodeCurrency) Constraints: Not nullable, Maximum length: 3voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreationDateTime(OffsetDateTime creationDateTime) Constraints: NullablevoidsetDeductionType(String deductionType) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12voidsetOtherDeductionAmount(BigDecimal otherDeductionAmount) Constraints: Not nullable, Precision: 15, Scale: 0voidOverwrites the associated RevenueAccountingHeader entity for the loaded navigation property _PRAAccountingDocumentHeader.voidsetPRAAccountingDocumentLine(String pRAAccountingDocumentLine) (Key Field) Constraints: Not nullable, Maximum length: 8voidsetPRAAccountingPeriod(String pRAAccountingPeriod) (Key Field) Constraints: Not nullable, Maximum length: 6voidOverwrites the associated RevenueAccountingItems entity for the loaded navigation property _PRAAcctgDocDetail.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 DeductDetail. -
COMPANY_CODE
-
PRA_ACCOUNTING_PERIOD
-
ACCOUNTING_DOCUMENT
-
PRA_ACCOUNTING_DOCUMENT_LINE
-
DEDUCTION_TYPE
-
OTHER_DEDUCTION_AMOUNT
-
COMPANY_CODE_CURRENCY
-
CREATED_BY_USER
-
CREATION_DATE_TIME
-
LAST_CHANGED_BY_USER
-
CHANGED_DATE_TIME
-
TO__P_R_A_ACCOUNTING_DOCUMENT_HEADER
public static final NavigationProperty.Single<DeductDetail,RevenueAccountingHeader> TO__P_R_A_ACCOUNTING_DOCUMENT_HEADERUse with available request builders to apply the _PRAAccountingDocumentHeader navigation property to query operations. -
TO__P_R_A_ACCTG_DOC_DETAIL
public static final NavigationProperty.Single<DeductDetail,RevenueAccountingItems> TO__P_R_A_ACCTG_DOC_DETAILUse with available request builders to apply the _PRAAcctgDocDetail navigation property to query operations.
-
-
Constructor Details
-
DeductDetail
public DeductDetail() -
DeductDetail
public DeductDetail(@Nullable String companyCode, @Nullable String pRAAccountingPeriod, @Nullable String accountingDocument, @Nullable String pRAAccountingDocumentLine, @Nullable String deductionType, @Nullable BigDecimal otherDeductionAmount, @Nullable String companyCodeCurrency, @Nullable String createdByUser, @Nullable OffsetDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable OffsetDateTime changedDateTime, @Nullable RevenueAccountingHeader to_PRAAccountingDocumentHeader, @Nullable RevenueAccountingItems to_PRAAcctgDocDetail)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<DeductDetail>
-
setCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setPRAAccountingPeriod
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: PRAAccountingPeriod
- Parameters:
pRAAccountingPeriod- PRA Accounting Period
-
setAccountingDocument
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AccountingDocument
- Parameters:
accountingDocument- Revenue Accounting Document Number
-
setPRAAccountingDocumentLine
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: PRAAccountingDocumentLine
- Parameters:
pRAAccountingDocumentLine- Accounting Document Line Number
-
setDeductionType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DeductionType
- Parameters:
deductionType- Other Deduction Type Codes
-
setOtherDeductionAmount
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: OtherDeductionAmount
- Parameters:
otherDeductionAmount- Other deducts amount
-
setCompanyCodeCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CompanyCodeCurrency
- Parameters:
companyCodeCurrency- Currency Key
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- Created By
-
setCreationDateTime
Constraints: NullableOriginal property name from the Odata EDM: CreationDateTime
- Parameters:
creationDateTime- Created On Timestamp
-
setLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Parameters:
lastChangedByUser- Changed By
-
setChangedDateTime
Constraints: NullableOriginal property name from the Odata EDM: ChangedDateTime
- Parameters:
changedDateTime- Changed On Timestamp
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<DeductDetail>
-
getKey
- Overrides:
getKeyin classVdmObject<DeductDetail>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<DeductDetail>
-
fromMap
- Overrides:
fromMapin classVdmObject<DeductDetail>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<DeductDetail>
-
getPRAAccountingDocumentHeaderIfPresent
@Nonnull public io.vavr.control.Option<RevenueAccountingHeader> getPRAAccountingDocumentHeaderIfPresent()Retrieval of associated RevenueAccountingHeader entity (one to one). This corresponds to the OData navigation property _PRAAccountingDocumentHeader.If the navigation property for an entity DeductDetail 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 _PRAAccountingDocumentHeader is already loaded, the
result will contain the RevenueAccountingHeader entity. If not, an
Optionwith result stateemptyis returned.
-
setPRAAccountingDocumentHeader
Overwrites the associated RevenueAccountingHeader entity for the loaded navigation property _PRAAccountingDocumentHeader.- Parameters:
value- New RevenueAccountingHeader entity.
-
getPRAAcctgDocDetailIfPresent
Retrieval of associated RevenueAccountingItems entity (one to one). This corresponds to the OData navigation property _PRAAcctgDocDetail.If the navigation property for an entity DeductDetail 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 _PRAAcctgDocDetail is already loaded, the result will
contain the RevenueAccountingItems entity. If not, an
Optionwith result stateemptyis returned.
-
setPRAAcctgDocDetail
Overwrites the associated RevenueAccountingItems entity for the loaded navigation property _PRAAcctgDocDetail.- Parameters:
value- New RevenueAccountingItems entity.
-
builder
-
getCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getPRAAccountingPeriod
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: PRAAccountingPeriod
- Returns:
- PRA Accounting Period
-
getAccountingDocument
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AccountingDocument
- Returns:
- Revenue Accounting Document Number
-
getPRAAccountingDocumentLine
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: PRAAccountingDocumentLine
- Returns:
- Accounting Document Line Number
-
getDeductionType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DeductionType
- Returns:
- Other Deduction Type Codes
-
getOtherDeductionAmount
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: OtherDeductionAmount
- Returns:
- Other deducts amount
-
getCompanyCodeCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CompanyCodeCurrency
- Returns:
- Currency Key
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- Created By
-
getCreationDateTime
Constraints: NullableOriginal property name from the Odata EDM: CreationDateTime
- Returns:
- Created On Timestamp
-
getLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
- Changed By
-
getChangedDateTime
Constraints: NullableOriginal property name from the Odata EDM: ChangedDateTime
- Returns:
- Changed On Timestamp
-
toString
- Overrides:
toStringin classVdmObject<DeductDetail>
-
equals
- Overrides:
equalsin classVdmEntity<DeductDetail>
-
canEqual
- Overrides:
canEqualin classVdmEntity<DeductDetail>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<DeductDetail>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<DeductDetail>
-