com.sap.cloud.sdk.s4hana.datamodel.bapi.structures.CustomerItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bapi-api Show documentation
Show all versions of bapi-api Show documentation
Generated classes of the SAP S/4HANA Virtual Data Model (VDM) for BAPIs.
/*
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
*/
package com.sap.cloud.sdk.s4hana.datamodel.bapi.structures;
import java.time.LocalDate;
import javax.annotation.Nullable;
import com.sap.cloud.sdk.result.ElementName;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.AccountNumberOfTheBranch;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.AccountingDocumentLineItemNumber;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.AlternativePayee;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.AmountInPaymentCurrency;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.AmountInPaymentCurrency16;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.AssignmentNumber;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.BankTypeOfAlternativePayer;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.BranchCode;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.BudgetPeriod;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.BusinessArea;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.CompanyCode;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.CurrencyForAutomaticPayment;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.CustomerNumber;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.DaysForFirstCashDiscount;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.DaysForSecondCashDiscount;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.DeadlineForNetConditions;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.DisputeManagementDisputeInterfaceCategory;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.DocumentNumberForEarmarkedFunds;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.DunningArea;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.EarmarkedFundsDocumentItem;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.Fund;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.FundedProgram;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.GeneralLedgerAccount;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.Grant;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.IdForAccountDetails;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.IsoCodeCurrency;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.ItemNumberInSalesOrder;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.LongFund;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.PartnerBankType;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.PaymentMethod;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.PaymentMethodSupplement;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.PaymentReferenceOfPaymentServiceProvider;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.PaymentServiceProvider;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.PercentageForFirstCashDiscount;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.PercentageForSecondCashDiscount;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.ProfitCenter;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.ReportingCountryForDeliveryOfGoodsWithinTheEu;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.SalesOrderNumber;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.ShortKeyForAHouseBank;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.StateCentralBankIndicator;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.SupplierCountryIsoCode;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.SupplyingCountry;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.TaxJurisdiction;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.TaxOnSalesPurchasesCode;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.TechnicalCaseKey;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.UniqueReferenceToMandateForEachPayee;
import com.sap.cloud.sdk.s4hana.datamodel.bapi.types.VatRegistrationNumber;
import lombok.Builder;
import lombok.Data;
/**
* Customer Item
*
* Structure: BAPIACAR09
*
*
*/
@Builder
@Data
public class CustomerItem {
/**
* Field name: ALLOC_NMBR
*
* Type element: ACPI_ZUONR
* Domain name: ZUONR
* Internal type: CHAR
* Description: Assignment Number
* Max length: 18
*
*
*/
@ElementName("ALLOC_NMBR")
@Nullable
private AssignmentNumber allocNmbr;
/**
* Field name: ALT_PAYEE
*
* Type element: VVABWZE
* Domain name: KUNNR
* Internal type: CHAR
* Description: Alternative payee
* Max length: 10
*
*
*/
@ElementName("ALT_PAYEE")
@Nullable
private AlternativePayee altPayee;
/**
* Field name: ALT_PAYEE_BANK
*
* Type element: VVBVTYPABW
* Domain name: BVTYP
* Internal type: CHAR
* Description: Bank type of alternative payer
* Max length: 4
*
*
*/
@ElementName("ALT_PAYEE_BANK")
@Nullable
private BankTypeOfAlternativePayer altPayeeBank;
/**
* Field name: BANK_ID
*
* Type element: HBKID
* Domain name: HBKID
* Internal type: CHAR
* Description: Short Key for a House Bank
* Max length: 5
*
*
*/
@ElementName("BANK_ID")
@Nullable
private ShortKeyForAHouseBank bankId;
/**
* Field name: BLINE_DATE
*
* Type element: ACPI_ZFBDT
* Domain name: DATUM
* Internal type: DATS
* Description: Baseline Date For Due Date Calculation
* Max length: 8
*
*
*/
@ElementName("BLINE_DATE")
@Nullable
private LocalDate blineDate;
/**
* Field name: BRANCH
*
* Type element: ACPI_FILKD
* Domain name: LIFNR
* Internal type: CHAR
* Description: Account number of the branch
* Max length: 10
*
*
*/
@ElementName("BRANCH")
@Nullable
private AccountNumberOfTheBranch branch;
/**
* Field name: BUDGET_PERIOD
*
* Type element: FM_BUDGET_PERIOD
* Domain name: FM_BUDGET_PERIOD
* Internal type: CHAR
* Description: Budget Period
* Max length: 10
*
*
*/
@ElementName("BUDGET_PERIOD")
@Nullable
private BudgetPeriod budgetPeriod;
/**
* Field name: BUSINESSPLACE
*
* Type element: ACPI_BRANCH
* Domain name: CHAR4
* Internal type: CHAR
* Description: Stores
* Max length: 4
*
*
*/
@ElementName("BUSINESSPLACE")
@Nullable
private String businessplace;
/**
* Field name: BUS_AREA
*
* Type element: GSBER
* Domain name: GSBER
* Internal type: CHAR
* Description: Business Area
* Max length: 4
*
*
*/
@ElementName("BUS_AREA")
@Nullable
private BusinessArea busArea;
/**
* Field name: CASE_GUID
*
* Type element: SCMG_CASE_GUID
* Domain name: SYSUUID_C
* Internal type: CHAR
* Description: Technical Case Key (Case GUID)
* Max length: 32
*
*
*/
@ElementName("CASE_GUID")
@Nullable
private TechnicalCaseKey caseGuid;
/**
* Field name: COMP_CODE
*
* Type element: BUKRS
* Domain name: BUKRS
* Internal type: CHAR
* Description: Company Code
* Max length: 4
*
*
*/
@ElementName("COMP_CODE")
@Nullable
private CompanyCode compCode;
/**
* Field name: CUSTOMER
*
* Type element: KUNNR
* Domain name: KUNNR
* Internal type: CHAR
* Description: Customer Number
* Max length: 10
*
*
*/
@ElementName("CUSTOMER")
@Nullable
private CustomerNumber customer;
/**
* Field name: C_CTR_AREA
*
* Type element: ACPI_KKBER
* Domain name: CHAR04
* Internal type: CHAR
* Description: Credit control area
* Max length: 4
*
*
*/
@ElementName("C_CTR_AREA")
@Nullable
private String cCtrArea;
/**
* Field name: DISPUTE_IF_TYPE
*
* Type element: DISPUTE_IF_TYPE
* Domain name: DISPUTE_IF_TYPE
* Internal type: CHAR
* Description: Dispute Management: Dispute Interface Category
* Max length: 1
*
*
*/
@ElementName("DISPUTE_IF_TYPE")
@Nullable
private DisputeManagementDisputeInterfaceCategory disputeIfType;
/**
* Field name: DSCT_DAYS1
*
* Type element: ACPI_ZBD1T
* Domain name: ZBDXT
* Internal type: DEC
* Description: Days for first cash discount
* Max length: 2
*
*
*/
@ElementName("DSCT_DAYS1")
@Nullable
private DaysForFirstCashDiscount dsctDays1;
/**
* Field name: DSCT_DAYS2
*
* Type element: ACPI_ZBD2T
* Domain name: ZBDXT
* Internal type: DEC
* Description: Days for second cash discount
* Max length: 2
*
*
*/
@ElementName("DSCT_DAYS2")
@Nullable
private DaysForSecondCashDiscount dsctDays2;
/**
* Field name: DSCT_PCT1
*
* Type element: ACPI_ZBD1P
* Domain name: PRZ23
* Internal type: DEC
* Description: Percentage for First Cash Discount
* Max length: 3
*
*
*/
@ElementName("DSCT_PCT1")
@Nullable
private PercentageForFirstCashDiscount dsctPct1;
/**
* Field name: DSCT_PCT2
*
* Type element: ACPI_ZBD2P
* Domain name: PRZ23
* Internal type: DEC
* Description: Percentage for Second Cash Discount
* Max length: 3
*
*
*/
@ElementName("DSCT_PCT2")
@Nullable
private PercentageForSecondCashDiscount dsctPct2;
/**
* Field name: DUNN_AREA
*
* Type element: ACPI_MABER
* Domain name: ACPI_MABER
* Internal type: CHAR
* Description: Dunning Area
* Max length: 2
*
*
*/
@ElementName("DUNN_AREA")
@Nullable
private DunningArea dunnArea;
/**
* Field name: DUNN_BLOCK
*
* Type element: ACPI_MANSP
* Domain name: CHAR1
* Internal type: CHAR
* Description: Dunning Block
* Max length: 1
*
*
*/
@ElementName("DUNN_BLOCK")
@Nullable
private String dunnBlock;
/**
* Field name: DUNN_KEY
*
* Type element: ACPI_MSCHL
* Domain name: CHAR1
* Internal type: CHAR
* Description: Dunning keys
* Max length: 1
*
*
*/
@ElementName("DUNN_KEY")
@Nullable
private String dunnKey;
/**
* Field name: FUND
*
* Type element: BP_GEBER
* Domain name: BP_GEBER
* Internal type: CHAR
* Description: Fund
* Max length: 10
*
*
*/
@ElementName("FUND")
@Nullable
private Fund fund;
/**
* Field name: FUND_LONG
*
* Type element: FM_FUND_LONG
* Domain name: FM_FUND
* Internal type: CHAR
* Description: Long Fund (Obsolete)
* Max length: 20
*
*
*/
@ElementName("FUND_LONG")
@Nullable
private LongFund fundLong;
/**
* Field name: GL_ACCOUNT
*
* Type element: HKONT
* Domain name: SAKNR
* Internal type: CHAR
* Description: General Ledger Account
* Max length: 10
*
*
*/
@ElementName("GL_ACCOUNT")
@Nullable
private GeneralLedgerAccount glAccount;
/**
* Field name: GRANT_NBR
*
* Type element: GM_GRANT_NBR
* Domain name: GM_GRANT_NBR
* Internal type: CHAR
* Description: Grant
* Max length: 20
*
*
*/
@ElementName("GRANT_NBR")
@Nullable
private Grant grantNbr;
/**
* Field name: HOUSEBANKACCTID
*
* Type element: HKTID
* Domain name: HKTID
* Internal type: CHAR
* Description: ID for Account Details
* Max length: 5
*
*
*/
@ElementName("HOUSEBANKACCTID")
@Nullable
private IdForAccountDetails housebankacctid;
/**
* 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: ITEM_TEXT
*
* Type element: SGTXT
* Domain name: TEXT50
* Internal type: CHAR
* Description: Item Text
* Max length: 50
*
*
*/
@ElementName("ITEM_TEXT")
@Nullable
private String itemText;
/**
* Field name: MEASURE
*
* Type element: FM_MEASURE
* Domain name: FM_MEASURE
* Internal type: CHAR
* Description: Funded Program
* Max length: 24
*
*
*/
@ElementName("MEASURE")
@Nullable
private FundedProgram measure;
/**
* Field name: NETTERMS
*
* Type element: ACPI_ZBD3T
* Domain name: ZBDXT
* Internal type: DEC
* Description: Deadline for net conditions
* Max length: 2
*
*
*/
@ElementName("NETTERMS")
@Nullable
private DeadlineForNetConditions netterms;
/**
* Field name: PARTNER_BK
*
* Type element: BVTYP
* Domain name: BVTYP
* Internal type: CHAR
* Description: Partner bank type
* Max length: 4
*
*
*/
@ElementName("PARTNER_BK")
@Nullable
private PartnerBankType partnerBk;
/**
* Field name: PARTNER_GUID
*
* Type element: ACPI_GC_PARTNEG
* Domain name: CHAR32
* Internal type: CHAR
* Description: Com. Interface: Business Partner GUID
* Max length: 32
*
*
*/
@ElementName("PARTNER_GUID")
@Nullable
private String partnerGuid;
/**
* Field name: PART_BUSINESSPLACE
*
* Type element: BCODE
* Domain name: BCODE
* Internal type: CHAR
* Description: Branch Code
* Max length: 5
*
*
*/
@ElementName("PART_BUSINESSPLACE")
@Nullable
private BranchCode partBusinessplace;
/**
* Field name: PAYMT_REF
*
* Type element: ACPI_KIDNO
* Domain name: CHAR30
* Internal type: CHAR
* Description: Payment Reference
* Max length: 30
*
*
*/
@ElementName("PAYMT_REF")
@Nullable
private String paymtRef;
/**
* Field name: PAYS_PROV
*
* Type element: COM_WEC_PAYMENT_SRV_PROVIDER
* Domain name: COM_WEC_PAYMENT_SRV_PROVIDER
* Internal type: CHAR
* Description: Payment Service Provider
* Max length: 4
*
*
*/
@ElementName("PAYS_PROV")
@Nullable
private PaymentServiceProvider paysProv;
/**
* Field name: PAYS_TRAN
*
* Type element: FPS_TRANSACTION
* Domain name: COM_WEC_PSP_TRANSACTION_ID
* Internal type: CHAR
* Description: Payment Reference of Payment Service Provider
* Max length: 35
*
*
*/
@ElementName("PAYS_TRAN")
@Nullable
private PaymentReferenceOfPaymentServiceProvider paysTran;
/**
* Field name: PMNTTRMS
*
* Type element: ACPI_ZTERM
* Domain name: CHAR4
* Internal type: CHAR
* Description: Terms of Payment Key
* Max length: 4
*
*
*/
@ElementName("PMNTTRMS")
@Nullable
private String pmnttrms;
/**
* Field name: PMNT_BLOCK
*
* Type element: ACPI_ZLSPR
* Domain name: CHAR1
* Internal type: CHAR
* Description: Payment block key
* Max length: 1
*
*
*/
@ElementName("PMNT_BLOCK")
@Nullable
private String pmntBlock;
/**
* Field name: PMTMTHSUPL
*
* Type element: UZAWE
* Domain name: UZAWE
* Internal type: CHAR
* Description: Payment method supplement
* Max length: 2
*
*
*/
@ElementName("PMTMTHSUPL")
@Nullable
private PaymentMethodSupplement pmtmthsupl;
/**
* Field name: PROFIT_CTR
*
* Type element: PRCTR
* Domain name: PRCTR
* Internal type: CHAR
* Description: Profit Center
* Max length: 10
*
*
*/
@ElementName("PROFIT_CTR")
@Nullable
private ProfitCenter profitCtr;
/**
* Field name: PYMT_AMT
*
* Type element: ACPI_PYAMT
* Domain name: BAPICURR
* Internal type: DEC
* Description: Amount in Payment Currency
* Max length: 12
*
*
*/
@ElementName("PYMT_AMT")
@Nullable
private AmountInPaymentCurrency pymtAmt;
/**
* Field name: PYMT_AMT_LONG
*
* Type element: ACPI_PYAMT_31
* Domain name: BAPICUREXT31
* Internal type: DEC
* Description: Amount in Payment Currency (31 digits)
* Max length: 16
*
*
*/
@ElementName("PYMT_AMT_LONG")
@Nullable
private AmountInPaymentCurrency16 pymtAmtLong;
/**
* Field name: PYMT_CUR
*
* Type element: ACPI_PYCUR
* Domain name: WAERS
* Internal type: CUKY
* Description: Currency for automatic payment
* Max length: 5
*
*
*/
@ElementName("PYMT_CUR")
@Nullable
private CurrencyForAutomaticPayment pymtCur;
/**
* Field name: PYMT_CUR_ISO
*
* Type element: WAERS_ISO
* Domain name: ISOCD
* Internal type: CHAR
* Description: ISO Code Currency
* Max length: 3
*
*
*/
@ElementName("PYMT_CUR_ISO")
@Nullable
private IsoCodeCurrency pymtCurIso;
/**
* Field name: PYMT_METH
*
* Type element: ACPI_ZLSCH
* Domain name: ZLSCH
* Internal type: CHAR
* Description: Payment method
* Max length: 1
*
*
*/
@ElementName("PYMT_METH")
@Nullable
private PaymentMethod pymtMeth;
/**
* Field name: REF_KEY_1
*
* Type element: XREF1
* Domain name: CHAR12
* Internal type: CHAR
* Description: Business Partner Reference Key
* Max length: 12
*
*
*/
@ElementName("REF_KEY_1")
@Nullable
private String refKey1;
/**
* Field name: REF_KEY_2
*
* Type element: XREF2
* Domain name: CHAR12
* Internal type: CHAR
* Description: Business Partner Reference Key
* Max length: 12
*
*
*/
@ElementName("REF_KEY_2")
@Nullable
private String refKey2;
/**
* Field name: REF_KEY_3
*
* Type element: XREF3
* Domain name: CHAR20
* Internal type: CHAR
* Description: Reference key for line item
* Max length: 20
*
*
*/
@ElementName("REF_KEY_3")
@Nullable
private String refKey3;
/**
* Field name: REP_COUNTRY_EU
*
* Type element: EGMLD_BSEZ
* Domain name: LAND1
* Internal type: CHAR
* Description: Reporting Country for Delivery of Goods within the EU
* Max length: 3
*
*
*/
@ElementName("REP_COUNTRY_EU")
@Nullable
private ReportingCountryForDeliveryOfGoodsWithinTheEu repCountryEu;
/**
* Field name: RES_DOC
*
* Type element: KBLNR
* Domain name: KBLNR
* Internal type: CHAR
* Description: Document Number for Earmarked Funds
* Max length: 10
*
*
*/
@ElementName("RES_DOC")
@Nullable
private DocumentNumberForEarmarkedFunds resDoc;
/**
* Field name: RES_ITEM
*
* Type element: KBLPOS
* Domain name: KBLPOS
* Internal type: NUMC
* Description: Earmarked Funds: Document Item
* Max length: 3
*
*
*/
@ElementName("RES_ITEM")
@Nullable
private EarmarkedFundsDocumentItem resItem;
/**
* Field name: SALES_ORD
*
* Type element: KDAUF
* Domain name: VBELN
* Internal type: CHAR
* Description: Sales Order Number
* Max length: 10
*
*
*/
@ElementName("SALES_ORD")
@Nullable
private SalesOrderNumber salesOrd;
/**
* Field name: SCBANK_IND
*
* Type element: LZBKZ
* Domain name: LZBKZ
* Internal type: CHAR
* Description: State Central Bank Indicator
* Max length: 3
*
*
*/
@ElementName("SCBANK_IND")
@Nullable
private StateCentralBankIndicator scbankInd;
/**
* Field name: SECTIONCODE
*
* Type element: ACPI_SECCO1
* Domain name: CHAR4
* Internal type: CHAR
* Description: Section Code
* Max length: 4
*
*
*/
@ElementName("SECTIONCODE")
@Nullable
private String sectioncode;
/**
* Field name: SEPA_MANDATE_ID
*
* Type element: SEPA_MNDID
* Domain name: ID035
* Internal type: CHAR
* Description: Unique Reference to Mandate for each Payee
* Max length: 35
*
*
*/
@ElementName("SEPA_MANDATE_ID")
@Nullable
private UniqueReferenceToMandateForEachPayee sepaMandateId;
/**
* Field name: SP_GL_IND
*
* Type element: ACPI_UMSKZ
* Domain name: CHAR1
* Internal type: CHAR
* Description: Special G/L Indicator
* Max length: 1
*
*
*/
@ElementName("SP_GL_IND")
@Nullable
private String spGlInd;
/**
* Field name: SUPCOUNTRY
*
* Type element: LANDL
* Domain name: LAND1
* Internal type: CHAR
* Description: Supplying Country
* Max length: 3
*
*
*/
@ElementName("SUPCOUNTRY")
@Nullable
private SupplyingCountry supcountry;
/**
* Field name: SUPCOUNTRY_ISO
*
* Type element: LANDL_ISO
* Domain name: INTCA
* Internal type: CHAR
* Description: Supplier country ISO code
* Max length: 2
*
*
*/
@ElementName("SUPCOUNTRY_ISO")
@Nullable
private SupplierCountryIsoCode supcountryIso;
/**
* Field name: S_ORD_ITEM
*
* Type element: KDPOS
* Domain name: NUM06
* Internal type: NUMC
* Description: Item number in Sales Order
* Max length: 6
*
*
*/
@ElementName("S_ORD_ITEM")
@Nullable
private ItemNumberInSalesOrder sOrdItem;
/**
* Field name: TAXJURCODE
*
* Type element: TXJCD
* Domain name: TXJCD
* Internal type: CHAR
* Description: Tax Jurisdiction
* Max length: 15
*
*
*/
@ElementName("TAXJURCODE")
@Nullable
private TaxJurisdiction taxjurcode;
/**
* Field name: TAX_CODE
*
* Type element: MWSKZ
* Domain name: MWSKZ
* Internal type: CHAR
* Description: Tax on Sales/Purchases Code
* Max length: 2
*
*
*/
@ElementName("TAX_CODE")
@Nullable
private TaxOnSalesPurchasesCode taxCode;
/**
* Field name: TAX_DATE
*
* Type element: ACPI_TXDAT
* Domain name: DATUM
* Internal type: DATS
* Description: Date Relevant for Determining the Tax Rate
* Max length: 8
*
*
*/
@ElementName("TAX_DATE")
@Nullable
private LocalDate taxDate;
/**
* Field name: VAT_REG_NO
*
* Type element: STCEG
* Domain name: STCEG
* Internal type: CHAR
* Description: VAT Registration Number
* Max length: 20
*
*
*/
@ElementName("VAT_REG_NO")
@Nullable
private VatRegistrationNumber vatRegNo;
public void validate()
throws IllegalArgumentException
{
if ((businessplace!= null)&&(businessplace.length()> 4)) {
throw new IllegalArgumentException("Bapi method parameter \"businessplace\" contains an invalid structure. Structure attribute \"BUSINESSPLACE\" / Function parameter \"businessplace\" must have at most 4 characters. The given value is too long.");
}
if ((cCtrArea!= null)&&(cCtrArea.length()> 4)) {
throw new IllegalArgumentException("Bapi method parameter \"cCtrArea\" contains an invalid structure. Structure attribute \"C_CTR_AREA\" / Function parameter \"cCtrArea\" must have at most 4 characters. The given value is too long.");
}
if ((dunnBlock!= null)&&(dunnBlock.length()> 1)) {
throw new IllegalArgumentException("Bapi method parameter \"dunnBlock\" contains an invalid structure. Structure attribute \"DUNN_BLOCK\" / Function parameter \"dunnBlock\" must have at most 1 characters. The given value is too long.");
}
if ((dunnKey!= null)&&(dunnKey.length()> 1)) {
throw new IllegalArgumentException("Bapi method parameter \"dunnKey\" contains an invalid structure. Structure attribute \"DUNN_KEY\" / Function parameter \"dunnKey\" must have at most 1 characters. The given value is too long.");
}
if ((itemText!= null)&&(itemText.length()> 50)) {
throw new IllegalArgumentException("Bapi method parameter \"itemText\" contains an invalid structure. Structure attribute \"ITEM_TEXT\" / Function parameter \"itemText\" must have at most 50 characters. The given value is too long.");
}
if ((partnerGuid!= null)&&(partnerGuid.length()> 32)) {
throw new IllegalArgumentException("Bapi method parameter \"partnerGuid\" contains an invalid structure. Structure attribute \"PARTNER_GUID\" / Function parameter \"partnerGuid\" must have at most 32 characters. The given value is too long.");
}
if ((paymtRef!= null)&&(paymtRef.length()> 30)) {
throw new IllegalArgumentException("Bapi method parameter \"paymtRef\" contains an invalid structure. Structure attribute \"PAYMT_REF\" / Function parameter \"paymtRef\" must have at most 30 characters. The given value is too long.");
}
if ((pmnttrms!= null)&&(pmnttrms.length()> 4)) {
throw new IllegalArgumentException("Bapi method parameter \"pmnttrms\" contains an invalid structure. Structure attribute \"PMNTTRMS\" / Function parameter \"pmnttrms\" must have at most 4 characters. The given value is too long.");
}
if ((pmntBlock!= null)&&(pmntBlock.length()> 1)) {
throw new IllegalArgumentException("Bapi method parameter \"pmntBlock\" contains an invalid structure. Structure attribute \"PMNT_BLOCK\" / Function parameter \"pmntBlock\" must have at most 1 characters. The given value is too long.");
}
if ((refKey1 != null)&&(refKey1 .length()> 12)) {
throw new IllegalArgumentException("Bapi method parameter \"refKey1\" contains an invalid structure. Structure attribute \"REF_KEY_1\" / Function parameter \"refKey1\" must have at most 12 characters. The given value is too long.");
}
if ((refKey2 != null)&&(refKey2 .length()> 12)) {
throw new IllegalArgumentException("Bapi method parameter \"refKey2\" contains an invalid structure. Structure attribute \"REF_KEY_2\" / Function parameter \"refKey2\" must have at most 12 characters. The given value is too long.");
}
if ((refKey3 != null)&&(refKey3 .length()> 20)) {
throw new IllegalArgumentException("Bapi method parameter \"refKey3\" contains an invalid structure. Structure attribute \"REF_KEY_3\" / Function parameter \"refKey3\" must have at most 20 characters. The given value is too long.");
}
if ((sectioncode!= null)&&(sectioncode.length()> 4)) {
throw new IllegalArgumentException("Bapi method parameter \"sectioncode\" contains an invalid structure. Structure attribute \"SECTIONCODE\" / Function parameter \"sectioncode\" must have at most 4 characters. The given value is too long.");
}
if ((spGlInd!= null)&&(spGlInd.length()> 1)) {
throw new IllegalArgumentException("Bapi method parameter \"spGlInd\" contains an invalid structure. Structure attribute \"SP_GL_IND\" / Function parameter \"spGlInd\" must have at most 1 characters. The given value is too long.");
}
}
}