uk.gov.hmrc.wco

# dec

#### package dec

Visibility

1. Public
2. All

### Type Members

1. #### case class AdditionalDocument(id: Option[String] = None, categoryCode: Option[String] = None, typeCode: Option[String] = None) extends Product with Serializable

2. #### case class AdditionalInformation(statementCode: Option[String] = None, statementDescription: Option[String] = None, limitDateTime: Option[String] = None, statementTypeCode: Option[String] = None, pointers: Seq[Pointer] = Seq.empty) extends Product with Serializable

3. #### case class Address(cityName: Option[String] = None, countryCode: Option[String] = None, countrySubDivisionCode: Option[String] = None, countrySubDivisionName: Option[String] = None, line: Option[String] = None, postcodeId: Option[String] = None) extends Product with Serializable

4. #### case class Agent(name: Option[String] = None, id: Option[String] = None, functionCode: Option[String] = None, address: Option[Address] = None) extends Product with Serializable

5. #### case class Amendment(changeReasonCode: Option[String] = None, pointers: Seq[Pointer] = Seq.empty) extends Product with Serializable

6. #### case class Amount(currencyId: Option[String] = None, value: Option[BigDecimal] = None) extends Product with Serializable

   Annotations
     @JsonDeserialize()

7. #### class AmountDeserializer extends StdAttributeAndTextDeserializer[Amount]

8. #### case class Authentication(authentication: Option[String] = None, authenticator: Option[Authenticator] = None) extends Product with Serializable

9. #### case class Authenticator(name: Option[String] = None) extends Product with Serializable

10. #### case class AuthorisationHolder(id: Option[String] = None, categoryCode: Option[String] = None) extends Product with Serializable

11. #### case class BorderTransportMeans(name: Option[String] = None, id: Option[String] = None, identificationTypeCode: Option[String] = None, typeCode: Option[String] = None, registrationNationalityCode: Option[String] = None, modeCode: Option[Int] = None) extends Product with Serializable

12. #### case class ChargeDeduction(chargesTypeCode: Option[String] = None, otherChargeDeductionAmount: Option[Amount] = None) extends Product with Serializable

13. #### case class Classification(id: Option[String] = None, nameCode: Option[String] = None, identificationTypeCode: Option[String] = None, bindingTariffReferenceId: Option[String] = None) extends Product with Serializable

14. #### case class Commodity(description: Option[String] = None, classifications: Seq[Classification] = Seq.empty, dangerousGoods: Seq[DangerousGoods] = Seq.empty, dutyTaxFees: Seq[DutyTaxFee] = Seq.empty, goodsMeasure: Option[GoodsMeasure] = None, invoiceLine: Option[InvoiceLine] = None, transportEquipments: Seq[TransportEquipment] = Seq.empty) extends Product with Serializable

15. #### case class Communication(id: Option[String] = None, typeCode: Option[String] = None) extends Product with Serializable

16. #### case class Consignment(containerCode: Option[String] = None, arrivalTransportMeans: Option[TransportMeans] = None, departureTransportMeans: Option[TransportMeans] = None, freight: Option[Freight] = None, goodsLocation: Option[GoodsLocation] = None, itineraries: Seq[Itinerary] = Seq.empty, loadingLocation: Option[LoadingLocation] = None, transportEquipments: Seq[TransportEquipment] = Seq.empty) extends Product with Serializable

17. #### case class Contact(name: Option[String] = None) extends Product with Serializable

18. #### case class CurrencyExchange(currencyTypeCode: Option[String] = None, rateNumeric: Option[BigDecimal] = None) extends Product with Serializable

19. #### case class CustomsValuation(methodCode: Option[String] = None, freightChargeAmount: Option[BigDecimal] = None, chargeDeductions: Seq[ChargeDeduction] = Seq.empty) extends Product with Serializable

20. #### case class DangerousGoods(undgid: Option[String] = None) extends Product with Serializable

21. #### case class DateTimeElement(dateTimeString: DateTimeString) extends Product with Serializable

22. #### case class DateTimeString(formatCode: String, value: String) extends Product with Serializable

    Annotations
      @JsonDeserialize()

23. #### class DateTimeStringDeserializer extends StdAttributeAndTextDeserializer[DateTimeString]

24. #### case class Declaration(acceptanceDateTime: Option[DateTimeElement] = None, functionCode: Option[Int] = None, functionalReferenceId: Option[String] = None, id: Option[String] = None, issueDateTime: Option[DateTimeElement] = None, issueLocationId: Option[String] = None, typeCode: Option[String] = None, goodsItemQuantity: Option[Int] = None, declarationOfficeId: Option[String] = None, invoiceAmount: Option[Amount] = None, loadingListQuantity: Option[Int] = None, totalGrossMassMeasure: Option[Measure] = None, totalPackageQuantity: Option[Int] = None, specificCircumstancesCode: Option[String] = None, authentication: Option[Authentication] = None, submitter: Option[NamedEntityWithAddress] = None, additionalDocuments: Seq[AdditionalDocument] = Seq.empty, additionalInformations: Seq[AdditionalInformation] = Seq.empty, agent: Option[Agent] = None, amendments: Seq[Amendment] = Seq.empty, authorisationHolders: Seq[AuthorisationHolder] = Seq.empty, borderTransportMeans: Option[BorderTransportMeans] = None, currencyExchanges: Seq[CurrencyExchange] = Seq.empty, declarant: Option[ImportExportParty] = None, exitOffice: Option[Office] = None, exporter: Option[ImportExportParty] = None, goodsShipment: Option[GoodsShipment] = None, obligationGuarantees: Seq[ObligationGuarantee] = Seq.empty, presentationOffice: Option[Office] = None, supervisingOffice: Option[Office] = None) extends Product with Serializable

25. #### case class Destination(countryCode: Option[String] = None, regionId: Option[String] = None) extends Product with Serializable

26. #### case class DutyTaxFee(adValoremTaxBaseAmount: Option[Amount] = None, deductAmount: Option[Amount] = None, dutyRegimeCode: Option[String], specificTaxBaseQuantity: Option[Measure] = None, taxRateNumeric: Option[BigDecimal] = None, typeCode: Option[String] = None, quotaOrderId: Option[String] = None, payment: Option[Payment] = None) extends Product with Serializable

27. #### case class ExportCountry(id: String) extends Product with Serializable

28. #### case class Freight(paymentMethodCode: Option[String] = None) extends Product with Serializable

29. #### case class GoodsLocation(name: Option[String] = None, id: String, typeCode: Option[String], address: Option[GoodsLocationAddress] = None) extends Product with Serializable

30. #### case class GoodsLocationAddress(typeCode: Option[String] = None, cityName: Option[String] = None, countryCode: Option[String] = None, line: Option[String] = None, postcodeId: Option[String] = None) extends Product with Serializable

31. #### case class GoodsMeasure(grossMassMeasure: Option[Measure] = None, netWeightMeasure: Option[Measure] = None, tariffQuantity: Option[Measure] = None) extends Product with Serializable

32. #### case class GoodsShipment(exitDateTime: Option[DateTimeElement] = None, transactionNatureCode: Option[Int] = None, aeoMutualRecognitionParties: Seq[RoleBasedParty] = Seq.empty, buyer: Option[ImportExportParty] = None, consignee: Option[NamedEntityWithAddress] = None, consignment: Option[Consignment] = None, consignor: Option[NamedEntityWithAddress] = None, customsValuation: Option[CustomsValuation] = None, destination: Option[Destination] = None, domesticDutyTaxParties: Seq[RoleBasedParty] = Seq.empty, exportCountry: Option[ExportCountry] = None, governmentAgencyGoodsItems: Seq[GovernmentAgencyGoodsItem] = Seq.empty, importer: Option[ImportExportParty] = None, invoice: Option[Invoice] = None, payers: Seq[NamedEntityWithAddress] = Seq.empty, previousDocuments: Seq[PreviousDocument] = Seq.empty, seller: Option[ImportExportParty] = None, sureties: Seq[NamedEntityWithAddress] = Seq.empty, tradeTerms: Option[TradeTerms] = None, ucr: Option[Ucr] = None, warehouse: Option[Warehouse] = None) extends Product with Serializable

33. #### case class GovernmentAgencyGoodsItem(customsValueAmount: Option[BigDecimal] = None, sequenceNumeric: Int, statisticalValueAmount: Option[Amount] = None, transactionNatureCode: Option[Int] = None, additionalDocuments: Seq[GovernmentAgencyGoodsItemAdditionalDocument] = Seq.empty, additionalInformations: Seq[AdditionalInformation] = Seq.empty, aeoMutualRecognitionParties: Seq[RoleBasedParty] = Seq.empty, buyer: Option[ImportExportParty] = None, commodity: Option[Commodity] = None, consignee: Option[NamedEntityWithAddress] = None, consignor: Option[NamedEntityWithAddress] = None, customsValuation: Option[CustomsValuation] = None, destination: Option[Destination] = None, domesticDutyTaxParties: Seq[RoleBasedParty] = Seq.empty, exportCountry: Option[ExportCountry] = None, governmentProcedures: Seq[GovernmentProcedure] = Seq.empty, manufacturers: Seq[NamedEntityWithAddress] = Seq.empty, origins: Seq[Origin] = Seq.empty, packagings: Seq[Packaging] = Seq.empty, previousDocuments: Seq[PreviousDocument] = Seq.empty, refundRecipientParties: Seq[NamedEntityWithAddress] = Seq.empty, seller: Option[ImportExportParty] = None, ucr: Option[Ucr] = None, valuationAdjustment: Option[ValuationAdjustment] = None) extends Product with Serializable

34. #### case class GovernmentAgencyGoodsItemAdditionalDocument(categoryCode: Option[String] = None, effectiveDateTime: Option[DateTimeElement] = None, id: Option[String] = None, name: Option[String] = None, typeCode: Option[String] = None, lpcoExemptionCode: Option[String] = None, submitter: Option[GovernmentAgencyGoodsItemAdditionalDocumentSubmitter] = None, writeOff: Option[WriteOff] = None) extends Product with Serializable

35. #### case class GovernmentAgencyGoodsItemAdditionalDocumentSubmitter(name: Option[String] = None, roleCode: Option[String] = None) extends Product with Serializable

36. #### case class GovernmentProcedure(currentCode: Option[String] = None, previousCode: Option[String] = None) extends Product with Serializable

37. #### case class ImportExportParty(name: Option[String] = None, id: Option[String] = None, address: Option[Address] = None, contacts: Seq[Contact] = Seq.empty, communications: Seq[Communication] = Seq.empty) extends Product with Serializable

38. #### case class Invoice(id: Option[String] = None, issueDateTime: Option[DateTimeElement] = None) extends Product with Serializable

39. #### case class InvoiceLine(itemChargeAmount: Option[Amount] = None) extends Product with Serializable

40. #### case class Itinerary(sequenceNumeric: Int, routingCountryCode: Option[String] = None) extends Product with Serializable

41. #### trait JacksonMapper extends AnyRef

42. #### case class LoadingLocation(name: Option[String] = None, id: Option[String] = None) extends Product with Serializable

43. #### case class Measure(unitCode: Option[String] = None, value: Option[BigDecimal] = None) extends Product with Serializable

    Annotations
      @JsonDeserialize()

44. #### class MeasureDeserializer extends StdAttributeAndTextDeserializer[Measure]

45. #### case class MetaData(wcoDataModelVersionCode: Option[String] = None, wcoTypeName: Option[String] = None, responsibleCountryCode: Option[String] = None, responsibleAgencyName: Option[String] = None, agencyAssignedCustomizationCode: Option[String] = None, agencyAssignedCustomizationVersionCode: Option[String] = None, declaration: Option[Declaration] = None, response: Seq[Response] = Seq.empty) extends JacksonMapper with Product with Serializable

    Annotations
      @JsonIgnoreProperties() @JacksonXmlRootElement()

46. #### case class NamedEntityWithAddress(name: Option[String] = None, id: Option[String] = None, address: Option[Address] = None) extends Product with Serializable

47. #### case class ObligationGuarantee(amount: Option[BigDecimal] = None, id: Option[String] = None, referenceId: Option[String] = None, securityDetailsCode: Option[String] = None, accessCode: Option[String] = None, guaranteeOffice: Option[Office] = None) extends Product with Serializable

48. #### case class Office(id: Option[String]) extends Product with Serializable

49. #### case class Origin(countryCode: Option[String] = None, regionId: Option[String] = None, typeCode: Option[String] = None) extends Product with Serializable

50. #### case class Packaging(sequenceNumeric: Option[Int] = None, marksNumbersId: Option[String] = None, quantity: Option[Int] = None, typeCode: Option[String] = None, packingMaterialDescription: Option[String] = None, lengthMeasure: Option[Long] = None, widthMeasure: Option[Long] = None, heightMeasure: Option[Long] = None, volumeMeasure: Option[Measure] = None) extends Product with Serializable

51. #### case class Payment(methodCode: Option[String] = None, taxAssessedAmount: Option[Amount] = None, paymentAmount: Option[Amount] = None) extends Product with Serializable

52. #### case class Pointer(sequenceNumeric: Option[Int] = None, documentSectionCode: Option[String] = None, tagId: Option[String] = None) extends Product with Serializable

53. #### case class PreviousDocument(categoryCode: Option[String] = None, id: Option[String] = None, typeCode: Option[String] = None, lineNumeric: Option[Int] = None) extends Product with Serializable

54. #### case class Response(functionCode: Int, functionalReferenceId: Option[String] = None, issueDateTime: Option[ResponseDateTimeElement] = None, additionalInformations: Seq[ResponseAdditionalInformation] = Seq.empty, amendments: Seq[ResponseAmendment] = Seq.empty, appealOffice: Option[ResponseAppealOffice] = None, bank: Option[ResponseBank] = None, contactOffices: Seq[ResponseContactOffice] = Seq.empty, errors: Seq[ResponseError] = Seq.empty, status: Seq[ResponseStatus] = Seq.empty, declaration: Option[ResponseDeclaration] = None) extends Product with Serializable

55. #### case class ResponseAdditionalInformation(statementCode: Option[String] = None, statementDescription: Option[String] = None, limitDateTime: Option[ResponseDateTimeElement] = None, statementTypeCode: Option[String] = None, pointers: Seq[ResponsePointer] = Seq.empty) extends Product with Serializable

56. #### case class ResponseAmendment(changeReasonCode: Option[String] = None, pointers: Seq[ResponsePointer] = Seq.empty) extends Product with Serializable

57. #### case class ResponseAppealOffice(id: Option[String] = None) extends Product with Serializable

58. #### case class ResponseBank(referenceID: Option[String] = None, id: Option[String] = None) extends Product with Serializable

59. #### case class ResponseCommodity(dutyTaxFees: Seq[ResponseCommodityDutyTaxFee] = Seq.empty) extends Product with Serializable

60. #### case class ResponseCommodityDutyTaxFee(adValoremTaxBaseAmount: Option[Amount] = None, deductAmount: Option[Amount] = None, dutyRegimeCode: Option[String] = None, specificTaxBaseQuantity: Option[Measure] = None, taxRateNumeric: Option[BigDecimal] = None, typeCode: Option[String] = None, payment: Option[ResponseDutyTaxFeePayment] = None) extends Product with Serializable

61. #### case class ResponseCommunication(id: Option[String] = None, typeCode: Option[String] = None) extends Product with Serializable

62. #### case class ResponseContactOffice(id: Option[String] = None, communications: Seq[ResponseCommunication] = Seq.empty) extends Product with Serializable

63. #### case class ResponseDateTimeElement(dateTimeString: DateTimeString) extends Product with Serializable

64. #### case class ResponseDeclaration(acceptanceDateTime: Option[ResponseDateTimeElement] = None, cancellationDateTime: Option[ResponseDateTimeElement] = None, functionalReferenceId: Option[String] = None, id: Option[String] = None, rejectionDateTime: Option[ResponseDateTimeElement] = None, versionID: Option[String] = None, dutyTaxFees: Seq[ResponseDutyTaxFee] = Seq.empty, goodsShipment: Option[ResponseGoodsShipment] = None) extends Product with Serializable

65. #### case class ResponseDutyTaxFee(payment: Option[ResponsePayment] = None) extends Product with Serializable

66. #### case class ResponseDutyTaxFeePayment(taxAssessedAmount: Option[Amount] = None, paymentAmount: Option[Amount] = None) extends Product with Serializable

67. #### case class ResponseError(description: Option[String] = None, validationCode: Option[String] = None, pointers: Seq[ResponsePointer] = Seq.empty) extends Product with Serializable

68. #### case class ResponseGoodsShipment(governmentAgencyGoodsItems: Seq[ResponseGovernmentAgencyGoodsItem] = Seq.empty) extends Product with Serializable

69. #### case class ResponseGovernmentAgencyGoodsItem(sequenceNumeric: Int, commodity: Option[ResponseCommodity] = None) extends Product with Serializable

70. #### case class ResponseObligationGuarantee(referenceId: Option[String] = None) extends Product with Serializable

71. #### case class ResponsePayment(referenceId: Option[String] = None, taxAssessedAmount: Option[Amount] = None, dueDateTime: Option[ResponseDateTimeElement] = None, paymentAmount: Option[Amount] = None, obligationGuarantees: Seq[ResponseObligationGuarantee] = Seq.empty) extends Product with Serializable

72. #### case class ResponsePointer(sequenceNumeric: Option[Int] = None, documentSectionCode: Option[String] = None, tagId: Option[String] = None) extends Product with Serializable

73. #### case class ResponseStatus(effectiveDateTime: Option[ResponseDateTimeElement] = None, nameCode: Option[String] = None, releaseDateTime: Option[ResponseDateTimeElement] = None, pointers: Seq[ResponsePointer] = Seq.empty) extends Product with Serializable

74. #### case class RoleBasedParty(id: Option[String] = None, roleCode: Option[String] = None) extends Product with Serializable

75. #### case class Seal(sequenceNumeric: Int, id: Option[String] = None) extends Product with Serializable

76. #### abstract class StdAttributeAndTextDeserializer[T] extends StdDeserializer[T]

77. #### case class TradeTerms(conditionCode: Option[String] = None, countryRelationshipCode: Option[String] = None, description: Option[String] = None, locationId: Option[String] = None, locationName: Option[String] = None) extends Product with Serializable

78. #### case class TransportEquipment(sequenceNumeric: Int, id: Option[String] = None, seals: Seq[Seal] = Seq.empty) extends Product with Serializable

79. #### case class TransportMeans(name: Option[String] = None, id: Option[String] = None, identificationTypeCode: Option[String] = None, typeCode: Option[String] = None, modeCode: Option[Int] = None) extends Product with Serializable

80. #### case class TypeCodeValue(value: String, display: String, additionalDisplay: Option[String]) extends Product with Serializable

81. #### case class Ucr(id: Option[String] = None, traderAssignedReferenceId: Option[String] = None) extends Product with Serializable

82. #### case class ValuationAdjustment(additionCode: Option[String] = None) extends Product with Serializable

83. #### case class Warehouse(id: Option[String] = None, typeCode: String) extends Product with Serializable

84. #### case class WriteOff(quantity: Option[Measure] = None, amount: Option[Amount] = None) extends Product with Serializable

### Value Members

1. #### object CustomSeqModule extends SimpleModule

2. #### object MetaData extends JacksonMapper with Serializable

3. #### object SeqDeserializationModifier extends BeanDeserializerModifier

4. #### object TypeCodeValues

### Ungrouped