public override void ReadFragmentFrom(IMwsReader reader) { _earliestShipDate = reader.Read <DateTime?>("EarliestShipDate"); _latestShipDate = reader.Read <DateTime?>("LatestShipDate"); _earliestArrivalDate = reader.Read <DateTime?>("EarliestArrivalDate"); _latestArrivalDate = reader.Read <DateTime?>("LatestArrivalDate"); _fulfillmentPreviewItems = reader.Read <FulfillmentPreviewItemList>("FulfillmentPreviewItems"); }
public FulfillmentPreviewShipment(DateTime?earliestShipDate, DateTime?latestShipDate, DateTime?earliestArrivalDate, DateTime?latestArrivalDate, FulfillmentPreviewItemList fulfillmentPreviewItems) : base() { this._earliestShipDate = earliestShipDate; this._latestShipDate = latestShipDate; this._earliestArrivalDate = earliestArrivalDate; this._latestArrivalDate = latestArrivalDate; this._fulfillmentPreviewItems = fulfillmentPreviewItems; }
/// <summary> /// Sets the FulfillmentPreviewItems property. /// </summary> /// <param name="fulfillmentPreviewItems">FulfillmentPreviewItems property.</param> /// <returns>this instance.</returns> public FulfillmentPreviewShipment WithFulfillmentPreviewItems(FulfillmentPreviewItemList fulfillmentPreviewItems) { this._fulfillmentPreviewItems = fulfillmentPreviewItems; return(this); }