Class ApprovalCustomsDataDTO

java.lang.Object
de.aeb.xnsg.licmgmt.bf.lm.approvaldata.customs.ApprovalCustomsDataDTO

public class ApprovalCustomsDataDTO extends Object
For every jurisdiction there may be zero or 1 approval for a transaction item.
For every approval, at least one ApprovalCustomsDataDTO is returned.
For approvals which may be declared to customs in more than one country (which especially may be true for countries in the EU), one ApprovalCustomsDataDTO per country may be returned.
Since:
2022/08
  • Field Details

    • customsProcessCountry

      public String customsProcessCountry
      The country for which the approval may be used for customs declaration, e.g. "US", "GB" or "DE".
      The special value "EU" is used for approvals which may be used for declaration in all EU countries, unless a more specific ApprovalCustomsDataDTO with a concrete country code (e.g. "DE") and typically a more specific value for customsLicenseTypeCode is also returned in another ApprovalCustomsDataDTO.

      Maximum length: 2
    • customsLicenseTypeCode

      public String customsLicenseTypeCode
      A code for the customs system for the license type.
      For EU and GB, this is the concatenation of code/qualifier of a produced document for the license type.

      Maximum length: 81
    • licenseNumber

      public String licenseNumber
      The license number or the ID of a license exception (US) or a general license (EU), associated with the approval.

      Maximum length: 100
    • licenseItemNumber

      public String licenseItemNumber
      The license item number, if the approval was associated to a license with items.

      Maximum length: 100
    • licenseValidFromDate

      public String licenseValidFromDate
      Start of the validity of the license.

      Format: yyyy-MM-dd
      Example value: "2016-09-21"
    • licenseExpirationDate

      public String licenseExpirationDate
      End of the validity of the license.

      Format: yyyy-MM-dd
      Example value: "2016-09-21"
    • valueBooked

      public BigDecimal valueBooked
      The value booked from the license, if the license supports value booking.

      The number has up to 13 digits before the decimal point and exactly 2 digits after the decimal point.
    • valueBookedCurrency

      public String valueBookedCurrency
      The currency of the value booked from the license.

      Maximum length: 3
    • quantityBooked

      public BigDecimal quantityBooked
      The quantity booked from the license, if the license supports quantity booking.

      The number has up to 20 digits before the decimal point and exactly 7 digits after the decimal point.
    • quantityBookedUnit

      public String quantityBookedUnit
      The unit of the quantity booked from the license.

      Maximum length: 20
    • extensions

      public ApprovalCustomsDataExtensionDTO[] extensions
      Encodes country specific data.
  • Constructor Details

    • ApprovalCustomsDataDTO

      public ApprovalCustomsDataDTO()