/// <summary> /// Sets the ShipFromAddress property. /// </summary> /// <param name="shipFromAddress">ShipFromAddress property.</param> /// <returns>this instance.</returns> public InboundShipmentInfo WithShipFromAddress(Address shipFromAddress) { this._shipFromAddress = shipFromAddress; return this; }
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"); }
/// <summary> /// Sets the ShipFromAddress property. /// </summary> /// <param name="shipFromAddress">ShipFromAddress property.</param> /// <returns>this instance.</returns> public CreateInboundShipmentPlanRequest WithShipFromAddress(Address shipFromAddress) { this._shipFromAddress = shipFromAddress; return this; }
public override void ReadFragmentFrom(IMwsReader reader) { _sellerId = reader.Read<string>("SellerId"); _mwsAuthToken = reader.Read<string>("MWSAuthToken"); _marketplace = reader.Read<string>("Marketplace"); _shipFromAddress = reader.Read<Address>("ShipFromAddress"); _labelPrepPreference = reader.Read<string>("LabelPrepPreference"); _shipToCountryCode = reader.Read<string>("ShipToCountryCode"); _shipToCountrySubdivisionCode = reader.Read<string>("ShipToCountrySubdivisionCode"); _inboundShipmentPlanRequestItems = reader.Read<InboundShipmentPlanRequestItemList>("InboundShipmentPlanRequestItems"); }
/// <summary> /// Sets the ShipToAddress property. /// </summary> /// <param name="shipToAddress">ShipToAddress property.</param> /// <returns>this instance.</returns> public InboundShipmentPlan WithShipToAddress(Address shipToAddress) { this._shipToAddress = shipToAddress; return this; }
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"); }