Exemple #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");
 }
Exemple #2
0
 /// <summary>
 /// Sets the ScheduledDeliveryInfo property.
 /// </summary>
 /// <param name="scheduledDeliveryInfo">ScheduledDeliveryInfo property.</param>
 /// <returns>this instance.</returns>
 public FulfillmentPreview WithScheduledDeliveryInfo(ScheduledDeliveryInfo scheduledDeliveryInfo)
 {
     this._scheduledDeliveryInfo = scheduledDeliveryInfo;
     return(this);
 }