public TransportContent(TransportHeader transportHeader, TransportDetailOutput transportDetails, TransportResult transportResult) : base() { this._transportHeader = transportHeader; this._transportDetails = transportDetails; this._transportResult = transportResult; }
public override void ReadFragmentFrom(IMwsReader reader) { _transportHeader = reader.Read <TransportHeader>("TransportHeader"); _transportDetails = reader.Read <TransportDetailOutput>("TransportDetails"); _transportResult = reader.Read <TransportResult>("TransportResult"); }
/// <summary> /// Sets the TransportResult property. /// </summary> /// <param name="transportResult">TransportResult property.</param> /// <returns>this instance.</returns> public TransportContent WithTransportResult(TransportResult transportResult) { this._transportResult = transportResult; return(this); }
public override void ReadFragmentFrom(IMwsReader reader) { _transportResult = reader.Read <TransportResult>("TransportResult"); }
/// <summary> /// Sets the TransportResult property. /// </summary> /// <param name="transportResult">TransportResult property.</param> /// <returns>this instance.</returns> public VoidTransportRequestResult WithTransportResult(TransportResult transportResult) { this._transportResult = transportResult; return(this); }
/// <summary> /// Sets the TransportResult property. /// </summary> /// <param name="transportResult">TransportResult property.</param> /// <returns>this instance.</returns> public EstimateTransportRequestResult WithTransportResult(TransportResult transportResult) { this._transportResult = transportResult; return(this); }