public override void ReadFragmentFrom(IMwsReader reader) { _sellerId = reader.Read <string>("SellerId"); _mwsAuthToken = reader.Read <string>("MWSAuthToken"); _createdAfter = reader.Read <DateTime?>("CreatedAfter"); _createdBefore = reader.Read <DateTime?>("CreatedBefore"); _lastUpdatedAfter = reader.Read <DateTime?>("LastUpdatedAfter"); _lastUpdatedBefore = reader.Read <DateTime?>("LastUpdatedBefore"); _orderStatus = reader.ReadList <string>("OrderStatus", "Status"); _marketplaceId = reader.ReadList <string>("MarketplaceId", "Id"); _fulfillmentChannel = reader.ReadList <string>("FulfillmentChannel", "Channel"); _paymentMethod = reader.ReadList <string>("PaymentMethod", "Method"); _buyerEmail = reader.Read <string>("BuyerEmail"); _sellerOrderId = reader.Read <string>("SellerOrderId"); _maxResultsPerPage = reader.Read <decimal?>("MaxResultsPerPage"); _tfmShipmentStatus = reader.ReadList <string>("TFMShipmentStatus", "Status"); _easyShipShipmentStatus = reader.ReadList <string>("EasyShipShipmentStatus", "Status"); _actualFulfillmentSupplySourceId = reader.Read <string>("ActualFulfillmentSupplySourceId"); _isISPU = reader.Read <bool?>("IsISPU"); _item = reader.Read <ListOrdersOrderItem>("Item"); }
/// <summary> /// Sets the Item property. /// </summary> /// <param name="item">Item property.</param> /// <returns>this instance.</returns> public ListOrdersRequest WithItem(ListOrdersOrderItem item) { this._item = item; return(this); }