public ShipmentRequestDetails(string amazonOrderId, List <Item> itemList, Address shipFromAddress, PackageDimensions packageDimensions, Weight weight, ShippingServiceOptions shippingServiceOptions) : base() { this._amazonOrderId = amazonOrderId; this._itemList = itemList; this._shipFromAddress = shipFromAddress; this._packageDimensions = packageDimensions; this._weight = weight; this._shippingServiceOptions = shippingServiceOptions; }
public Shipment(string shipmentId, Address shipFromAddress, Address shipToAddress, PackageDimensions packageDimensions, Weight weight, ShippingService shippingService, string status, DateTime?createdDate) : base() { this._shipmentId = shipmentId; this._shipFromAddress = shipFromAddress; this._shipToAddress = shipToAddress; this._packageDimensions = packageDimensions; this._weight = weight; this._shippingService = shippingService; this._status = status; this._createdDate = createdDate; }
public override void ReadFragmentFrom(IMwsReader reader) { _amazonOrderId = reader.Read <string>("AmazonOrderId"); _sellerOrderId = reader.Read <string>("SellerOrderId"); _itemList = reader.ReadList <Item>("ItemList", "Item"); _shipFromAddress = reader.Read <Address>("ShipFromAddress"); _packageDimensions = reader.Read <PackageDimensions>("PackageDimensions"); _weight = reader.Read <Weight>("Weight"); _mustArriveByDate = reader.Read <DateTime?>("MustArriveByDate"); _shipDate = reader.Read <DateTime?>("ShipDate"); _shippingServiceOptions = reader.Read <ShippingServiceOptions>("ShippingServiceOptions"); _labelCustomization = reader.Read <LabelCustomization>("LabelCustomization"); }
public override void ReadFragmentFrom(IMwsReader reader) { _shipmentId = reader.Read <string>("ShipmentId"); _amazonOrderId = reader.Read <string>("AmazonOrderId"); _sellerOrderId = reader.Read <string>("SellerOrderId"); _itemList = reader.ReadList <Item>("ItemList", "Item"); _shipFromAddress = reader.Read <Address>("ShipFromAddress"); _shipToAddress = reader.Read <Address>("ShipToAddress"); _packageDimensions = reader.Read <PackageDimensions>("PackageDimensions"); _weight = reader.Read <Weight>("Weight"); _insurance = reader.Read <CurrencyAmount>("Insurance"); _shippingService = reader.Read <ShippingService>("ShippingService"); _label = reader.Read <Label>("Label"); _status = reader.Read <string>("Status"); _trackingId = reader.Read <string>("TrackingId"); _createdDate = reader.Read <DateTime?>("CreatedDate"); _lastUpdatedDate = reader.Read <DateTime?>("LastUpdatedDate"); }
/// <summary> /// Sets the PackageDimensions property. /// </summary> /// <param name="packageDimensions">PackageDimensions property.</param> /// <returns>this instance.</returns> public Shipment WithPackageDimensions(PackageDimensions packageDimensions) { this._packageDimensions = packageDimensions; return(this); }
/// <summary> /// Sets the PackageDimensions property. /// </summary> /// <param name="packageDimensions">PackageDimensions property.</param> /// <returns>this instance.</returns> public ShipmentRequestDetails WithPackageDimensions(PackageDimensions packageDimensions) { this._packageDimensions = packageDimensions; return(this); }