Package de.aeb.xnsg.customs.dto.common
Class ClientSpecificFieldDTO
java.lang.Object
de.aeb.xnsg.customs.dto.common.ClientSpecificFieldDTO
Represents a client specific declaration field.
Client specific fields must be configured for the resulting declaration and are never intended to be used as actual fields which are send to customs. However this can be for example an additional criteria which is necessary for the customs process. The field can be used as a template criterion, used in filters and data extractions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionSpecific customs process.@NotNull(groups=EmptyMandatoryField.class) @Min(value=1L,groups=InvalidDataError.class) @Max(value=50L,groups=InvalidDataError.class) StringIdent code of the client specific field.@NotNull(groups=EmptyMandatoryField.class) @Min(value=1L,groups=InvalidDataError.class) @Max(value=100L,groups=InvalidDataError.class) StringValue of the client specific field. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
identCode
@NotNull(groups=EmptyMandatoryField.class) @Min(value=1L, groups=InvalidDataError.class) @Max(value=50L, groups=InvalidDataError.class) public @NotNull(groups=EmptyMandatoryField.class) @Min(value=1L,groups=InvalidDataError.class) @Max(value=50L,groups=InvalidDataError.class) String identCodeIdent code of the client specific field.length=50
-
value
@NotNull(groups=EmptyMandatoryField.class) @Min(value=1L, groups=InvalidDataError.class) @Max(value=100L, groups=InvalidDataError.class) public @NotNull(groups=EmptyMandatoryField.class) @Min(value=1L,groups=InvalidDataError.class) @Max(value=100L,groups=InvalidDataError.class) String valueValue of the client specific field.length=100
Supported data types:
- String
- Boolean such as 'true' or 'false'
- Decimal such as '10' or with additional precision '10.245'. The actual length and scale of the value depends on the field configuration, maximum length is 15 and maximum scale is 9. The scale will be set to the configured scale with half up rounding if the scale of the value exceeds the configured scale.
- Date such as '2024-06-24'
- DateTime in UTC such as '2024-06-24T10:15:30Z' or with additional precision up to nanoseconds such as '2024-06-24T10:15:30.999666333Z'
- Time such as '10:15:30' or with additional precision up to nanoseconds such as '10:15:30.999666333'
If the value cannot be parsed according to the configured data type, the value will be ignored and an error will be logged.
-
customsProcess
Specific customs process.- 'EXPORT_BE' - Export process for Belgium
- 'EXPORT_SE' - Export process for Sweden
- 'EXPORT_NL' - Export process for Netherlands
- 'TRANSIT_NL' - Transit process for Netherlands
- '... for full list see /InternationalCustomsBFBean/getCodes with codeListCode=CUSTOMS_PROCESS_TYPE *
length=20
-
-
Constructor Details
-
ClientSpecificFieldDTO
public ClientSpecificFieldDTO()
-