/// <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;
 }
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     this._sellerSKU = reader.Read<string>("SellerSKU");
     this._fnsku = reader.Read<string>("FNSKU");
     this._asin = reader.Read<string>("ASIN");
     this._condition = reader.Read<string>("Condition");
     this._totalSupplyQuantity = reader.Read<decimal?>("TotalSupplyQuantity");
     this._inStockSupplyQuantity = reader.Read<decimal?>("InStockSupplyQuantity");
     this._earliestAvailability = reader.Read<Timepoint>("EarliestAvailability");
     this._supplyDetail = reader.Read<InventorySupplyDetailList>("SupplyDetail");
 }
 /// <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;
 }
 /// <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;
 }
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     this._quantity = reader.Read<decimal?>("Quantity");
     this._supplyType = reader.Read<string>("SupplyType");
     this._earliestAvailableToPick = reader.Read<Timepoint>("EarliestAvailableToPick");
     this._latestAvailableToPick = reader.Read<Timepoint>("LatestAvailableToPick");
 }