Пример #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 )
 {
     this._amazonOrderId = reader.Read< string >( "AmazonOrderId" );
     this._sellerOrderId = reader.Read< string >( "SellerOrderId" );
     this._purchaseDate = reader.Read< DateTime? >( "PurchaseDate" );
     this._lastUpdateDate = reader.Read< DateTime? >( "LastUpdateDate" );
     this._orderStatus = reader.Read< string >( "OrderStatus" );
     this._fulfillmentChannel = reader.Read< string >( "FulfillmentChannel" );
     this._salesChannel = reader.Read< string >( "SalesChannel" );
     this._orderChannel = reader.Read< string >( "OrderChannel" );
     this._shipServiceLevel = reader.Read< string >( "ShipServiceLevel" );
     this._shippingAddress = reader.Read< Address >( "ShippingAddress" );
     this._orderTotal = reader.Read< Money >( "OrderTotal" );
     this._numberOfItemsShipped = reader.Read< decimal? >( "NumberOfItemsShipped" );
     this._numberOfItemsUnshipped = reader.Read< decimal? >( "NumberOfItemsUnshipped" );
     this._paymentExecutionDetail = reader.ReadList< PaymentExecutionDetailItem >( "PaymentExecutionDetail", "PaymentExecutionDetailItem" );
     this._paymentMethod = reader.Read< string >( "PaymentMethod" );
     this._marketplaceId = reader.Read< string >( "MarketplaceId" );
     this._buyerEmail = reader.Read< string >( "BuyerEmail" );
     this._buyerName = reader.Read< string >( "BuyerName" );
     this._shipmentServiceLevelCategory = reader.Read< string >( "ShipmentServiceLevelCategory" );
     this._shippedByAmazonTFM = reader.Read< bool? >( "ShippedByAmazonTFM" );
     this._tfmShipmentStatus = reader.Read< string >( "TFMShipmentStatus" );
     this._cbaDisplayableShippingLabel = reader.Read< string >( "CbaDisplayableShippingLabel" );
     this._orderType = reader.Read< string >( "OrderType" );
     this._earliestShipDate = reader.Read< DateTime? >( "EarliestShipDate" );
     this._latestShipDate = reader.Read< DateTime? >( "LatestShipDate" );
     this._earliestDeliveryDate = reader.Read< DateTime? >( "EarliestDeliveryDate" );
     this._latestDeliveryDate = reader.Read< DateTime? >( "LatestDeliveryDate" );
     this._isBusinessOrder = reader.Read< bool? >( "IsBusinessOrder" );
     this._purchaseOrderNumber = reader.Read< string >( "PurchaseOrderNumber" );
 }