java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<CATaxDeterminationCode>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.contractaccountingtaxdeterminationcode.CATaxDeterminationCode
All Implemented Interfaces:
VdmEntitySet

public class CATaxDeterminationCode extends VdmEntity<CATaxDeterminationCode> implements VdmEntitySet
Tax Determination Code

Original entity name from the Odata EDM: CATaxDeterminationCode_Type

  • Field Details

  • Constructor Details

    • CATaxDeterminationCode

      public CATaxDeterminationCode()
    • CATaxDeterminationCode

      public CATaxDeterminationCode(@Nullable String country, @Nullable String cATaxDeterminationCode, @Nullable LocalDate cATaxDetnCodeValidFromDate, @Nullable LocalDate cATaxDetnCodeValidToDate, @Nullable String taxCode, @Nullable String taxCalculationProcedure)
  • Method Details

    • getType

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

      public void setCountry(@Nullable String country)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Country

      Parameters:
      country - Country/Region Key
    • setCATaxDeterminationCode

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

      Original property name from the Odata EDM: CATaxDeterminationCode

      Parameters:
      cATaxDeterminationCode - Indicator: Tax Determination Code
    • setCATaxDetnCodeValidFromDate

      public void setCATaxDetnCodeValidFromDate(@Nullable LocalDate cATaxDetnCodeValidFromDate)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: CATaxDetnCodeValidFromDate

      Parameters:
      cATaxDetnCodeValidFromDate - Date from which time slice is valid
    • setCATaxDetnCodeValidToDate

      public void setCATaxDetnCodeValidToDate(@Nullable LocalDate cATaxDetnCodeValidToDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CATaxDetnCodeValidToDate

      Parameters:
      cATaxDetnCodeValidToDate - Date at Which a Time Slice Expires
    • setTaxCode

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

      Original property name from the Odata EDM: TaxCode

      Parameters:
      taxCode - Tax on Sales/Purchases Code
    • setTaxCalculationProcedure

      public void setTaxCalculationProcedure(@Nullable String taxCalculationProcedure)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: TaxCalculationProcedure

      Parameters:
      taxCalculationProcedure - Procedure (Pricing, Output Control, Acct. Det., Costing,...)
    • getEntityCollection

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<CATaxDeterminationCode>
    • toMapOfFields

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

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

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

      @Nonnull public static CATaxDeterminationCode.CATaxDeterminationCodeBuilder builder()
    • getCountry

      @Nullable public String getCountry()
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: Country

      Returns:
      Country/Region Key
    • getCATaxDeterminationCode

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

      Original property name from the Odata EDM: CATaxDeterminationCode

      Returns:
      Indicator: Tax Determination Code
    • getCATaxDetnCodeValidFromDate

      @Nullable public LocalDate getCATaxDetnCodeValidFromDate()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: CATaxDetnCodeValidFromDate

      Returns:
      Date from which time slice is valid
    • getCATaxDetnCodeValidToDate

      @Nullable public LocalDate getCATaxDetnCodeValidToDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CATaxDetnCodeValidToDate

      Returns:
      Date at Which a Time Slice Expires
    • getTaxCode

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

      Original property name from the Odata EDM: TaxCode

      Returns:
      Tax on Sales/Purchases Code
    • getTaxCalculationProcedure

      @Nullable public String getTaxCalculationProcedure()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: TaxCalculationProcedure

      Returns:
      Procedure (Pricing, Output Control, Acct. Det., Costing,...)
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<CATaxDeterminationCode>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<CATaxDeterminationCode>