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

public class CustomerTaxGrouping extends VdmEntity<CustomerTaxGrouping>
Customer Tax Grouping

Original entity name from the Odata EDM: A_CustomerTaxGroupingType

  • Field Details

    • ALL_FIELDS

      public static final CustomerTaxGroupingSelectable ALL_FIELDS
      Selector for all available fields of CustomerTaxGrouping.
    • CUSTOMER

      public static final CustomerTaxGroupingField<String> CUSTOMER
      Use with available fluent helpers to apply the Customer field to query operations.
    • CUSTOMER_TAX_GROUPING_CODE

      public static final CustomerTaxGroupingField<String> CUSTOMER_TAX_GROUPING_CODE
      Use with available fluent helpers to apply the CustomerTaxGroupingCode field to query operations.
    • CUST_TAX_GRP_EXEMPTION_CERTIFICATE

      public static final CustomerTaxGroupingField<String> CUST_TAX_GRP_EXEMPTION_CERTIFICATE
      Use with available fluent helpers to apply the CustTaxGrpExemptionCertificate field to query operations.
    • CUST_TAX_GROUP_EXEMPTION_RATE

      public static final CustomerTaxGroupingField<BigDecimal> CUST_TAX_GROUP_EXEMPTION_RATE
      Use with available fluent helpers to apply the CustTaxGroupExemptionRate field to query operations.
    • CUST_TAX_GROUP_EXEMPTION_START_DATE

      public static final CustomerTaxGroupingField<LocalDateTime> CUST_TAX_GROUP_EXEMPTION_START_DATE
      Use with available fluent helpers to apply the CustTaxGroupExemptionStartDate field to query operations.
    • CUST_TAX_GROUP_EXEMPTION_END_DATE

      public static final CustomerTaxGroupingField<LocalDateTime> CUST_TAX_GROUP_EXEMPTION_END_DATE
      Use with available fluent helpers to apply the CustTaxGroupExemptionEndDate field to query operations.
    • CUST_TAX_GROUP_SUBJECTED_START_DATE

      public static final CustomerTaxGroupingField<LocalDateTime> CUST_TAX_GROUP_SUBJECTED_START_DATE
      Use with available fluent helpers to apply the CustTaxGroupSubjectedStartDate field to query operations.
    • CUST_TAX_GROUP_SUBJECTED_END_DATE

      public static final CustomerTaxGroupingField<LocalDateTime> CUST_TAX_GROUP_SUBJECTED_END_DATE
      Use with available fluent helpers to apply the CustTaxGroupSubjectedEndDate field to query operations.
  • Constructor Details

    • CustomerTaxGrouping

      public CustomerTaxGrouping()
    • CustomerTaxGrouping

      public CustomerTaxGrouping(@Nullable String customer, @Nullable String customerTaxGroupingCode, @Nullable String custTaxGrpExemptionCertificate, @Nullable BigDecimal custTaxGroupExemptionRate, @Nullable LocalDateTime custTaxGroupExemptionStartDate, @Nullable LocalDateTime custTaxGroupExemptionEndDate, @Nullable LocalDateTime custTaxGroupSubjectedStartDate, @Nullable LocalDateTime custTaxGroupSubjectedEndDate)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: Customer

      Parameters:
      customer - Customer Number
    • setCustomerTaxGroupingCode

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

      Original property name from the Odata EDM: CustomerTaxGroupingCode

      Parameters:
      customerTaxGroupingCode - Category indicator for tax codes
    • setCustTaxGrpExemptionCertificate

      public void setCustTaxGrpExemptionCertificate(@Nullable String custTaxGrpExemptionCertificate)
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: CustTaxGrpExemptionCertificate

      Parameters:
      custTaxGrpExemptionCertificate - Number of exemption certificate
    • setCustTaxGroupExemptionRate

      public void setCustTaxGroupExemptionRate(@Nullable BigDecimal custTaxGroupExemptionRate)
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: CustTaxGroupExemptionRate

      Parameters:
      custTaxGroupExemptionRate - Exemption rate
    • setCustTaxGroupExemptionStartDate

      public void setCustTaxGroupExemptionStartDate(@Nullable LocalDateTime custTaxGroupExemptionStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CustTaxGroupExemptionStartDate

      Parameters:
      custTaxGroupExemptionStartDate - Start date of exemption
    • setCustTaxGroupExemptionEndDate

      public void setCustTaxGroupExemptionEndDate(@Nullable LocalDateTime custTaxGroupExemptionEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CustTaxGroupExemptionEndDate

      Parameters:
      custTaxGroupExemptionEndDate - End date of exemption
    • setCustTaxGroupSubjectedStartDate

      public void setCustTaxGroupSubjectedStartDate(@Nullable LocalDateTime custTaxGroupSubjectedStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CustTaxGroupSubjectedStartDate

      Parameters:
      custTaxGroupSubjectedStartDate - Subjected from
    • setCustTaxGroupSubjectedEndDate

      public void setCustTaxGroupSubjectedEndDate(@Nullable LocalDateTime custTaxGroupSubjectedEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CustTaxGroupSubjectedEndDate

      Parameters:
      custTaxGroupSubjectedEndDate - Subjected until
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> CustomerTaxGroupingField<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> CustomerTaxGroupingField<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<CustomerTaxGrouping>
    • setServicePathForFetch

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

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

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

      @Nonnull public static CustomerTaxGrouping.CustomerTaxGroupingBuilder builder()
    • getCustomer

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

      Original property name from the Odata EDM: Customer

      Returns:
      Customer Number
    • getCustomerTaxGroupingCode

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

      Original property name from the Odata EDM: CustomerTaxGroupingCode

      Returns:
      Category indicator for tax codes
    • getCustTaxGrpExemptionCertificate

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

      Original property name from the Odata EDM: CustTaxGrpExemptionCertificate

      Returns:
      Number of exemption certificate
    • getCustTaxGroupExemptionRate

      @Nullable public BigDecimal getCustTaxGroupExemptionRate()
      Constraints: Not nullable, Precision: 5, Scale: 2

      Original property name from the Odata EDM: CustTaxGroupExemptionRate

      Returns:
      Exemption rate
    • getCustTaxGroupExemptionStartDate

      @Nullable public LocalDateTime getCustTaxGroupExemptionStartDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CustTaxGroupExemptionStartDate

      Returns:
      Start date of exemption
    • getCustTaxGroupExemptionEndDate

      @Nullable public LocalDateTime getCustTaxGroupExemptionEndDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CustTaxGroupExemptionEndDate

      Returns:
      End date of exemption
    • getCustTaxGroupSubjectedStartDate

      @Nullable public LocalDateTime getCustTaxGroupSubjectedStartDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CustTaxGroupSubjectedStartDate

      Returns:
      Subjected from
    • getCustTaxGroupSubjectedEndDate

      @Nullable public LocalDateTime getCustTaxGroupSubjectedEndDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CustTaxGroupSubjectedEndDate

      Returns:
      Subjected until
    • toString

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

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

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

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