public class SupplierInvoiceTax extends VdmEntity<SupplierInvoiceTax>
Original entity name from the Odata EDM: A_SupplierInvoiceTaxType
Modifier and Type | Class and Description |
---|---|
static class |
SupplierInvoiceTax.SupplierInvoiceTaxBuilder |
Modifier and Type | Field and Description |
---|---|
static SupplierInvoiceTaxSelectable |
ALL_FIELDS
Selector for all available fields of SupplierInvoiceTax.
|
static SupplierInvoiceTaxField<String> |
DOCUMENT_CURRENCY
Use with available fluent helpers to apply the DocumentCurrency field to query operations.
|
static SupplierInvoiceTaxField<String> |
FISCAL_YEAR
Use with available fluent helpers to apply the FiscalYear field to query operations.
|
static SupplierInvoiceTaxField<String> |
SUPPLIER_INVOICE
Use with available fluent helpers to apply the SupplierInvoice field to query operations.
|
static SupplierInvoiceTaxField<String> |
SUPPLIER_INVOICE_TAX_COUNTER
Use with available fluent helpers to apply the SupplierInvoiceTaxCounter field to query operations.
|
static SupplierInvoiceTaxField<BigDecimal> |
TAX_AMOUNT
Use with available fluent helpers to apply the TaxAmount field to query operations.
|
static SupplierInvoiceTaxField<BigDecimal> |
TAX_BASE_AMOUNT_IN_TRANS_CRCY
Use with available fluent helpers to apply the TaxBaseAmountInTransCrcy field to query operations.
|
static SupplierInvoiceTaxField<String> |
TAX_CODE
Use with available fluent helpers to apply the TaxCode field to query operations.
|
static SupplierInvoiceTaxField<String> |
TAX_JURISDICTION
Use with available fluent helpers to apply the TaxJurisdiction field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
SupplierInvoiceTax() |
SupplierInvoiceTax(String supplierInvoice,
String fiscalYear,
String taxCode,
String supplierInvoiceTaxCounter,
String documentCurrency,
BigDecimal taxAmount,
BigDecimal taxBaseAmountInTransCrcy,
String taxJurisdiction,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static SupplierInvoiceTax.SupplierInvoiceTaxBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> SupplierInvoiceTaxField<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) |
String |
getDocumentCurrency()
Constraints: Not nullable, Maximum length: 5 Original property name from the Odata EDM: DocumentCurrency
|
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
String |
getFiscalYear()
(Key Field) Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: FiscalYear
|
protected Map<String,Object> |
getKey() |
String |
getSupplierInvoice()
(Key Field) Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: SupplierInvoiceThe invoice document number is unique in every company code and fiscal year.
|
String |
getSupplierInvoiceTaxCounter()
(Key Field) Constraints: Not nullable, Maximum length: 6 Original property name from the Odata EDM: SupplierInvoiceTaxCounterThe system places the line selected at the top of the invoice item display.
|
BigDecimal |
getTaxAmount()
Constraints: Not nullable, Precision: 14, Scale: 3 Original property name from the Odata EDM: TaxAmount
|
BigDecimal |
getTaxBaseAmountInTransCrcy()
Constraints: Not nullable, Precision: 16, Scale: 3 Original property name from the Odata EDM: TaxBaseAmountInTransCrcy
|
String |
getTaxCode()
(Key Field) Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: TaxCode
|
String |
getTaxJurisdiction()
Constraints: Not nullable, Maximum length: 15 Original property name from the Odata EDM: TaxJurisdiction
|
Class<SupplierInvoiceTax> |
getType() |
int |
hashCode() |
void |
setDocumentCurrency(String documentCurrency)
Constraints: Not nullable, Maximum length: 5 Original property name from the Odata EDM: DocumentCurrency
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setFiscalYear(String fiscalYear)
(Key Field) Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: FiscalYear
|
void |
setSupplierInvoice(String supplierInvoice)
(Key Field) Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: SupplierInvoiceThe invoice document number is unique in every company code and fiscal year.
|
void |
setSupplierInvoiceTaxCounter(String supplierInvoiceTaxCounter)
(Key Field) Constraints: Not nullable, Maximum length: 6 Original property name from the Odata EDM: SupplierInvoiceTaxCounterThe system places the line selected at the top of the invoice item display.
|
void |
setTaxAmount(BigDecimal taxAmount)
Constraints: Not nullable, Precision: 14, Scale: 3 Original property name from the Odata EDM: TaxAmount
|
void |
setTaxBaseAmountInTransCrcy(BigDecimal taxBaseAmountInTransCrcy)
Constraints: Not nullable, Precision: 16, Scale: 3 Original property name from the Odata EDM: TaxBaseAmountInTransCrcy
|
void |
setTaxCode(String taxCode)
(Key Field) Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: TaxCode
|
void |
setTaxJurisdiction(String taxJurisdiction)
Constraints: Not nullable, Maximum length: 15 Original property name from the Odata EDM: TaxJurisdiction
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setServicePathForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final SupplierInvoiceTaxSelectable ALL_FIELDS
public static final SupplierInvoiceTaxField<String> SUPPLIER_INVOICE
public static final SupplierInvoiceTaxField<String> FISCAL_YEAR
public static final SupplierInvoiceTaxField<String> TAX_CODE
public static final SupplierInvoiceTaxField<String> SUPPLIER_INVOICE_TAX_COUNTER
public static final SupplierInvoiceTaxField<String> DOCUMENT_CURRENCY
public static final SupplierInvoiceTaxField<BigDecimal> TAX_AMOUNT
public static final SupplierInvoiceTaxField<BigDecimal> TAX_BASE_AMOUNT_IN_TRANS_CRCY
public static final SupplierInvoiceTaxField<String> TAX_JURISDICTION
public SupplierInvoiceTax()
public SupplierInvoiceTax(@Nullable String supplierInvoice, @Nullable String fiscalYear, @Nullable String taxCode, @Nullable String supplierInvoiceTaxCounter, @Nullable String documentCurrency, @Nullable BigDecimal taxAmount, @Nullable BigDecimal taxBaseAmountInTransCrcy, @Nullable String taxJurisdiction, @Nullable ErpConfigContext erpConfigContext)
@Nonnull public Class<SupplierInvoiceTax> getType()
getType
in class VdmObject<SupplierInvoiceTax>
public void setSupplierInvoice(@Nullable String supplierInvoice)
Original property name from the Odata EDM: SupplierInvoice
The invoice document number is unique in every company code and fiscal year. Depending on the system configuration, the invoice document number can either be entered manually or be assigned internally by the system from a predefined number range.
supplierInvoice
- Number which uniquely identifies an invoice document.public void setFiscalYear(@Nullable String fiscalYear)
Original property name from the Odata EDM: FiscalYear
fiscalYear
- Period, 12 months as a rule, for which the company is to create its inventory and balance sheet. The fiscal year can be the same as the calendar year, but does not have to be.public void setTaxCode(@Nullable String taxCode)
Original property name from the Odata EDM: TaxCode
taxCode
- Tax codepublic void setSupplierInvoiceTaxCounter(@Nullable String supplierInvoiceTaxCounter)
Original property name from the Odata EDM: SupplierInvoiceTaxCounter
The system places the line selected at the top of the invoice item display.
supplierInvoiceTaxCounter
- By entering the number of an item in an invoice document, you can go straight to the line that you want to process.public void setDocumentCurrency(@Nullable String documentCurrency)
Original property name from the Odata EDM: DocumentCurrency
documentCurrency
- Currency key for amounts in the system.public void setTaxAmount(@Nullable BigDecimal taxAmount)
Original property name from the Odata EDM: TaxAmount
taxAmount
- Tax amount with +/- sign that is calculated from the tax code.public void setTaxBaseAmountInTransCrcy(@Nullable BigDecimal taxBaseAmountInTransCrcy)
Original property name from the Odata EDM: TaxBaseAmountInTransCrcy
taxBaseAmountInTransCrcy
- Amount from which the tax amount is calculated by means of the tax rate.public void setTaxJurisdiction(@Nullable String taxJurisdiction)
Original property name from the Odata EDM: TaxJurisdiction
taxJurisdiction
- The tax jurisdiction is used for determining the tax rates in the USA. It defines to which tax authorities you must pay your taxes. It is always the city to which the goods are supplied.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<SupplierInvoiceTax>
protected Map<String,Object> getKey()
getKey
in class VdmObject<SupplierInvoiceTax>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SupplierInvoiceTax>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SupplierInvoiceTax>
@Nonnull public static <T> SupplierInvoiceTaxField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
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> SupplierInvoiceTaxField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.public static SupplierInvoiceTax.SupplierInvoiceTaxBuilder builder()
@Nullable public String getSupplierInvoice()
Original property name from the Odata EDM: SupplierInvoice
The invoice document number is unique in every company code and fiscal year. Depending on the system configuration, the invoice document number can either be entered manually or be assigned internally by the system from a predefined number range.
@Nullable public String getFiscalYear()
Original property name from the Odata EDM: FiscalYear
@Nullable public String getTaxCode()
Original property name from the Odata EDM: TaxCode
@Nullable public String getSupplierInvoiceTaxCounter()
Original property name from the Odata EDM: SupplierInvoiceTaxCounter
The system places the line selected at the top of the invoice item display.
@Nullable public String getDocumentCurrency()
Original property name from the Odata EDM: DocumentCurrency
@Nullable public BigDecimal getTaxAmount()
Original property name from the Odata EDM: TaxAmount
@Nullable public BigDecimal getTaxBaseAmountInTransCrcy()
Original property name from the Odata EDM: TaxBaseAmountInTransCrcy
@Nullable public String getTaxJurisdiction()
Original property name from the Odata EDM: TaxJurisdiction
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<SupplierInvoiceTax>
erpConfigContext
- public String toString()
toString
in class VdmObject<SupplierInvoiceTax>
public boolean equals(Object o)
equals
in class VdmObject<SupplierInvoiceTax>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<SupplierInvoiceTax>
public int hashCode()
hashCode
in class VdmObject<SupplierInvoiceTax>
Copyright © 2018 SAP SE. All rights reserved.