public CreateFulfillmentOrderRequest(string sellerId, string sellerFulfillmentOrderId, string displayableOrderId, DateTime?displayableOrderDateTime, string displayableOrderComment, string shippingSpeedCategory, Address destinationAddress, CreateFulfillmentOrderItemList items) : base() { this._sellerId = sellerId; this._sellerFulfillmentOrderId = sellerFulfillmentOrderId; this._displayableOrderId = displayableOrderId; this._displayableOrderDateTime = displayableOrderDateTime; this._displayableOrderComment = displayableOrderComment; this._shippingSpeedCategory = shippingSpeedCategory; this._destinationAddress = destinationAddress; this._items = items; }
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"); }
/// <summary> /// Sets the Items property. /// </summary> /// <param name="items">Items property.</param> /// <returns>this instance.</returns> public CreateFulfillmentOrderRequest WithItems(CreateFulfillmentOrderItemList items) { this._items = items; return(this); }