Class SupplierInvoiceTax
Original entity name from the Odata EDM: A_SupplierInvoiceTaxType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SupplierInvoiceTaxSelectableSelector for all available fields of SupplierInvoiceTax.static final SupplierInvoiceTaxField<String>Use with available fluent helpers to apply the DocumentCurrency field to query operations.static final SupplierInvoiceTaxField<String>Use with available fluent helpers to apply the FiscalYear field to query operations.static final SupplierInvoiceTaxField<String>Use with available fluent helpers to apply the SupplierInvoice field to query operations.static final SupplierInvoiceTaxField<String>Use with available fluent helpers to apply the SupplierInvoiceTaxCounter field to query operations.static final SupplierInvoiceTaxField<BigDecimal>Use with available fluent helpers to apply the TaxAmount field to query operations.static final SupplierInvoiceTaxField<BigDecimal>Use with available fluent helpers to apply the TaxBaseAmountInTransCrcy field to query operations.static final SupplierInvoiceTaxField<String>Use with available fluent helpers to apply the TaxCode field to query operations.static final SupplierInvoiceTaxField<String>Use with available fluent helpers to apply the TaxCountry field to query operations.static final SupplierInvoiceTaxField<String>Use with available fluent helpers to apply the TaxJurisdiction field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionSupplierInvoiceTax(String supplierInvoice, String fiscalYear, String taxCode, String supplierInvoiceTaxCounter, String documentCurrency, BigDecimal taxAmount, BigDecimal taxBaseAmountInTransCrcy, String taxJurisdiction, String taxCountry) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
SupplierInvoiceTaxField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SupplierInvoiceTaxField<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()(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 6Constraints: Not nullable, Precision: 14, Scale: 3Constraints: Not nullable, Precision: 16, Scale: 3(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 15getType()inthashCode()voidsetDocumentCurrency(String documentCurrency) Constraints: Not nullable, Maximum length: 5voidsetFiscalYear(String fiscalYear) (Key Field) Constraints: Not nullable, Maximum length: 4protected voidsetServicePathForFetch(String servicePathForFetch) voidsetSupplierInvoice(String supplierInvoice) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetSupplierInvoiceTaxCounter(String supplierInvoiceTaxCounter) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetTaxAmount(BigDecimal taxAmount) Constraints: Not nullable, Precision: 14, Scale: 3voidsetTaxBaseAmountInTransCrcy(BigDecimal taxBaseAmountInTransCrcy) Constraints: Not nullable, Precision: 16, Scale: 3voidsetTaxCode(String taxCode) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetTaxCountry(String taxCountry) Constraints: Not nullable, Maximum length: 3voidsetTaxJurisdiction(String taxJurisdiction) Constraints: Not nullable, Maximum length: 15toString()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 SupplierInvoiceTax. -
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. -
TAX_CODE
Use with available fluent helpers to apply the TaxCode field to query operations. -
SUPPLIER_INVOICE_TAX_COUNTER
Use with available fluent helpers to apply the SupplierInvoiceTaxCounter field to query operations. -
DOCUMENT_CURRENCY
Use with available fluent helpers to apply the DocumentCurrency field to query operations. -
TAX_AMOUNT
Use with available fluent helpers to apply the TaxAmount field to query operations. -
TAX_BASE_AMOUNT_IN_TRANS_CRCY
Use with available fluent helpers to apply the TaxBaseAmountInTransCrcy field to query operations. -
TAX_JURISDICTION
Use with available fluent helpers to apply the TaxJurisdiction field to query operations. -
TAX_COUNTRY
Use with available fluent helpers to apply the TaxCountry field to query operations.
-
-
Constructor Details
-
SupplierInvoiceTax
public SupplierInvoiceTax() -
SupplierInvoiceTax
public SupplierInvoiceTax(@Nullable String supplierInvoice, @Nullable String fiscalYear, @Nullable String taxCode, @Nullable String supplierInvoiceTaxCounter, @Nullable String documentCurrency, @Nullable BigDecimal taxAmount, @Nullable BigDecimal taxBaseAmountInTransCrcy, @Nullable String taxJurisdiction, @Nullable String taxCountry)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SupplierInvoiceTax>
-
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
-
setTaxCode
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TaxCode
- Parameters:
taxCode- Tax code
-
setSupplierInvoiceTaxCounter
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: SupplierInvoiceTaxCounter
- Parameters:
supplierInvoiceTaxCounter- Document Item in Invoice Document
-
setDocumentCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DocumentCurrency
- Parameters:
documentCurrency- Currency Key
-
setTaxAmount
Constraints: Not nullable, Precision: 14, Scale: 3Original property name from the Odata EDM: TaxAmount
- Parameters:
taxAmount- Tax Amount in Document Currency with +/- Sign
-
setTaxBaseAmountInTransCrcy
Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: TaxBaseAmountInTransCrcy
- Parameters:
taxBaseAmountInTransCrcy- Tax Base Amount in Document Currency
-
setTaxJurisdiction
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: TaxJurisdiction
- Parameters:
taxJurisdiction- Tax Jurisdiction
-
setTaxCountry
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TaxCountry
- Parameters:
taxCountry- Tax Reporting Country/Region
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SupplierInvoiceTax>
-
getKey
- Overrides:
getKeyin classVdmObject<SupplierInvoiceTax>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SupplierInvoiceTax>
-
fromMap
- Overrides:
fromMapin classVdmObject<SupplierInvoiceTax>
-
field
@Nonnull public static <T> SupplierInvoiceTaxField<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> SupplierInvoiceTaxField<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<SupplierInvoiceTax>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SupplierInvoiceTax>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SupplierInvoiceTax>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SupplierInvoiceTax>
-
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
-
getTaxCode
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: TaxCode
- Returns:
- Tax code
-
getSupplierInvoiceTaxCounter
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: SupplierInvoiceTaxCounter
- Returns:
- Document Item in Invoice Document
-
getDocumentCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DocumentCurrency
- Returns:
- Currency Key
-
getTaxAmount
Constraints: Not nullable, Precision: 14, Scale: 3Original property name from the Odata EDM: TaxAmount
- Returns:
- Tax Amount in Document Currency with +/- Sign
-
getTaxBaseAmountInTransCrcy
Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: TaxBaseAmountInTransCrcy
- Returns:
- Tax Base Amount in Document Currency
-
getTaxJurisdiction
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: TaxJurisdiction
- Returns:
- Tax Jurisdiction
-
getTaxCountry
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: TaxCountry
- Returns:
- Tax Reporting Country/Region
-
toString
- Overrides:
toStringin classVdmObject<SupplierInvoiceTax>
-
equals
- Overrides:
equalsin classVdmEntity<SupplierInvoiceTax>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SupplierInvoiceTax>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SupplierInvoiceTax>
-