java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<SupplierInvoiceTax>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierinvoiceintegration.SupplierInvoiceTax

public class SupplierInvoiceTax extends VdmEntity<SupplierInvoiceTax>
Tax Data

Original entity name from the Odata EDM: A_SupplierInvoiceTaxType

  • Field Details

    • ALL_FIELDS

      public static final SupplierInvoiceTaxSelectable ALL_FIELDS
      Selector for all available fields of SupplierInvoiceTax.
    • SUPPLIER_INVOICE

      public static final SupplierInvoiceTaxField<String> SUPPLIER_INVOICE
      Use with available fluent helpers to apply the SupplierInvoice field to query operations.
    • FISCAL_YEAR

      public static final SupplierInvoiceTaxField<String> FISCAL_YEAR
      Use with available fluent helpers to apply the FiscalYear field to query operations.
    • TAX_CODE

      public static final SupplierInvoiceTaxField<String> TAX_CODE
      Use with available fluent helpers to apply the TaxCode field to query operations.
    • SUPPLIER_INVOICE_TAX_COUNTER

      public static final SupplierInvoiceTaxField<String> SUPPLIER_INVOICE_TAX_COUNTER
      Use with available fluent helpers to apply the SupplierInvoiceTaxCounter field to query operations.
    • DOCUMENT_CURRENCY

      public static final SupplierInvoiceTaxField<String> DOCUMENT_CURRENCY
      Use with available fluent helpers to apply the DocumentCurrency field to query operations.
    • TAX_AMOUNT

      public static final SupplierInvoiceTaxField<BigDecimal> TAX_AMOUNT
      Use with available fluent helpers to apply the TaxAmount field to query operations.
    • TAX_BASE_AMOUNT_IN_TRANS_CRCY

      public static final SupplierInvoiceTaxField<BigDecimal> TAX_BASE_AMOUNT_IN_TRANS_CRCY
      Use with available fluent helpers to apply the TaxBaseAmountInTransCrcy field to query operations.
    • TAX_JURISDICTION

      public static final SupplierInvoiceTaxField<String> TAX_JURISDICTION
      Use with available fluent helpers to apply the TaxJurisdiction field to query operations.
    • TAX_COUNTRY

      public static final SupplierInvoiceTaxField<String> TAX_COUNTRY
      Use with available fluent helpers to apply the TaxCountry field to query operations.
  • Constructor Details

    • SupplierInvoiceTax

      public SupplierInvoiceTax()
    • 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 String taxCountry)
  • Method Details

    • getType

      @Nonnull public Class<SupplierInvoiceTax> getType()
      Specified by:
      getType in class VdmObject<SupplierInvoiceTax>
    • setSupplierInvoice

      public void setSupplierInvoice(@Nullable String supplierInvoice)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SupplierInvoice

      Parameters:
      supplierInvoice - Document Number of an Invoice Document
    • setFiscalYear

      public void setFiscalYear(@Nullable String fiscalYear)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FiscalYear

      Parameters:
      fiscalYear - Fiscal Year
    • setTaxCode

      public void setTaxCode(@Nullable String taxCode)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TaxCode

      Parameters:
      taxCode - Tax code
    • setSupplierInvoiceTaxCounter

      public void setSupplierInvoiceTaxCounter(@Nullable String supplierInvoiceTaxCounter)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SupplierInvoiceTaxCounter

      Parameters:
      supplierInvoiceTaxCounter - Document Item in Invoice Document
    • setDocumentCurrency

      public void setDocumentCurrency(@Nullable String documentCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: DocumentCurrency

      Parameters:
      documentCurrency - Currency Key
    • setTaxAmount

      public void setTaxAmount(@Nullable BigDecimal taxAmount)
      Constraints: Not nullable, Precision: 14, Scale: 3

      Original property name from the Odata EDM: TaxAmount

      Parameters:
      taxAmount - Tax Amount in Document Currency with +/- Sign
    • setTaxBaseAmountInTransCrcy

      public void setTaxBaseAmountInTransCrcy(@Nullable BigDecimal taxBaseAmountInTransCrcy)
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: TaxBaseAmountInTransCrcy

      Parameters:
      taxBaseAmountInTransCrcy - Tax Base Amount in Document Currency
    • setTaxJurisdiction

      public void setTaxJurisdiction(@Nullable String taxJurisdiction)
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: TaxJurisdiction

      Parameters:
      taxJurisdiction - Tax Jurisdiction
    • setTaxCountry

      public void setTaxCountry(@Nullable String taxCountry)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TaxCountry

      Parameters:
      taxCountry - Tax Reporting Country/Region
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<SupplierInvoiceTax>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<SupplierInvoiceTax>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<SupplierInvoiceTax>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<SupplierInvoiceTax>
    • field

      @Nonnull public static <T> SupplierInvoiceTaxField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      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.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> SupplierInvoiceTaxField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<SupplierInvoiceTax>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<SupplierInvoiceTax>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<SupplierInvoiceTax>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<SupplierInvoiceTax>
    • builder

      @Nonnull public static SupplierInvoiceTax.SupplierInvoiceTaxBuilder builder()
    • getSupplierInvoice

      @Nullable public String getSupplierInvoice()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SupplierInvoice

      Returns:
      Document Number of an Invoice Document
    • getFiscalYear

      @Nullable public String getFiscalYear()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FiscalYear

      Returns:
      Fiscal Year
    • getTaxCode

      @Nullable public String getTaxCode()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TaxCode

      Returns:
      Tax code
    • getSupplierInvoiceTaxCounter

      @Nullable public String getSupplierInvoiceTaxCounter()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SupplierInvoiceTaxCounter

      Returns:
      Document Item in Invoice Document
    • getDocumentCurrency

      @Nullable public String getDocumentCurrency()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: DocumentCurrency

      Returns:
      Currency Key
    • getTaxAmount

      @Nullable public BigDecimal getTaxAmount()
      Constraints: Not nullable, Precision: 14, Scale: 3

      Original property name from the Odata EDM: TaxAmount

      Returns:
      Tax Amount in Document Currency with +/- Sign
    • getTaxBaseAmountInTransCrcy

      @Nullable public BigDecimal getTaxBaseAmountInTransCrcy()
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: TaxBaseAmountInTransCrcy

      Returns:
      Tax Base Amount in Document Currency
    • getTaxJurisdiction

      @Nullable public String getTaxJurisdiction()
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: TaxJurisdiction

      Returns:
      Tax Jurisdiction
    • getTaxCountry

      @Nullable public String getTaxCountry()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TaxCountry

      Returns:
      Tax Reporting Country/Region
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<SupplierInvoiceTax>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<SupplierInvoiceTax>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<SupplierInvoiceTax>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<SupplierInvoiceTax>