Class CustomerWithHoldingTax
Original entity name from the Odata EDM: A_CustomerWithHoldingTaxType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CustomerWithHoldingTaxSelectableSelector for all available fields of CustomerWithHoldingTax.static final CustomerWithHoldingTaxField<String>Use with available fluent helpers to apply the AuthorizationGroup field to query operations.static final CustomerWithHoldingTaxField<String>Use with available fluent helpers to apply the CompanyCode field to query operations.static final CustomerWithHoldingTaxField<String>Use with available fluent helpers to apply the Customer field to query operations.static final CustomerWithHoldingTaxField<LocalDateTime>Use with available fluent helpers to apply the ExemptionDateBegin field to query operations.static final CustomerWithHoldingTaxField<LocalDateTime>Use with available fluent helpers to apply the ExemptionDateEnd field to query operations.static final CustomerWithHoldingTaxField<String>Use with available fluent helpers to apply the ExemptionReason field to query operations.static final CustomerWithHoldingTaxField<LocalDateTime>Use with available fluent helpers to apply the ObligationDateBegin field to query operations.static final CustomerWithHoldingTaxField<LocalDateTime>Use with available fluent helpers to apply the ObligationDateEnd field to query operations.static final CustomerWithHoldingTaxField<Boolean>Use with available fluent helpers to apply the WithholdingTaxAgent field to query operations.static final CustomerWithHoldingTaxField<String>Use with available fluent helpers to apply the WithholdingTaxCertificate field to query operations.static final CustomerWithHoldingTaxField<String>Use with available fluent helpers to apply the WithholdingTaxCode field to query operations.static final CustomerWithHoldingTaxField<BigDecimal>Use with available fluent helpers to apply the WithholdingTaxExmptPercent field to query operations.static final CustomerWithHoldingTaxField<String>Use with available fluent helpers to apply the WithholdingTaxNumber field to query operations.static final CustomerWithHoldingTaxField<String>Use with available fluent helpers to apply the WithholdingTaxType field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionCustomerWithHoldingTax(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) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
CustomerWithHoldingTaxField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> CustomerWithHoldingTaxField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 10protected Stringprotected StringConstraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 2getKey()Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0getType()Constraints: noneConstraints: Not nullable, Maximum length: 25Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Precision: 5, Scale: 2Constraints: Not nullable, Maximum length: 16(Key Field) Constraints: Not nullable, Maximum length: 2inthashCode()voidsetAuthorizationGroup(String authorizationGroup) Constraints: Not nullable, Maximum length: 4voidsetCompanyCode(String companyCode) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetCustomer(String customer) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetExemptionDateBegin(LocalDateTime exemptionDateBegin) Constraints: Not nullable, Precision: 0voidsetExemptionDateEnd(LocalDateTime exemptionDateEnd) Constraints: Not nullable, Precision: 0voidsetExemptionReason(String exemptionReason) Constraints: Not nullable, Maximum length: 2voidsetObligationDateBegin(LocalDateTime obligationDateBegin) Constraints: Not nullable, Precision: 0voidsetObligationDateEnd(LocalDateTime obligationDateEnd) Constraints: Not nullable, Precision: 0protected voidsetServicePathForFetch(String servicePathForFetch) voidsetWithholdingTaxAgent(Boolean withholdingTaxAgent) Constraints: nonevoidsetWithholdingTaxCertificate(String withholdingTaxCertificate) Constraints: Not nullable, Maximum length: 25voidsetWithholdingTaxCode(String withholdingTaxCode) Constraints: Not nullable, Maximum length: 2voidsetWithholdingTaxExmptPercent(BigDecimal withholdingTaxExmptPercent) Constraints: Not nullable, Precision: 5, Scale: 2voidsetWithholdingTaxNumber(String withholdingTaxNumber) Constraints: Not nullable, Maximum length: 16voidsetWithholdingTaxType(String withholdingTaxType) (Key Field) Constraints: Not nullable, Maximum length: 2toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of CustomerWithHoldingTax. -
CUSTOMER
Use with available fluent helpers to apply the Customer field to query operations. -
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations. -
WITHHOLDING_TAX_TYPE
Use with available fluent helpers to apply the WithholdingTaxType field to query operations. -
WITHHOLDING_TAX_CODE
Use with available fluent helpers to apply the WithholdingTaxCode field to query operations. -
WITHHOLDING_TAX_AGENT
Use with available fluent helpers to apply the WithholdingTaxAgent field to query operations. -
OBLIGATION_DATE_BEGIN
Use with available fluent helpers to apply the ObligationDateBegin field to query operations. -
OBLIGATION_DATE_END
Use with available fluent helpers to apply the ObligationDateEnd field to query operations. -
WITHHOLDING_TAX_NUMBER
Use with available fluent helpers to apply the WithholdingTaxNumber field to query operations. -
WITHHOLDING_TAX_CERTIFICATE
Use with available fluent helpers to apply the WithholdingTaxCertificate field to query operations. -
WITHHOLDING_TAX_EXMPT_PERCENT
Use with available fluent helpers to apply the WithholdingTaxExmptPercent field to query operations. -
EXEMPTION_DATE_BEGIN
Use with available fluent helpers to apply the ExemptionDateBegin field to query operations. -
EXEMPTION_DATE_END
Use with available fluent helpers to apply the ExemptionDateEnd field to query operations. -
EXEMPTION_REASON
Use with available fluent helpers to apply the ExemptionReason field to query operations. -
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
-
-
Constructor Details
-
CustomerWithHoldingTax
public CustomerWithHoldingTax() -
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)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CustomerWithHoldingTax>
-
setCustomer
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Customer
- Parameters:
customer- Customer Number
-
setCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setWithholdingTaxType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: WithholdingTaxType
- Parameters:
withholdingTaxType- Indicator for Withholding Tax Type
-
setWithholdingTaxCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: WithholdingTaxCode
- Parameters:
withholdingTaxCode- Withholding tax code
-
setWithholdingTaxAgent
Constraints: noneOriginal property name from the Odata EDM: WithholdingTaxAgent
- Parameters:
withholdingTaxAgent- Indicator: Withholding tax agent?
-
setObligationDateBegin
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ObligationDateBegin
- Parameters:
obligationDateBegin- Obligated to withhold tax from
-
setObligationDateEnd
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ObligationDateEnd
- Parameters:
obligationDateEnd- Obligated to withhold tax until
-
setWithholdingTaxNumber
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: WithholdingTaxNumber
- Parameters:
withholdingTaxNumber- Withholding tax identification number
-
setWithholdingTaxCertificate
Constraints: Not nullable, Maximum length: 25Original property name from the Odata EDM: WithholdingTaxCertificate
- Parameters:
withholdingTaxCertificate- Exemption certificate number
-
setWithholdingTaxExmptPercent
Constraints: Not nullable, Precision: 5, Scale: 2Original property name from the Odata EDM: WithholdingTaxExmptPercent
- Parameters:
withholdingTaxExmptPercent- Exemption rate
-
setExemptionDateBegin
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ExemptionDateBegin
- Parameters:
exemptionDateBegin- Date on which exemption begins
-
setExemptionDateEnd
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ExemptionDateEnd
- Parameters:
exemptionDateEnd- Date on which exemption ends
-
setExemptionReason
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ExemptionReason
- Parameters:
exemptionReason- Reason for exemption
-
setAuthorizationGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: AuthorizationGroup
- Parameters:
authorizationGroup- Authorization Group
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CustomerWithHoldingTax>
-
getKey
- Overrides:
getKeyin classVdmObject<CustomerWithHoldingTax>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CustomerWithHoldingTax>
-
fromMap
- Overrides:
fromMapin classVdmObject<CustomerWithHoldingTax>
-
field
@Nonnull public static <T> CustomerWithHoldingTaxField<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> CustomerWithHoldingTaxField<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 fieldfieldName- 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
- Overrides:
getDestinationForFetchin classVdmEntity<CustomerWithHoldingTax>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<CustomerWithHoldingTax>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<CustomerWithHoldingTax>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CustomerWithHoldingTax>
-
builder
-
getCustomer
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Customer
- Returns:
- Customer Number
-
getCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getWithholdingTaxType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: WithholdingTaxType
- Returns:
- Indicator for Withholding Tax Type
-
getWithholdingTaxCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: WithholdingTaxCode
- Returns:
- Withholding tax code
-
getWithholdingTaxAgent
Constraints: noneOriginal property name from the Odata EDM: WithholdingTaxAgent
- Returns:
- Indicator: Withholding tax agent?
-
getObligationDateBegin
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ObligationDateBegin
- Returns:
- Obligated to withhold tax from
-
getObligationDateEnd
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ObligationDateEnd
- Returns:
- Obligated to withhold tax until
-
getWithholdingTaxNumber
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: WithholdingTaxNumber
- Returns:
- Withholding tax identification number
-
getWithholdingTaxCertificate
Constraints: Not nullable, Maximum length: 25Original property name from the Odata EDM: WithholdingTaxCertificate
- Returns:
- Exemption certificate number
-
getWithholdingTaxExmptPercent
Constraints: Not nullable, Precision: 5, Scale: 2Original property name from the Odata EDM: WithholdingTaxExmptPercent
- Returns:
- Exemption rate
-
getExemptionDateBegin
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ExemptionDateBegin
- Returns:
- Date on which exemption begins
-
getExemptionDateEnd
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ExemptionDateEnd
- Returns:
- Date on which exemption ends
-
getExemptionReason
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ExemptionReason
- Returns:
- Reason for exemption
-
getAuthorizationGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: AuthorizationGroup
- Returns:
- Authorization Group
-
toString
- Overrides:
toStringin classVdmObject<CustomerWithHoldingTax>
-
equals
- Overrides:
equalsin classVdmEntity<CustomerWithHoldingTax>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CustomerWithHoldingTax>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CustomerWithHoldingTax>
-