示例#1
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _shippingSpeedCategory       = reader.Read <string>("ShippingSpeedCategory");
     _scheduledDeliveryInfo       = reader.Read <ScheduledDeliveryInfo>("ScheduledDeliveryInfo");
     _isFulfillable               = reader.Read <bool>("IsFulfillable");
     _isCODCapable                = reader.Read <bool?>("IsCODCapable");
     _estimatedShippingWeight     = reader.Read <Weight>("EstimatedShippingWeight");
     _estimatedFees               = reader.Read <FeeList>("EstimatedFees");
     _fulfillmentPreviewShipments = reader.Read <FulfillmentPreviewShipmentList>("FulfillmentPreviewShipments");
     _unfulfillablePreviewItems   = reader.Read <UnfulfillablePreviewItemList>("UnfulfillablePreviewItems");
     _orderUnfulfillableReasons   = reader.Read <StringList>("OrderUnfulfillableReasons");
     _marketplaceId               = reader.Read <string>("MarketplaceId");
 }
示例#2
0
 /// <summary>
 /// Sets the EstimatedFees property.
 /// </summary>
 /// <param name="estimatedFees">EstimatedFees property.</param>
 /// <returns>this instance.</returns>
 public FulfillmentPreview WithEstimatedFees(FeeList estimatedFees)
 {
     this._estimatedFees = estimatedFees;
     return(this);
 }