public class CustomerTaxGrouping extends VdmEntity<CustomerTaxGrouping>
Original entity name from the Odata EDM: A_CustomerTaxGroupingType
Modifier and Type | Class and Description |
---|---|
static class |
CustomerTaxGrouping.CustomerTaxGroupingBuilder |
Modifier and Type | Field and Description |
---|---|
static CustomerTaxGroupingSelectable |
ALL_FIELDS
Selector for all available fields of CustomerTaxGrouping.
|
static CustomerTaxGroupingField<LocalDateTime> |
CUST_TAX_GROUP_EXEMPTION_END_DATE
Use with available fluent helpers to apply the CustTaxGroupExemptionEndDate field to query operations.
|
static CustomerTaxGroupingField<BigDecimal> |
CUST_TAX_GROUP_EXEMPTION_RATE
Use with available fluent helpers to apply the CustTaxGroupExemptionRate field to query operations.
|
static CustomerTaxGroupingField<LocalDateTime> |
CUST_TAX_GROUP_EXEMPTION_START_DATE
Use with available fluent helpers to apply the CustTaxGroupExemptionStartDate field to query operations.
|
static CustomerTaxGroupingField<LocalDateTime> |
CUST_TAX_GROUP_SUBJECTED_END_DATE
Use with available fluent helpers to apply the CustTaxGroupSubjectedEndDate field to query operations.
|
static CustomerTaxGroupingField<LocalDateTime> |
CUST_TAX_GROUP_SUBJECTED_START_DATE
Use with available fluent helpers to apply the CustTaxGroupSubjectedStartDate field to query operations.
|
static CustomerTaxGroupingField<String> |
CUST_TAX_GRP_EXEMPTION_CERTIFICATE
Use with available fluent helpers to apply the CustTaxGrpExemptionCertificate field to query operations.
|
static CustomerTaxGroupingField<String> |
CUSTOMER
Use with available fluent helpers to apply the Customer field to query operations.
|
static CustomerTaxGroupingField<String> |
CUSTOMER_TAX_GROUPING_CODE
Use with available fluent helpers to apply the CustomerTaxGroupingCode field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
CustomerTaxGrouping() |
CustomerTaxGrouping(String customer,
String customerTaxGroupingCode,
String custTaxGrpExemptionCertificate,
BigDecimal custTaxGroupExemptionRate,
LocalDateTime custTaxGroupExemptionStartDate,
LocalDateTime custTaxGroupExemptionEndDate,
LocalDateTime custTaxGroupSubjectedStartDate,
LocalDateTime custTaxGroupSubjectedEndDate) |
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 CustomerTaxGrouping.CustomerTaxGroupingBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> CustomerTaxGroupingField<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 |
getCustomer()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getCustomerTaxGroupingCode()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
LocalDateTime |
getCustTaxGroupExemptionEndDate()
Constraints: Not nullable, Precision: 0
|
BigDecimal |
getCustTaxGroupExemptionRate()
Constraints: Not nullable, Precision: 5, Scale: 2
|
LocalDateTime |
getCustTaxGroupExemptionStartDate()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getCustTaxGroupSubjectedEndDate()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getCustTaxGroupSubjectedStartDate()
Constraints: Not nullable, Precision: 0
|
String |
getCustTaxGrpExemptionCertificate()
Constraints: Not nullable, Maximum length: 15
|
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.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
Class<CustomerTaxGrouping> |
getType() |
int |
hashCode() |
void |
setCustomer(String customer)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setCustomerTaxGroupingCode(String customerTaxGroupingCode)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setCustTaxGroupExemptionEndDate(LocalDateTime custTaxGroupExemptionEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setCustTaxGroupExemptionRate(BigDecimal custTaxGroupExemptionRate)
Constraints: Not nullable, Precision: 5, Scale: 2
|
void |
setCustTaxGroupExemptionStartDate(LocalDateTime custTaxGroupExemptionStartDate)
Constraints: Not nullable, Precision: 0
|
void |
setCustTaxGroupSubjectedEndDate(LocalDateTime custTaxGroupSubjectedEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setCustTaxGroupSubjectedStartDate(LocalDateTime custTaxGroupSubjectedStartDate)
Constraints: Not nullable, Precision: 0
|
void |
setCustTaxGrpExemptionCertificate(String custTaxGrpExemptionCertificate)
Constraints: Not nullable, Maximum length: 15
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
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 CustomerTaxGroupingSelectable ALL_FIELDS
public static final CustomerTaxGroupingField<String> CUSTOMER
public static final CustomerTaxGroupingField<String> CUSTOMER_TAX_GROUPING_CODE
public static final CustomerTaxGroupingField<String> CUST_TAX_GRP_EXEMPTION_CERTIFICATE
public static final CustomerTaxGroupingField<BigDecimal> CUST_TAX_GROUP_EXEMPTION_RATE
public static final CustomerTaxGroupingField<LocalDateTime> CUST_TAX_GROUP_EXEMPTION_START_DATE
public static final CustomerTaxGroupingField<LocalDateTime> CUST_TAX_GROUP_EXEMPTION_END_DATE
public static final CustomerTaxGroupingField<LocalDateTime> CUST_TAX_GROUP_SUBJECTED_START_DATE
public static final CustomerTaxGroupingField<LocalDateTime> CUST_TAX_GROUP_SUBJECTED_END_DATE
public 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)
@Nonnull public Class<CustomerTaxGrouping> getType()
getType
in class VdmObject<CustomerTaxGrouping>
public void setCustomer(@Nullable String customer)
Original property name from the Odata EDM: Customer
customer
- Gives an alphanumeric key, which clearly identifies the customer or vendor in the SAP system.public void setCustomerTaxGroupingCode(@Nullable String customerTaxGroupingCode)
Original property name from the Odata EDM: CustomerTaxGroupingCode
customerTaxGroupingCode
- This indicator is used to allocate customers and vendors to different tax categories. The system
evaluates this information during document entry to assist users in selecting the tax code.public void setCustTaxGrpExemptionCertificate(@Nullable String custTaxGrpExemptionCertificate)
Original property name from the Odata EDM: CustTaxGrpExemptionCertificate
custTaxGrpExemptionCertificate
- The exemption information are displayed while posting a document to help the user find the correct tax
code. If the posting date lies within an exemption interval the corresponding tax category will be
highlighted.public void setCustTaxGroupExemptionRate(@Nullable BigDecimal custTaxGroupExemptionRate)
Original property name from the Odata EDM: CustTaxGroupExemptionRate
The exemption information is used by the system to help the user find the correct tax code while posting a document.The system will not apply the exemption rate to a tax amount previously calculated. This has to be done by defining a special tax code with a reduced percentage rate.Withholding taxThe exemption percentage is applied to the calculated withholding tax amount.
custTaxGroupExemptionRate
- Tax categoriespublic void setCustTaxGroupExemptionStartDate(@Nullable LocalDateTime custTaxGroupExemptionStartDate)
Original property name from the Odata EDM: CustTaxGroupExemptionStartDate
custTaxGroupExemptionStartDate
- Start date of exemptionpublic void setCustTaxGroupExemptionEndDate(@Nullable LocalDateTime custTaxGroupExemptionEndDate)
Original property name from the Odata EDM: CustTaxGroupExemptionEndDate
custTaxGroupExemptionEndDate
- End date of exemptionpublic void setCustTaxGroupSubjectedStartDate(@Nullable LocalDateTime custTaxGroupSubjectedStartDate)
Original property name from the Odata EDM: CustTaxGroupSubjectedStartDate
custTaxGroupSubjectedStartDate
- This field gives the start date of the status of being subjected.public void setCustTaxGroupSubjectedEndDate(@Nullable LocalDateTime custTaxGroupSubjectedEndDate)
Original property name from the Odata EDM: CustTaxGroupSubjectedEndDate
custTaxGroupSubjectedEndDate
- This field gives the end date of the status of being subjected.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<CustomerTaxGrouping>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<CustomerTaxGrouping>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<CustomerTaxGrouping>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<CustomerTaxGrouping>
@Nonnull public static <T> CustomerTaxGroupingField<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> CustomerTaxGroupingField<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<CustomerTaxGrouping>
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<CustomerTaxGrouping>
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<CustomerTaxGrouping>
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<CustomerTaxGrouping>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static CustomerTaxGrouping.CustomerTaxGroupingBuilder builder()
@Nullable public String getCustomer()
Original property name from the Odata EDM: Customer
@Nullable public String getCustomerTaxGroupingCode()
Original property name from the Odata EDM: CustomerTaxGroupingCode
@Nullable public String getCustTaxGrpExemptionCertificate()
Original property name from the Odata EDM: CustTaxGrpExemptionCertificate
@Nullable public BigDecimal getCustTaxGroupExemptionRate()
Original property name from the Odata EDM: CustTaxGroupExemptionRate
The exemption information is used by the system to help the user find the correct tax code while posting a document.The system will not apply the exemption rate to a tax amount previously calculated. This has to be done by defining a special tax code with a reduced percentage rate.Withholding taxThe exemption percentage is applied to the calculated withholding tax amount.
@Nullable public LocalDateTime getCustTaxGroupExemptionStartDate()
Original property name from the Odata EDM: CustTaxGroupExemptionStartDate
@Nullable public LocalDateTime getCustTaxGroupExemptionEndDate()
Original property name from the Odata EDM: CustTaxGroupExemptionEndDate
@Nullable public LocalDateTime getCustTaxGroupSubjectedStartDate()
Original property name from the Odata EDM: CustTaxGroupSubjectedStartDate
@Nullable public LocalDateTime getCustTaxGroupSubjectedEndDate()
Original property name from the Odata EDM: CustTaxGroupSubjectedEndDate
@Nonnull public String toString()
toString
in class VdmObject<CustomerTaxGrouping>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<CustomerTaxGrouping>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<CustomerTaxGrouping>
public int hashCode()
hashCode
in class VdmObject<CustomerTaxGrouping>
Copyright © 2020 SAP SE. All rights reserved.