Example #1
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _shipmentId = reader.Read <string>("ShipmentId");
     _destinationFulfillmentCenterId = reader.Read <string>("DestinationFulfillmentCenterId");
     _shipToAddress           = reader.Read <Address>("ShipToAddress");
     _labelPrepType           = reader.Read <string>("LabelPrepType");
     _items                   = reader.Read <InboundShipmentPlanItemList>("Items");
     _estimatedBoxContentsFee = reader.Read <BoxContentsFeeDetails>("EstimatedBoxContentsFee");
 }
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _shipmentId      = reader.Read <string>("ShipmentId");
     _shipmentName    = reader.Read <string>("ShipmentName");
     _shipFromAddress = reader.Read <Address>("ShipFromAddress");
     _destinationFulfillmentCenterId = reader.Read <string>("DestinationFulfillmentCenterId");
     _shipmentStatus          = reader.Read <string>("ShipmentStatus");
     _labelPrepType           = reader.Read <string>("LabelPrepType");
     _areCasesRequired        = reader.Read <bool?>("AreCasesRequired");
     _confirmedNeedByDate     = reader.Read <string>("ConfirmedNeedByDate");
     _boxContentsSource       = reader.Read <string>("BoxContentsSource");
     _estimatedBoxContentsFee = reader.Read <BoxContentsFeeDetails>("EstimatedBoxContentsFee");
 }
 /// <summary>
 /// Sets the EstimatedBoxContentsFee property.
 /// </summary>
 /// <param name="estimatedBoxContentsFee">EstimatedBoxContentsFee property.</param>
 /// <returns>this instance.</returns>
 public InboundShipmentInfo WithEstimatedBoxContentsFee(BoxContentsFeeDetails estimatedBoxContentsFee)
 {
     this._estimatedBoxContentsFee = estimatedBoxContentsFee;
     return(this);
 }