Beispiel #1
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _quantity   = reader.Read <decimal?>("Quantity");
     _supplyType = reader.Read <string>("SupplyType");
     _earliestAvailableToPick = reader.Read <Timepoint>("EarliestAvailableToPick");
     _latestAvailableToPick   = reader.Read <Timepoint>("LatestAvailableToPick");
 }
Beispiel #2
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _sellerSKU             = reader.Read <string>("SellerSKU");
     _fnsku                 = reader.Read <string>("FNSKU");
     _asin                  = reader.Read <string>("ASIN");
     _condition             = reader.Read <string>("Condition");
     _totalSupplyQuantity   = reader.Read <decimal?>("TotalSupplyQuantity");
     _inStockSupplyQuantity = reader.Read <decimal?>("InStockSupplyQuantity");
     _earliestAvailability  = reader.Read <Timepoint>("EarliestAvailability");
     _supplyDetail          = reader.Read <InventorySupplyDetailList>("SupplyDetail");
 }
Beispiel #3
0
 /// <summary>
 /// Sets the LatestAvailableToPick property.
 /// </summary>
 /// <param name="latestAvailableToPick">LatestAvailableToPick property.</param>
 /// <returns>this instance.</returns>
 public InventorySupplyDetail WithLatestAvailableToPick(Timepoint latestAvailableToPick)
 {
     this._latestAvailableToPick = latestAvailableToPick;
     return(this);
 }
Beispiel #4
0
 /// <summary>
 /// Sets the EarliestAvailableToPick property.
 /// </summary>
 /// <param name="earliestAvailableToPick">EarliestAvailableToPick property.</param>
 /// <returns>this instance.</returns>
 public InventorySupplyDetail WithEarliestAvailableToPick(Timepoint earliestAvailableToPick)
 {
     this._earliestAvailableToPick = earliestAvailableToPick;
     return(this);
 }
Beispiel #5
0
 /// <summary>
 /// Sets the EarliestAvailability property.
 /// </summary>
 /// <param name="earliestAvailability">EarliestAvailability property.</param>
 /// <returns>this instance.</returns>
 public InventorySupply WithEarliestAvailability(Timepoint earliestAvailability)
 {
     this._earliestAvailability = earliestAvailability;
     return(this);
 }