Class TaxDetail
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: TaxDetail_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of TaxDetail instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty.String<TaxDetail>static final SimpleProperty<TaxDetail>Selector for all available fields of TaxDetail.static final SimpleProperty.DateTime<TaxDetail>static final SimpleProperty.String<TaxDetail>static final SimpleProperty.String<TaxDetail>static final SimpleProperty.String<TaxDetail>static final SimpleProperty.DateTime<TaxDetail>static final SimpleProperty.NumericDecimal<TaxDetail>static final SimpleProperty.NumericDecimal<TaxDetail>static final SimpleProperty.String<TaxDetail>static final SimpleProperty.NumericDecimal<TaxDetail>static final SimpleProperty.NumericDecimal<TaxDetail>static final SimpleProperty.String<TaxDetail>static final SimpleProperty.String<TaxDetail>static final SimpleProperty.String<TaxDetail>static final NavigationProperty.Single<TaxDetail,RevenueAccountingHeader> Use with available request builders to apply the _PRAAccountingDocumentHeader navigation property to query operations.static final NavigationProperty.Single<TaxDetail,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
ConstructorsConstructorDescriptionTaxDetail(String companyCode, String pRAAccountingPeriod, String accountingDocument, String pRAAccountingDocumentLine, String severanceTaxType, BigDecimal ownerTaxAmount, BigDecimal grossTaxAmount, BigDecimal ownrTaxReimbmtAmount, BigDecimal grossTaxReimbmtAmt, String companyCodeCurrency, String createdByUser, OffsetDateTime creationDateTime, String lastChangedByUser, OffsetDateTime changedDateTime, RevenueAccountingHeader to_PRAAccountingDocumentHeader, RevenueAccountingItems to_PRAAcctgDocDetail) -
Method Summary
Modifier and TypeMethodDescriptionstatic TaxDetail.TaxDetailBuilderbuilder()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: Nullableprotected Stringprotected StringConstraints: Not nullable, Precision: 15, Scale: 0Constraints: Not nullable, Precision: 15, Scale: 0protected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 15, Scale: 0Constraints: 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).(Key Field) Constraints: Not nullable, Maximum length: 2getType()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: NullablevoidsetGrossTaxAmount(BigDecimal grossTaxAmount) Constraints: Not nullable, Precision: 15, Scale: 0voidsetGrossTaxReimbmtAmt(BigDecimal grossTaxReimbmtAmt) Constraints: Not nullable, Precision: 15, Scale: 0voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12voidsetOwnerTaxAmount(BigDecimal ownerTaxAmount) Constraints: Not nullable, Precision: 15, Scale: 0voidsetOwnrTaxReimbmtAmount(BigDecimal ownrTaxReimbmtAmount) 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.voidsetSeveranceTaxType(String severanceTaxType) (Key Field) Constraints: Not nullable, Maximum length: 2toString()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 TaxDetail. -
COMPANY_CODE
-
PRA_ACCOUNTING_PERIOD
-
ACCOUNTING_DOCUMENT
-
PRA_ACCOUNTING_DOCUMENT_LINE
-
SEVERANCE_TAX_TYPE
-
OWNER_TAX_AMOUNT
-
GROSS_TAX_AMOUNT
-
OWNR_TAX_REIMBMT_AMOUNT
-
GROSS_TAX_REIMBMT_AMT
-
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<TaxDetail,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<TaxDetail,RevenueAccountingItems> TO__P_R_A_ACCTG_DOC_DETAILUse with available request builders to apply the _PRAAcctgDocDetail navigation property to query operations.
-
-
Constructor Details
-
TaxDetail
public TaxDetail() -
TaxDetail
public TaxDetail(@Nullable String companyCode, @Nullable String pRAAccountingPeriod, @Nullable String accountingDocument, @Nullable String pRAAccountingDocumentLine, @Nullable String severanceTaxType, @Nullable BigDecimal ownerTaxAmount, @Nullable BigDecimal grossTaxAmount, @Nullable BigDecimal ownrTaxReimbmtAmount, @Nullable BigDecimal grossTaxReimbmtAmt, @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
-
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
-
setSeveranceTaxType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SeveranceTaxType
- Parameters:
severanceTaxType- Severance Tax Type
-
setOwnerTaxAmount
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: OwnerTaxAmount
- Parameters:
ownerTaxAmount- Net Tax Amount
-
setGrossTaxAmount
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: GrossTaxAmount
- Parameters:
grossTaxAmount- Gross Tax Amount
-
setOwnrTaxReimbmtAmount
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: OwnrTaxReimbmtAmount
- Parameters:
ownrTaxReimbmtAmount- Net Tax Reimbursement Amount
-
setGrossTaxReimbmtAmt
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: GrossTaxReimbmtAmt
- Parameters:
grossTaxReimbmtAmt- Gross Tax Reimbursement 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<TaxDetail>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<TaxDetail>
-
fromMap
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<TaxDetail>
-
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 TaxDetail 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 TaxDetail 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
-
getSeveranceTaxType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SeveranceTaxType
- Returns:
- Severance Tax Type
-
getOwnerTaxAmount
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: OwnerTaxAmount
- Returns:
- Net Tax Amount
-
getGrossTaxAmount
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: GrossTaxAmount
- Returns:
- Gross Tax Amount
-
getOwnrTaxReimbmtAmount
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: OwnrTaxReimbmtAmount
- Returns:
- Net Tax Reimbursement Amount
-
getGrossTaxReimbmtAmt
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: GrossTaxReimbmtAmt
- Returns:
- Gross Tax Reimbursement 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
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getOdataType
- Specified by:
getOdataTypein classVdmObject<TaxDetail>
-