public class CustomerWithHoldingTax extends VdmEntity<CustomerWithHoldingTax>
Original entity name from the Odata EDM: A_CustomerWithHoldingTaxType
Modifier and Type | Class and Description |
---|---|
static class |
CustomerWithHoldingTax.CustomerWithHoldingTaxBuilder |
Modifier and Type | Field and Description |
---|---|
static CustomerWithHoldingTaxSelectable |
ALL_FIELDS
Selector for all available fields of CustomerWithHoldingTax.
|
static CustomerWithHoldingTaxField<String> |
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
|
static CustomerWithHoldingTaxField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static CustomerWithHoldingTaxField<String> |
CUSTOMER
Use with available fluent helpers to apply the Customer field to query operations.
|
static CustomerWithHoldingTaxField<LocalDateTime> |
EXEMPTION_DATE_BEGIN
Use with available fluent helpers to apply the ExemptionDateBegin field to query operations.
|
static CustomerWithHoldingTaxField<LocalDateTime> |
EXEMPTION_DATE_END
Use with available fluent helpers to apply the ExemptionDateEnd field to query operations.
|
static CustomerWithHoldingTaxField<String> |
EXEMPTION_REASON
Use with available fluent helpers to apply the ExemptionReason field to query operations.
|
static CustomerWithHoldingTaxField<LocalDateTime> |
OBLIGATION_DATE_BEGIN
Use with available fluent helpers to apply the ObligationDateBegin field to query operations.
|
static CustomerWithHoldingTaxField<LocalDateTime> |
OBLIGATION_DATE_END
Use with available fluent helpers to apply the ObligationDateEnd field to query operations.
|
static CustomerWithHoldingTaxField<Boolean> |
WITHHOLDING_TAX_AGENT
Use with available fluent helpers to apply the WithholdingTaxAgent field to query operations.
|
static CustomerWithHoldingTaxField<String> |
WITHHOLDING_TAX_CERTIFICATE
Use with available fluent helpers to apply the WithholdingTaxCertificate field to query operations.
|
static CustomerWithHoldingTaxField<String> |
WITHHOLDING_TAX_CODE
Use with available fluent helpers to apply the WithholdingTaxCode field to query operations.
|
static CustomerWithHoldingTaxField<BigDecimal> |
WITHHOLDING_TAX_EXMPT_PERCENT
Use with available fluent helpers to apply the WithholdingTaxExmptPercent field to query operations.
|
static CustomerWithHoldingTaxField<String> |
WITHHOLDING_TAX_NUMBER
Use with available fluent helpers to apply the WithholdingTaxNumber field to query operations.
|
static CustomerWithHoldingTaxField<String> |
WITHHOLDING_TAX_TYPE
Use with available fluent helpers to apply the WithholdingTaxType field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
CustomerWithHoldingTax() |
CustomerWithHoldingTax(String customer,
String companyCode,
String withholdingTaxType,
String withholdingTaxCode,
Boolean withholdingTaxAgent,
LocalDateTime obligationDateBegin,
LocalDateTime obligationDateEnd,
String withholdingTaxNumber,
String withholdingTaxCertificate,
BigDecimal withholdingTaxExmptPercent,
LocalDateTime exemptionDateBegin,
LocalDateTime exemptionDateEnd,
String exemptionReason,
String authorizationGroup) |
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 CustomerWithHoldingTax.CustomerWithHoldingTaxBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> CustomerWithHoldingTaxField<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 |
getAuthorizationGroup()
Constraints: Not nullable, Maximum length: 4
|
String |
getCompanyCode()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getCustomer()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
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.
|
LocalDateTime |
getExemptionDateBegin()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getExemptionDateEnd()
Constraints: Not nullable, Precision: 0
|
String |
getExemptionReason()
Constraints: Not nullable, Maximum length: 2
|
protected Map<String,Object> |
getKey() |
LocalDateTime |
getObligationDateBegin()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getObligationDateEnd()
Constraints: Not nullable, Precision: 0
|
Class<CustomerWithHoldingTax> |
getType() |
Boolean |
getWithholdingTaxAgent()
Constraints: none
|
String |
getWithholdingTaxCertificate()
Constraints: Not nullable, Maximum length: 25
|
String |
getWithholdingTaxCode()
Constraints: Not nullable, Maximum length: 2
|
BigDecimal |
getWithholdingTaxExmptPercent()
Constraints: Not nullable, Precision: 5, Scale: 2
|
String |
getWithholdingTaxNumber()
Constraints: Not nullable, Maximum length: 16
|
String |
getWithholdingTaxType()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
int |
hashCode() |
void |
setAuthorizationGroup(String authorizationGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setCompanyCode(String companyCode)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setCustomer(String customer)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setExemptionDateBegin(LocalDateTime exemptionDateBegin)
Constraints: Not nullable, Precision: 0
|
void |
setExemptionDateEnd(LocalDateTime exemptionDateEnd)
Constraints: Not nullable, Precision: 0
|
void |
setExemptionReason(String exemptionReason)
Constraints: Not nullable, Maximum length: 2
|
void |
setObligationDateBegin(LocalDateTime obligationDateBegin)
Constraints: Not nullable, Precision: 0
|
void |
setObligationDateEnd(LocalDateTime obligationDateEnd)
Constraints: Not nullable, Precision: 0
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setWithholdingTaxAgent(Boolean withholdingTaxAgent)
Constraints: none
|
void |
setWithholdingTaxCertificate(String withholdingTaxCertificate)
Constraints: Not nullable, Maximum length: 25
|
void |
setWithholdingTaxCode(String withholdingTaxCode)
Constraints: Not nullable, Maximum length: 2
|
void |
setWithholdingTaxExmptPercent(BigDecimal withholdingTaxExmptPercent)
Constraints: Not nullable, Precision: 5, Scale: 2
|
void |
setWithholdingTaxNumber(String withholdingTaxNumber)
Constraints: Not nullable, Maximum length: 16
|
void |
setWithholdingTaxType(String withholdingTaxType)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
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 CustomerWithHoldingTaxSelectable ALL_FIELDS
public static final CustomerWithHoldingTaxField<String> CUSTOMER
public static final CustomerWithHoldingTaxField<String> COMPANY_CODE
public static final CustomerWithHoldingTaxField<String> WITHHOLDING_TAX_TYPE
public static final CustomerWithHoldingTaxField<String> WITHHOLDING_TAX_CODE
public static final CustomerWithHoldingTaxField<Boolean> WITHHOLDING_TAX_AGENT
public static final CustomerWithHoldingTaxField<LocalDateTime> OBLIGATION_DATE_BEGIN
public static final CustomerWithHoldingTaxField<LocalDateTime> OBLIGATION_DATE_END
public static final CustomerWithHoldingTaxField<String> WITHHOLDING_TAX_NUMBER
public static final CustomerWithHoldingTaxField<String> WITHHOLDING_TAX_CERTIFICATE
public static final CustomerWithHoldingTaxField<BigDecimal> WITHHOLDING_TAX_EXMPT_PERCENT
public static final CustomerWithHoldingTaxField<LocalDateTime> EXEMPTION_DATE_BEGIN
public static final CustomerWithHoldingTaxField<LocalDateTime> EXEMPTION_DATE_END
public static final CustomerWithHoldingTaxField<String> EXEMPTION_REASON
public static final CustomerWithHoldingTaxField<String> AUTHORIZATION_GROUP
public CustomerWithHoldingTax()
public CustomerWithHoldingTax(@Nullable String customer, @Nullable String companyCode, @Nullable String withholdingTaxType, @Nullable String withholdingTaxCode, @Nullable Boolean withholdingTaxAgent, @Nullable LocalDateTime obligationDateBegin, @Nullable LocalDateTime obligationDateEnd, @Nullable String withholdingTaxNumber, @Nullable String withholdingTaxCertificate, @Nullable BigDecimal withholdingTaxExmptPercent, @Nullable LocalDateTime exemptionDateBegin, @Nullable LocalDateTime exemptionDateEnd, @Nullable String exemptionReason, @Nullable String authorizationGroup)
@Nonnull public Class<CustomerWithHoldingTax> getType()
getType
in class VdmObject<CustomerWithHoldingTax>
public void setCustomer(@Nullable String customer)
Original property name from the Odata EDM: Customer
customer
- Customer Numberpublic void setCompanyCode(@Nullable String companyCode)
Original property name from the Odata EDM: CompanyCode
companyCode
- Company Codepublic void setWithholdingTaxType(@Nullable String withholdingTaxType)
Original property name from the Odata EDM: WithholdingTaxType
withholdingTaxType
- Indicator for Withholding Tax Typepublic void setWithholdingTaxCode(@Nullable String withholdingTaxCode)
Original property name from the Odata EDM: WithholdingTaxCode
withholdingTaxCode
- Withholding Tax Codepublic void setWithholdingTaxAgent(@Nullable Boolean withholdingTaxAgent)
Original property name from the Odata EDM: WithholdingTaxAgent
withholdingTaxAgent
- Indicator: Withholding Tax Agent?public void setObligationDateBegin(@Nullable LocalDateTime obligationDateBegin)
Original property name from the Odata EDM: ObligationDateBegin
obligationDateBegin
- Obligated to Withhold Tax Frompublic void setObligationDateEnd(@Nullable LocalDateTime obligationDateEnd)
Original property name from the Odata EDM: ObligationDateEnd
obligationDateEnd
- Obligated to Withhold Tax Untilpublic void setWithholdingTaxNumber(@Nullable String withholdingTaxNumber)
Original property name from the Odata EDM: WithholdingTaxNumber
withholdingTaxNumber
- Withholding tax identification numberpublic void setWithholdingTaxCertificate(@Nullable String withholdingTaxCertificate)
Original property name from the Odata EDM: WithholdingTaxCertificate
withholdingTaxCertificate
- Exemption Certificate Numberpublic void setWithholdingTaxExmptPercent(@Nullable BigDecimal withholdingTaxExmptPercent)
Original property name from the Odata EDM: WithholdingTaxExmptPercent
withholdingTaxExmptPercent
- Exemption Ratepublic void setExemptionDateBegin(@Nullable LocalDateTime exemptionDateBegin)
Original property name from the Odata EDM: ExemptionDateBegin
exemptionDateBegin
- Date on Which Exemption Beginspublic void setExemptionDateEnd(@Nullable LocalDateTime exemptionDateEnd)
Original property name from the Odata EDM: ExemptionDateEnd
exemptionDateEnd
- Date on Which Exemption Endspublic void setExemptionReason(@Nullable String exemptionReason)
Original property name from the Odata EDM: ExemptionReason
exemptionReason
- Reason for Exemptionpublic void setAuthorizationGroup(@Nullable String authorizationGroup)
Original property name from the Odata EDM: AuthorizationGroup
authorizationGroup
- Authorization Groupprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<CustomerWithHoldingTax>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<CustomerWithHoldingTax>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<CustomerWithHoldingTax>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<CustomerWithHoldingTax>
@Nonnull public static <T> CustomerWithHoldingTaxField<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> CustomerWithHoldingTaxField<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<CustomerWithHoldingTax>
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<CustomerWithHoldingTax>
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<CustomerWithHoldingTax>
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<CustomerWithHoldingTax>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static CustomerWithHoldingTax.CustomerWithHoldingTaxBuilder builder()
@Nullable public String getCustomer()
Original property name from the Odata EDM: Customer
@Nullable public String getCompanyCode()
Original property name from the Odata EDM: CompanyCode
@Nullable public String getWithholdingTaxType()
Original property name from the Odata EDM: WithholdingTaxType
@Nullable public String getWithholdingTaxCode()
Original property name from the Odata EDM: WithholdingTaxCode
@Nullable public Boolean getWithholdingTaxAgent()
Original property name from the Odata EDM: WithholdingTaxAgent
@Nullable public LocalDateTime getObligationDateBegin()
Original property name from the Odata EDM: ObligationDateBegin
@Nullable public LocalDateTime getObligationDateEnd()
Original property name from the Odata EDM: ObligationDateEnd
@Nullable public String getWithholdingTaxNumber()
Original property name from the Odata EDM: WithholdingTaxNumber
@Nullable public String getWithholdingTaxCertificate()
Original property name from the Odata EDM: WithholdingTaxCertificate
@Nullable public BigDecimal getWithholdingTaxExmptPercent()
Original property name from the Odata EDM: WithholdingTaxExmptPercent
@Nullable public LocalDateTime getExemptionDateBegin()
Original property name from the Odata EDM: ExemptionDateBegin
@Nullable public LocalDateTime getExemptionDateEnd()
Original property name from the Odata EDM: ExemptionDateEnd
@Nullable public String getExemptionReason()
Original property name from the Odata EDM: ExemptionReason
@Nullable public String getAuthorizationGroup()
Original property name from the Odata EDM: AuthorizationGroup
@Nonnull public String toString()
toString
in class VdmObject<CustomerWithHoldingTax>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<CustomerWithHoldingTax>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<CustomerWithHoldingTax>
public int hashCode()
hashCode
in class VdmObject<CustomerWithHoldingTax>
Copyright © 2021 SAP SE. All rights reserved.