示例#1
0
 /// <summary>
 /// Sets the ShippingAddress property.
 /// </summary>
 /// <param name="shippingAddress">ShippingAddress property.</param>
 /// <returns>this instance.</returns>
 public Order WithShippingAddress(Address shippingAddress)
 {
     this._shippingAddress = shippingAddress;
     return this;
 }
示例#2
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _amazonOrderId = reader.Read<string>("AmazonOrderId");
     _sellerOrderId = reader.Read<string>("SellerOrderId");
     _purchaseDate = reader.Read<DateTime?>("PurchaseDate");
     _lastUpdateDate = reader.Read<DateTime?>("LastUpdateDate");
     _orderStatus = reader.Read<string>("OrderStatus");
     _fulfillmentChannel = reader.Read<string>("FulfillmentChannel");
     _salesChannel = reader.Read<string>("SalesChannel");
     _orderChannel = reader.Read<string>("OrderChannel");
     _shipServiceLevel = reader.Read<string>("ShipServiceLevel");
     _shippingAddress = reader.Read<Address>("ShippingAddress");
     _orderTotal = reader.Read<Money>("OrderTotal");
     _numberOfItemsShipped = reader.Read<decimal?>("NumberOfItemsShipped");
     _numberOfItemsUnshipped = reader.Read<decimal?>("NumberOfItemsUnshipped");
     _paymentExecutionDetail = reader.ReadList<PaymentExecutionDetailItem>("PaymentExecutionDetail", "PaymentExecutionDetailItem");
     _paymentMethod = reader.Read<string>("PaymentMethod");
     _marketplaceId = reader.Read<string>("MarketplaceId");
     _buyerEmail = reader.Read<string>("BuyerEmail");
     _buyerName = reader.Read<string>("BuyerName");
     _shipmentServiceLevelCategory = reader.Read<string>("ShipmentServiceLevelCategory");
     _shippedByAmazonTFM = reader.Read<bool?>("ShippedByAmazonTFM");
     _tfmShipmentStatus = reader.Read<string>("TFMShipmentStatus");
     _cbaDisplayableShippingLabel = reader.Read<string>("CbaDisplayableShippingLabel");
     _orderType = reader.Read<string>("OrderType");
     _earliestShipDate = reader.Read<DateTime?>("EarliestShipDate");
     _latestShipDate = reader.Read<DateTime?>("LatestShipDate");
     _earliestDeliveryDate = reader.Read<DateTime?>("EarliestDeliveryDate");
     _latestDeliveryDate = reader.Read<DateTime?>("LatestDeliveryDate");
     _isBusinessOrder = reader.Read<bool?>("IsBusinessOrder");
     _purchaseOrderNumber = reader.Read<string>("PurchaseOrderNumber");
     _isPrime = reader.Read<bool?>("IsPrime");
     _isPremiumOrder = reader.Read<bool?>("IsPremiumOrder");
 }