Destination class abstract
Destination
Properties:
- countryCode - The two-letter ISO 3166-1 alpha-2 or three-letter ISO 3166-1 alpha-3 country code for the destination address. * Encoding: ASCII * Min length: 2 characters * Max length: 3 characters * additionalData key:
enhancedSchemeData.destinationCountryCode - postalCode - The postal code of the destination address. * Encoding: ASCII * Max length: 10 characters * Must not start with a space. * For the US, it must be in five or nine digits format. For example, 10001 or 10001-0000. * For Canada, it must be in 6 digits format. For example, M4B 1G5. * additionalData key:
enhancedSchemeData.destinationPostalCode - stateOrProvince - The state or province code of the destination address. * Encoding: ASCII * Max length: 3 characters * Must not start with a space. * additionalData key:
enhancedSchemeData.destinationStateProvinceCode
- Annotations
-
- @BuiltValue.new()
Constructors
- Destination([void updates(DestinationBuilder b)])
-
factory
Properties
- countryCode → String?
-
The two-letter ISO 3166-1 alpha-2 or three-letter ISO 3166-1 alpha-3 country code for the destination address. * Encoding: ASCII * Min length: 2 characters * Max length: 3 characters * additionalData key:
enhancedSchemeData.destinationCountryCodeno setter - hashCode → int
-
The hash code for this object.
no setterinherited
- postalCode → String?
-
The postal code of the destination address. * Encoding: ASCII * Max length: 10 characters * Must not start with a space. * For the US, it must be in five or nine digits format. For example, 10001 or 10001-0000. * For Canada, it must be in 6 digits format. For example, M4B 1G5. * additionalData key:
enhancedSchemeData.destinationPostalCodeno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stateOrProvince → String?
-
The state or province code of the destination address. * Encoding: ASCII * Max length: 3 characters * Must not start with a space. * additionalData key:
enhancedSchemeData.destinationStateProvinceCodeno setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(DestinationBuilder)) → Destination -
Rebuilds the instance.
inherited
-
toBuilder(
) → DestinationBuilder -
Converts the instance to a builder
B.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
Destination> -
no setter