Example #1
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _sellerFulfillmentOrderId = reader.Read <string>("SellerFulfillmentOrderId");
     _marketplaceId            = reader.Read <string>("MarketplaceId");
     _displayableOrderId       = reader.Read <string>("DisplayableOrderId");
     _displayableOrderDateTime = reader.Read <DateTime?>("DisplayableOrderDateTime");
     _displayableOrderComment  = reader.Read <string>("DisplayableOrderComment");
     _shippingSpeedCategory    = reader.Read <string>("ShippingSpeedCategory");
     _deliveryWindow           = reader.Read <DeliveryWindow>("DeliveryWindow");
     _destinationAddress       = reader.Read <Address>("DestinationAddress");
     _fulfillmentAction        = reader.Read <string>("FulfillmentAction");
     _fulfillmentPolicy        = reader.Read <string>("FulfillmentPolicy");
     _fulfillmentMethod        = reader.Read <string>("FulfillmentMethod");
     _codSettings            = reader.Read <CODSettings>("CODSettings");
     _receivedDateTime       = reader.Read <DateTime?>("ReceivedDateTime");
     _fulfillmentOrderStatus = reader.Read <string>("FulfillmentOrderStatus");
     _statusUpdatedDateTime  = reader.Read <DateTime?>("StatusUpdatedDateTime");
     _notificationEmailList  = reader.Read <NotificationEmailList>("NotificationEmailList");
 }
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _sellerId                 = reader.Read <string>("SellerId");
     _mwsAuthToken             = reader.Read <string>("MWSAuthToken");
     _marketplace              = reader.Read <string>("Marketplace");
     _marketplaceId            = reader.Read <string>("MarketplaceId");
     _sellerFulfillmentOrderId = reader.Read <string>("SellerFulfillmentOrderId");
     _displayableOrderId       = reader.Read <string>("DisplayableOrderId");
     _displayableOrderDateTime = reader.Read <DateTime?>("DisplayableOrderDateTime");
     _displayableOrderComment  = reader.Read <string>("DisplayableOrderComment");
     _shippingSpeedCategory    = reader.Read <string>("ShippingSpeedCategory");
     _deliveryWindow           = reader.Read <DeliveryWindow>("DeliveryWindow");
     _destinationAddress       = reader.Read <Address>("DestinationAddress");
     _fulfillmentAction        = reader.Read <string>("FulfillmentAction");
     _fulfillmentPolicy        = reader.Read <string>("FulfillmentPolicy");
     _fulfillmentMethod        = reader.Read <string>("FulfillmentMethod");
     _codSettings              = reader.Read <CODSettings>("CODSettings");
     _shipFromCountryCode      = reader.Read <string>("ShipFromCountryCode");
     _notificationEmailList    = reader.Read <NotificationEmailList>("NotificationEmailList");
     _items = reader.Read <CreateFulfillmentOrderItemList>("Items");
 }
Example #3
0
 /// <summary>
 /// Sets the DeliveryWindow property.
 /// </summary>
 /// <param name="deliveryWindow">DeliveryWindow property.</param>
 /// <returns>this instance.</returns>
 public FulfillmentOrder WithDeliveryWindow(DeliveryWindow deliveryWindow)
 {
     this._deliveryWindow = deliveryWindow;
     return(this);
 }
 /// <summary>
 /// Sets the DeliveryWindow property.
 /// </summary>
 /// <param name="deliveryWindow">DeliveryWindow property.</param>
 /// <returns>this instance.</returns>
 public CreateFulfillmentOrderRequest WithDeliveryWindow(DeliveryWindow deliveryWindow)
 {
     this._deliveryWindow = deliveryWindow;
     return(this);
 }