
com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.CurrencyItem Maven / Gradle / Ivy
/*
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
*/
package com.sap.cloud.sdk.s4hana.datamodel.bapi.structures;
import javax.annotation.Nullable;
import com.sap.cloud.sdk.result.ElementName;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.AccountingDocumentLineItemNumber;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.AmountEligibleForCashDiscountInDocumentCurrency;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.AmountEligibleForCashDiscountInDocumentCurrency16;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.AmountInDocumentCurrency;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.AmountInDocumentCurrency16;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.CashDiscountAmountInTheCrcyOfTheCurrencyTypes;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.CashDiscountAmountInTheCurrencyOfTheCurrencyTypes;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.CurrencyKey;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.CurrencyTypeAndValuationView;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.ExchangeRate;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.IndirectQuotedExchangeRate;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.IsoCodeCurrency;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.TaxBaseAmountInDocumentCurrency;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.TaxBaseAmountInDocumentCurrency16;
import lombok.Builder;
import lombok.Data;
/**
* Currency Items
*
* Structure: BAPIACCR09
*
*
*/
@Builder
@Data
public class CurrencyItem {
/**
* Field name: AMT_BASE
*
* Type element: BAPIAMTBASE
* Domain name: BAPICURR1
* Internal type: DEC
* Description: Tax Base Amount in Document Currency
* Max length: 12
*
*
*/
@ElementName("AMT_BASE")
@Nullable
private TaxBaseAmountInDocumentCurrency amtBase;
/**
* Field name: AMT_BASE_LONG
*
* Type element: BAPIAMTBASE_31
* Domain name: BAPICUREXT31
* Internal type: DEC
* Description: Tax Base Amount in Document Currency (31 digits)
* Max length: 16
*
*
*/
@ElementName("AMT_BASE_LONG")
@Nullable
private TaxBaseAmountInDocumentCurrency16 amtBaseLong;
/**
* Field name: AMT_DOCCUR
*
* Type element: BAPIDOCCUR
* Domain name: BAPICURR1
* Internal type: DEC
* Description: Amount in Document Currency
* Max length: 12
*
*
*/
@ElementName("AMT_DOCCUR")
@Nullable
private AmountInDocumentCurrency amtDoccur;
/**
* Field name: AMT_DOCCUR_LONG
*
* Type element: BAPIDOCCUR_31
* Domain name: BAPICUREXT31
* Internal type: DEC
* Description: Amount in Document Currency (31 digits)
* Max length: 16
*
*
*/
@ElementName("AMT_DOCCUR_LONG")
@Nullable
private AmountInDocumentCurrency16 amtDoccurLong;
/**
* Field name: CURRENCY
*
* Type element: WAERS
* Domain name: WAERS
* Internal type: CUKY
* Description: Currency Key
* Max length: 5
*
*
*/
@ElementName("CURRENCY")
@Nullable
private CurrencyKey currency;
/**
* Field name: CURRENCY_ISO
*
* Type element: WAERS_ISO
* Domain name: ISOCD
* Internal type: CHAR
* Description: ISO Code Currency
* Max length: 3
*
*
*/
@ElementName("CURRENCY_ISO")
@Nullable
private IsoCodeCurrency currencyIso;
/**
* Field name: CURR_TYPE
*
* Type element: CURTP
* Domain name: CURTP
* Internal type: CHAR
* Description: Currency type and valuation view
* Max length: 2
*
*
*/
@ElementName("CURR_TYPE")
@Nullable
private CurrencyTypeAndValuationView currType;
/**
* Field name: DISC_AMT
*
* Type element: ACPI_ACSKT
* Domain name: BAPICURR
* Internal type: DEC
* Description: Cash discount amount in the currency of the currency types
* Max length: 12
*
*
*/
@ElementName("DISC_AMT")
@Nullable
private CashDiscountAmountInTheCurrencyOfTheCurrencyTypes discAmt;
/**
* Field name: DISC_AMT_LONG
*
* Type element: ACPI_ACSKT_31
* Domain name: BAPICUREXT31
* Internal type: DEC
* Description: Cash discount amount in the crcy of the currency types (31d)
* Max length: 16
*
*
*/
@ElementName("DISC_AMT_LONG")
@Nullable
private CashDiscountAmountInTheCrcyOfTheCurrencyTypes discAmtLong;
/**
* Field name: DISC_BASE
*
* Type element: ACPI_SKFBT
* Domain name: BAPICURR
* Internal type: DEC
* Description: Amount eligible for cash discount in document currency
* Max length: 12
*
*
*/
@ElementName("DISC_BASE")
@Nullable
private AmountEligibleForCashDiscountInDocumentCurrency discBase;
/**
* Field name: DISC_BASE_LONG
*
* Type element: ACPI_SKFBT_31
* Domain name: BAPICUREXT31
* Internal type: DEC
* Description: Amount eligible for cash discount in document currency (31d)
* Max length: 16
*
*
*/
@ElementName("DISC_BASE_LONG")
@Nullable
private AmountEligibleForCashDiscountInDocumentCurrency16 discBaseLong;
/**
* Field name: EXCH_RATE
*
* Type element: KURSF
* Domain name: KURSF
* Internal type: DEC
* Description: Exchange Rate
* Max length: 5
*
*
*/
@ElementName("EXCH_RATE")
@Nullable
private ExchangeRate exchRate;
/**
* Field name: EXCH_RATE_V
*
* Type element: ACPI_UKURSM
* Domain name: KURSF
* Internal type: DEC
* Description: Indirect quoted exchange rate
* Max length: 5
*
*
*/
@ElementName("EXCH_RATE_V")
@Nullable
private IndirectQuotedExchangeRate exchRateV;
/**
* Field name: ITEMNO_ACC
*
* Type element: POSNR_ACC
* Domain name: POSNR_ACC
* Internal type: NUMC
* Description: Accounting Document Line Item Number
* Max length: 10
*
*
*/
@ElementName("ITEMNO_ACC")
@Nullable
private AccountingDocumentLineItemNumber itemnoAcc;
/**
* Field name: TAX_AMT
*
* Type element: BAPITAXAMT
* Domain name: BAPICURR1
* Internal type: DEC
* Description: Amount in Document Currency
* Max length: 12
*
*
*/
@ElementName("TAX_AMT")
@Nullable
private AmountInDocumentCurrency taxAmt;
/**
* Field name: TAX_AMT_LONG
*
* Type element: BAPITAXAMT_31
* Domain name: BAPICUREXT31
* Internal type: DEC
* Description: Amount in Document Currency (31 digits)
* Max length: 16
*
*
*/
@ElementName("TAX_AMT_LONG")
@Nullable
private AmountInDocumentCurrency16 taxAmtLong;
public void validate()
throws IllegalArgumentException
{
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy