Class SupplierWithHoldingTax
Original entity name from the Odata EDM: A_SupplierWithHoldingTaxType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SupplierWithHoldingTaxSelectableSelector for all available fields of SupplierWithHoldingTax.static final SupplierWithHoldingTaxField<String>Use with available fluent helpers to apply the AuthorizationGroup field to query operations.static final SupplierWithHoldingTaxField<String>Use with available fluent helpers to apply the CompanyCode field to query operations.static final SupplierWithHoldingTaxField<LocalDateTime>Use with available fluent helpers to apply the ExemptionDateBegin field to query operations.static final SupplierWithHoldingTaxField<LocalDateTime>Use with available fluent helpers to apply the ExemptionDateEnd field to query operations.static final SupplierWithHoldingTaxField<String>Use with available fluent helpers to apply the ExemptionReason field to query operations.static final SupplierWithHoldingTaxField<Boolean>Use with available fluent helpers to apply the IsWithholdingTaxSubject field to query operations.static final SupplierWithHoldingTaxField<String>Use with available fluent helpers to apply the RecipientType field to query operations.static final SupplierWithHoldingTaxField<String>Use with available fluent helpers to apply the Supplier field to query operations.static final SupplierWithHoldingTaxField<String>Use with available fluent helpers to apply the WithholdingTaxCertificate field to query operations.static final SupplierWithHoldingTaxField<String>Use with available fluent helpers to apply the WithholdingTaxCode field to query operations.static final SupplierWithHoldingTaxField<BigDecimal>Use with available fluent helpers to apply the WithholdingTaxExmptPercent field to query operations.static final SupplierWithHoldingTaxField<String>Use with available fluent helpers to apply the WithholdingTaxNumber field to query operations.static final SupplierWithHoldingTaxField<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
ConstructorsConstructorDescriptionSupplierWithHoldingTax(String supplier, String companyCode, String withholdingTaxType, LocalDateTime exemptionDateBegin, LocalDateTime exemptionDateEnd, String exemptionReason, Boolean isWithholdingTaxSubject, String recipientType, String withholdingTaxCertificate, String withholdingTaxCode, BigDecimal withholdingTaxExmptPercent, String withholdingTaxNumber, String authorizationGroup) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
SupplierWithHoldingTaxField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SupplierWithHoldingTaxField<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: 4protected Stringprotected StringConstraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 2Constraints: nonegetKey()Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 10getType()Constraints: 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: 4voidsetExemptionDateBegin(LocalDateTime exemptionDateBegin) Constraints: Not nullable, Precision: 0voidsetExemptionDateEnd(LocalDateTime exemptionDateEnd) Constraints: Not nullable, Precision: 0voidsetExemptionReason(String exemptionReason) Constraints: Not nullable, Maximum length: 2voidsetIsWithholdingTaxSubject(Boolean isWithholdingTaxSubject) Constraints: nonevoidsetRecipientType(String recipientType) Constraints: Not nullable, Maximum length: 2protected voidsetServicePathForFetch(String servicePathForFetch) voidsetSupplier(String supplier) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetWithholdingTaxCertificate(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 SupplierWithHoldingTax. -
SUPPLIER
Use with available fluent helpers to apply the Supplier 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. -
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. -
IS_WITHHOLDING_TAX_SUBJECT
Use with available fluent helpers to apply the IsWithholdingTaxSubject field to query operations. -
RECIPIENT_TYPE
Use with available fluent helpers to apply the RecipientType field to query operations. -
WITHHOLDING_TAX_CERTIFICATE
Use with available fluent helpers to apply the WithholdingTaxCertificate field to query operations. -
WITHHOLDING_TAX_CODE
Use with available fluent helpers to apply the WithholdingTaxCode field to query operations. -
WITHHOLDING_TAX_EXMPT_PERCENT
Use with available fluent helpers to apply the WithholdingTaxExmptPercent field to query operations. -
WITHHOLDING_TAX_NUMBER
Use with available fluent helpers to apply the WithholdingTaxNumber field to query operations. -
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
-
-
Constructor Details
-
SupplierWithHoldingTax
public SupplierWithHoldingTax() -
SupplierWithHoldingTax
public SupplierWithHoldingTax(@Nullable String supplier, @Nullable String companyCode, @Nullable String withholdingTaxType, @Nullable LocalDateTime exemptionDateBegin, @Nullable LocalDateTime exemptionDateEnd, @Nullable String exemptionReason, @Nullable Boolean isWithholdingTaxSubject, @Nullable String recipientType, @Nullable String withholdingTaxCertificate, @Nullable String withholdingTaxCode, @Nullable BigDecimal withholdingTaxExmptPercent, @Nullable String withholdingTaxNumber, @Nullable String authorizationGroup)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SupplierWithHoldingTax>
-
setSupplier
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Supplier
- Parameters:
supplier- Account Number of Supplier
-
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
-
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
-
setIsWithholdingTaxSubject
Constraints: noneOriginal property name from the Odata EDM: IsWithholdingTaxSubject
- Parameters:
isWithholdingTaxSubject- Indicator: Subject to withholding tax?
-
setRecipientType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: RecipientType
- Parameters:
recipientType- Type of recipient
-
setWithholdingTaxCertificate
Constraints: Not nullable, Maximum length: 25Original property name from the Odata EDM: WithholdingTaxCertificate
- Parameters:
withholdingTaxCertificate- Exemption certificate number
-
setWithholdingTaxCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: WithholdingTaxCode
- Parameters:
withholdingTaxCode- Withholding tax code
-
setWithholdingTaxExmptPercent
Constraints: Not nullable, Precision: 5, Scale: 2Original property name from the Odata EDM: WithholdingTaxExmptPercent
- Parameters:
withholdingTaxExmptPercent- Exemption rate
-
setWithholdingTaxNumber
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: WithholdingTaxNumber
- Parameters:
withholdingTaxNumber- Withholding tax identification number
-
setAuthorizationGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: AuthorizationGroup
- Parameters:
authorizationGroup- Authorization Group
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SupplierWithHoldingTax>
-
getKey
- Overrides:
getKeyin classVdmObject<SupplierWithHoldingTax>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SupplierWithHoldingTax>
-
fromMap
- Overrides:
fromMapin classVdmObject<SupplierWithHoldingTax>
-
field
@Nonnull public static <T> SupplierWithHoldingTaxField<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> SupplierWithHoldingTaxField<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<SupplierWithHoldingTax>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SupplierWithHoldingTax>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SupplierWithHoldingTax>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SupplierWithHoldingTax>
-
builder
-
getSupplier
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Supplier
- Returns:
- Account Number of Supplier
-
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
-
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
-
getIsWithholdingTaxSubject
Constraints: noneOriginal property name from the Odata EDM: IsWithholdingTaxSubject
- Returns:
- Indicator: Subject to withholding tax?
-
getRecipientType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: RecipientType
- Returns:
- Type of recipient
-
getWithholdingTaxCertificate
Constraints: Not nullable, Maximum length: 25Original property name from the Odata EDM: WithholdingTaxCertificate
- Returns:
- Exemption certificate number
-
getWithholdingTaxCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: WithholdingTaxCode
- Returns:
- Withholding tax code
-
getWithholdingTaxExmptPercent
Constraints: Not nullable, Precision: 5, Scale: 2Original property name from the Odata EDM: WithholdingTaxExmptPercent
- Returns:
- Exemption rate
-
getWithholdingTaxNumber
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: WithholdingTaxNumber
- Returns:
- Withholding tax identification number
-
getAuthorizationGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: AuthorizationGroup
- Returns:
- Authorization Group
-
toString
- Overrides:
toStringin classVdmObject<SupplierWithHoldingTax>
-
equals
- Overrides:
equalsin classVdmEntity<SupplierWithHoldingTax>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SupplierWithHoldingTax>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SupplierWithHoldingTax>
-