Class SuplrInvcHeaderWhldgTax
Original entity name from the Odata EDM: A_SuplrInvcHeaderWhldgTaxType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SuplrInvcHeaderWhldgTaxSelectableSelector for all available fields of SuplrInvcHeaderWhldgTax.static final SuplrInvcHeaderWhldgTaxField<String>Use with available fluent helpers to apply the DocumentCurrency field to query operations.static final SuplrInvcHeaderWhldgTaxField<String>Use with available fluent helpers to apply the FiscalYear field to query operations.static final SuplrInvcHeaderWhldgTaxField<BigDecimal>Use with available fluent helpers to apply the ManuallyEnteredWhldgTaxAmount field to query operations.static final SuplrInvcHeaderWhldgTaxField<String>Use with available fluent helpers to apply the SupplierInvoice field to query operations.static final SuplrInvcHeaderWhldgTaxField<BigDecimal>Use with available fluent helpers to apply the WithholdingTaxBaseAmount field to query operations.static final SuplrInvcHeaderWhldgTaxField<String>Use with available fluent helpers to apply the WithholdingTaxCode field to query operations.static final SuplrInvcHeaderWhldgTaxField<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
ConstructorsConstructorDescriptionSuplrInvcHeaderWhldgTax(String supplierInvoice, String fiscalYear, String withholdingTaxType, String documentCurrency, String withholdingTaxCode, BigDecimal withholdingTaxBaseAmount, BigDecimal manuallyEnteredWhldgTaxAmount) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
SuplrInvcHeaderWhldgTaxField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SuplrInvcHeaderWhldgTaxField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected StringConstraints: Not nullable, Maximum length: 5protected String(Key Field) Constraints: Not nullable, Maximum length: 4getKey()Constraints: Not nullable, Precision: 16, Scale: 3(Key Field) Constraints: Not nullable, Maximum length: 10getType()Constraints: Not nullable, Precision: 16, Scale: 3Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 2inthashCode()voidsetDocumentCurrency(String documentCurrency) Constraints: Not nullable, Maximum length: 5voidsetFiscalYear(String fiscalYear) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetManuallyEnteredWhldgTaxAmount(BigDecimal manuallyEnteredWhldgTaxAmount) Constraints: Not nullable, Precision: 16, Scale: 3protected voidsetServicePathForFetch(String servicePathForFetch) voidsetSupplierInvoice(String supplierInvoice) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetWithholdingTaxBaseAmount(BigDecimal withholdingTaxBaseAmount) Constraints: Not nullable, Precision: 16, Scale: 3voidsetWithholdingTaxCode(String withholdingTaxCode) Constraints: Not nullable, Maximum length: 2voidsetWithholdingTaxType(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 SuplrInvcHeaderWhldgTax. -
SUPPLIER_INVOICE
Use with available fluent helpers to apply the SupplierInvoice field to query operations. -
FISCAL_YEAR
Use with available fluent helpers to apply the FiscalYear field to query operations. -
WITHHOLDING_TAX_TYPE
Use with available fluent helpers to apply the WithholdingTaxType field to query operations. -
DOCUMENT_CURRENCY
Use with available fluent helpers to apply the DocumentCurrency field to query operations. -
WITHHOLDING_TAX_CODE
Use with available fluent helpers to apply the WithholdingTaxCode field to query operations. -
WITHHOLDING_TAX_BASE_AMOUNT
Use with available fluent helpers to apply the WithholdingTaxBaseAmount field to query operations. -
MANUALLY_ENTERED_WHLDG_TAX_AMOUNT
Use with available fluent helpers to apply the ManuallyEnteredWhldgTaxAmount field to query operations.
-
-
Constructor Details
-
SuplrInvcHeaderWhldgTax
public SuplrInvcHeaderWhldgTax() -
SuplrInvcHeaderWhldgTax
public SuplrInvcHeaderWhldgTax(@Nullable String supplierInvoice, @Nullable String fiscalYear, @Nullable String withholdingTaxType, @Nullable String documentCurrency, @Nullable String withholdingTaxCode, @Nullable BigDecimal withholdingTaxBaseAmount, @Nullable BigDecimal manuallyEnteredWhldgTaxAmount)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SuplrInvcHeaderWhldgTax>
-
setSupplierInvoice
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SupplierInvoice
- Parameters:
supplierInvoice- Document Number of an Invoice Document
-
setFiscalYear
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: FiscalYear
- Parameters:
fiscalYear- Fiscal Year
-
setWithholdingTaxType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: WithholdingTaxType
- Parameters:
withholdingTaxType- Indicator for Withholding Tax Type
-
setDocumentCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DocumentCurrency
- Parameters:
documentCurrency- Currency Key
-
setWithholdingTaxCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: WithholdingTaxCode
- Parameters:
withholdingTaxCode- Withholding tax code
-
setWithholdingTaxBaseAmount
Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: WithholdingTaxBaseAmount
- Parameters:
withholdingTaxBaseAmount- Withholding Tax Base Amount in Document Currency
-
setManuallyEnteredWhldgTaxAmount
Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: ManuallyEnteredWhldgTaxAmount
- Parameters:
manuallyEnteredWhldgTaxAmount- Withholding Tax Amount Entered Manually in Document Currency
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SuplrInvcHeaderWhldgTax>
-
getKey
- Overrides:
getKeyin classVdmObject<SuplrInvcHeaderWhldgTax>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SuplrInvcHeaderWhldgTax>
-
fromMap
- Overrides:
fromMapin classVdmObject<SuplrInvcHeaderWhldgTax>
-
field
@Nonnull public static <T> SuplrInvcHeaderWhldgTaxField<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> SuplrInvcHeaderWhldgTaxField<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<SuplrInvcHeaderWhldgTax>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SuplrInvcHeaderWhldgTax>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SuplrInvcHeaderWhldgTax>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SuplrInvcHeaderWhldgTax>
-
builder
-
getSupplierInvoice
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SupplierInvoice
- Returns:
- Document Number of an Invoice Document
-
getFiscalYear
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: FiscalYear
- Returns:
- Fiscal Year
-
getWithholdingTaxType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: WithholdingTaxType
- Returns:
- Indicator for Withholding Tax Type
-
getDocumentCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DocumentCurrency
- Returns:
- Currency Key
-
getWithholdingTaxCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: WithholdingTaxCode
- Returns:
- Withholding tax code
-
getWithholdingTaxBaseAmount
Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: WithholdingTaxBaseAmount
- Returns:
- Withholding Tax Base Amount in Document Currency
-
getManuallyEnteredWhldgTaxAmount
Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: ManuallyEnteredWhldgTaxAmount
- Returns:
- Withholding Tax Amount Entered Manually in Document Currency
-
toString
- Overrides:
toStringin classVdmObject<SuplrInvcHeaderWhldgTax>
-
equals
- Overrides:
equalsin classVdmEntity<SuplrInvcHeaderWhldgTax>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SuplrInvcHeaderWhldgTax>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SuplrInvcHeaderWhldgTax>
-