示例#1
0
 public TransportContent(TransportHeader transportHeader, TransportDetailOutput transportDetails, TransportResult transportResult) : base()
 {
     this._transportHeader  = transportHeader;
     this._transportDetails = transportDetails;
     this._transportResult  = transportResult;
 }
示例#2
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _transportHeader  = reader.Read <TransportHeader>("TransportHeader");
     _transportDetails = reader.Read <TransportDetailOutput>("TransportDetails");
     _transportResult  = reader.Read <TransportResult>("TransportResult");
 }
示例#3
0
 /// <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);
 }
示例#4
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _transportResult = reader.Read <TransportResult>("TransportResult");
 }
示例#5
0
 /// <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);
 }