public class SuplrInvcHeaderWhldgTax extends VdmEntity<SuplrInvcHeaderWhldgTax>
Original entity name from the Odata EDM: A_SuplrInvcHeaderWhldgTaxType
Modifier and Type | Class and Description |
---|---|
static class |
SuplrInvcHeaderWhldgTax.SuplrInvcHeaderWhldgTaxBuilder |
Modifier and Type | Field and Description |
---|---|
static SuplrInvcHeaderWhldgTaxSelectable |
ALL_FIELDS
Selector for all available fields of SuplrInvcHeaderWhldgTax.
|
static SuplrInvcHeaderWhldgTaxField<String> |
DOCUMENT_CURRENCY
Use with available fluent helpers to apply the DocumentCurrency field to query operations.
|
static SuplrInvcHeaderWhldgTaxField<String> |
FISCAL_YEAR
Use with available fluent helpers to apply the FiscalYear field to query operations.
|
static SuplrInvcHeaderWhldgTaxField<BigDecimal> |
MANUALLY_ENTERED_WHLDG_TAX_AMOUNT
Use with available fluent helpers to apply the ManuallyEnteredWhldgTaxAmount field to query operations.
|
static SuplrInvcHeaderWhldgTaxField<String> |
SUPPLIER_INVOICE
Use with available fluent helpers to apply the SupplierInvoice field to query operations.
|
static SuplrInvcHeaderWhldgTaxField<BigDecimal> |
WITHHOLDING_TAX_BASE_AMOUNT
Use with available fluent helpers to apply the WithholdingTaxBaseAmount field to query operations.
|
static SuplrInvcHeaderWhldgTaxField<String> |
WITHHOLDING_TAX_CODE
Use with available fluent helpers to apply the WithholdingTaxCode field to query operations.
|
static SuplrInvcHeaderWhldgTaxField<String> |
WITHHOLDING_TAX_TYPE
Use with available fluent helpers to apply the WithholdingTaxType field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
SuplrInvcHeaderWhldgTax() |
SuplrInvcHeaderWhldgTax(String supplierInvoice,
String fiscalYear,
String withholdingTaxType,
String documentCurrency,
String withholdingTaxCode,
BigDecimal withholdingTaxBaseAmount,
BigDecimal manuallyEnteredWhldgTaxAmount) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static SuplrInvcHeaderWhldgTax.SuplrInvcHeaderWhldgTaxBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> SuplrInvcHeaderWhldgTaxField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
String |
getDocumentCurrency()
Constraints: Not nullable, Maximum length: 5
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getFiscalYear()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
protected Map<String,Object> |
getKey() |
BigDecimal |
getManuallyEnteredWhldgTaxAmount()
Constraints: Not nullable, Precision: 16, Scale: 3
|
String |
getSupplierInvoice()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
Class<SuplrInvcHeaderWhldgTax> |
getType() |
BigDecimal |
getWithholdingTaxBaseAmount()
Constraints: Not nullable, Precision: 16, Scale: 3
|
String |
getWithholdingTaxCode()
Constraints: Not nullable, Maximum length: 2
|
String |
getWithholdingTaxType()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
int |
hashCode() |
void |
setDocumentCurrency(String documentCurrency)
Constraints: Not nullable, Maximum length: 5
|
void |
setFiscalYear(String fiscalYear)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setManuallyEnteredWhldgTaxAmount(BigDecimal manuallyEnteredWhldgTaxAmount)
Constraints: Not nullable, Precision: 16, Scale: 3
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSupplierInvoice(String supplierInvoice)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setWithholdingTaxBaseAmount(BigDecimal withholdingTaxBaseAmount)
Constraints: Not nullable, Precision: 16, Scale: 3
|
void |
setWithholdingTaxCode(String withholdingTaxCode)
Constraints: Not nullable, Maximum length: 2
|
void |
setWithholdingTaxType(String withholdingTaxType)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final SuplrInvcHeaderWhldgTaxSelectable ALL_FIELDS
public static final SuplrInvcHeaderWhldgTaxField<String> SUPPLIER_INVOICE
public static final SuplrInvcHeaderWhldgTaxField<String> FISCAL_YEAR
public static final SuplrInvcHeaderWhldgTaxField<String> WITHHOLDING_TAX_TYPE
public static final SuplrInvcHeaderWhldgTaxField<String> DOCUMENT_CURRENCY
public static final SuplrInvcHeaderWhldgTaxField<String> WITHHOLDING_TAX_CODE
public static final SuplrInvcHeaderWhldgTaxField<BigDecimal> WITHHOLDING_TAX_BASE_AMOUNT
public static final SuplrInvcHeaderWhldgTaxField<BigDecimal> MANUALLY_ENTERED_WHLDG_TAX_AMOUNT
public SuplrInvcHeaderWhldgTax()
public SuplrInvcHeaderWhldgTax(@Nullable String supplierInvoice, @Nullable String fiscalYear, @Nullable String withholdingTaxType, @Nullable String documentCurrency, @Nullable String withholdingTaxCode, @Nullable BigDecimal withholdingTaxBaseAmount, @Nullable BigDecimal manuallyEnteredWhldgTaxAmount)
@Nonnull public Class<SuplrInvcHeaderWhldgTax> getType()
getType
in class VdmObject<SuplrInvcHeaderWhldgTax>
public void setSupplierInvoice(@Nullable String supplierInvoice)
Original property name from the Odata EDM: SupplierInvoice
supplierInvoice
- Document Number of an Invoice Documentpublic void setFiscalYear(@Nullable String fiscalYear)
Original property name from the Odata EDM: FiscalYear
fiscalYear
- Fiscal Yearpublic void setWithholdingTaxType(@Nullable String withholdingTaxType)
Original property name from the Odata EDM: WithholdingTaxType
withholdingTaxType
- Indicator for Withholding Tax Typepublic void setDocumentCurrency(@Nullable String documentCurrency)
Original property name from the Odata EDM: DocumentCurrency
documentCurrency
- Currency Keypublic void setWithholdingTaxCode(@Nullable String withholdingTaxCode)
Original property name from the Odata EDM: WithholdingTaxCode
withholdingTaxCode
- Withholding Tax Codepublic void setWithholdingTaxBaseAmount(@Nullable BigDecimal withholdingTaxBaseAmount)
Original property name from the Odata EDM: WithholdingTaxBaseAmount
withholdingTaxBaseAmount
- Withholding Tax Base Amount in Document Currencypublic void setManuallyEnteredWhldgTaxAmount(@Nullable BigDecimal manuallyEnteredWhldgTaxAmount)
Original property name from the Odata EDM: ManuallyEnteredWhldgTaxAmount
manuallyEnteredWhldgTaxAmount
- Withholding Tax Amount Entered Manually in Document Currencyprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<SuplrInvcHeaderWhldgTax>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<SuplrInvcHeaderWhldgTax>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SuplrInvcHeaderWhldgTax>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SuplrInvcHeaderWhldgTax>
@Nonnull public static <T> SuplrInvcHeaderWhldgTaxField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.fieldName
- The name of the extension field as returned by the OData service.fieldType
- The Java type to use for the extension field when performing value comparisons.@Nonnull public static <T,DomainT> SuplrInvcHeaderWhldgTaxField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<SuplrInvcHeaderWhldgTax>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<SuplrInvcHeaderWhldgTax>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<SuplrInvcHeaderWhldgTax>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<SuplrInvcHeaderWhldgTax>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static SuplrInvcHeaderWhldgTax.SuplrInvcHeaderWhldgTaxBuilder builder()
@Nullable public String getSupplierInvoice()
Original property name from the Odata EDM: SupplierInvoice
@Nullable public String getFiscalYear()
Original property name from the Odata EDM: FiscalYear
@Nullable public String getWithholdingTaxType()
Original property name from the Odata EDM: WithholdingTaxType
@Nullable public String getDocumentCurrency()
Original property name from the Odata EDM: DocumentCurrency
@Nullable public String getWithholdingTaxCode()
Original property name from the Odata EDM: WithholdingTaxCode
@Nullable public BigDecimal getWithholdingTaxBaseAmount()
Original property name from the Odata EDM: WithholdingTaxBaseAmount
@Nullable public BigDecimal getManuallyEnteredWhldgTaxAmount()
Original property name from the Odata EDM: ManuallyEnteredWhldgTaxAmount
@Nonnull public String toString()
toString
in class VdmObject<SuplrInvcHeaderWhldgTax>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<SuplrInvcHeaderWhldgTax>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<SuplrInvcHeaderWhldgTax>
public int hashCode()
hashCode
in class VdmObject<SuplrInvcHeaderWhldgTax>
Copyright © 2021 SAP SE. All rights reserved.