Shipment class
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
Shipment(dynamic id, dynamic createdAt, dynamic updatedAt, dynamic objectType, dynamic mode, String? batchId, String? batchMessage, String? batchStatus, Address? buyerAddress, List<
CarrierAccount> ? carrierAccounts, CustomsInfo? customsInfo, List<Fee> ? fees, List<Form> ? forms, Address? fromAddress, double? insurance, bool? isReturn, List<Message> ? messages, Options? options, String? orderId, Parcel? parcel, PostageLabel? postageLabel, List<ShipmentRate> ? rates, String? reference, String? refundStatus, Address? returnAddress, ScanForm? scanForm, ShipmentRate? selectedRate, String? service, String? status, List<TaxIdentifier> ? taxIdentifiers, Address? toAddress, Tracker? tracker, String? trackingCode, int? uspsZone) -
Shipment.fromJson(Map<
String, dynamic> input) -
factory
Properties
- batchId → String?
-
final
- batchMessage → String?
-
final
- batchStatus → String?
-
final
- buyerAddress → Address?
-
final
-
carrierAccounts
→ List<
CarrierAccount> ? -
final
- createdAt → DateTime?
-
finalinherited
- customsInfo → CustomsInfo?
-
final
-
fees
→ List<
Fee> ? -
final
-
forms
→ List<
Form> ? -
final
- fromAddress → Address?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
finalinherited
- insurance → double?
-
final
- isReturn → bool?
-
final
-
messages
→ List<
Message> ? -
final
- mode → String?
-
finalinherited
- objectType → String?
-
finalinherited
- options → Options?
-
final
- orderId → String?
-
final
- parcel → Parcel?
-
final
- postageLabel → PostageLabel?
-
final
- prefix → String?
-
no setterinherited
-
rates
→ List<
ShipmentRate> ? -
final
- reference → String?
-
final
- refundStatus → String?
-
final
- returnAddress → Address?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scanForm → ScanForm?
-
final
- selectedRate → ShipmentRate?
-
final
- service → String?
-
final
- status → String?
-
final
-
taxIdentifiers
→ List<
TaxIdentifier> ? -
final
- toAddress → Address?
-
final
- tracker → Tracker?
-
final
- trackingCode → String?
-
final
- updatedAt → DateTime?
-
finalinherited
- uspsZone → int?
-
final
Methods
-
associatedShipmentRate(
QuotedRate rate, {bool lockPrice = false}) → ShipmentRate? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited