示例#1
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _partneredSmallParcelData    = reader.Read <PartneredSmallParcelDataInput>("PartneredSmallParcelData");
     _nonPartneredSmallParcelData = reader.Read <NonPartneredSmallParcelDataInput>("NonPartneredSmallParcelData");
     _partneredLtlData            = reader.Read <PartneredLtlDataInput>("PartneredLtlData");
     _nonPartneredLtlData         = reader.Read <NonPartneredLtlDataInput>("NonPartneredLtlData");
 }
 /// <summary>
 /// Sets the PartneredSmallParcelData property.
 /// </summary>
 /// <param name="partneredSmallParcelData">PartneredSmallParcelData property.</param>
 /// <returns>this instance.</returns>
 public TransportDetailInput WithPartneredSmallParcelData(PartneredSmallParcelDataInput partneredSmallParcelData)
 {
     this._partneredSmallParcelData = partneredSmallParcelData;
     return this;
 }
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _partneredSmallParcelData = reader.Read<PartneredSmallParcelDataInput>("PartneredSmallParcelData");
     _nonPartneredSmallParcelData = reader.Read<NonPartneredSmallParcelDataInput>("NonPartneredSmallParcelData");
     _partneredLtlData = reader.Read<PartneredLtlDataInput>("PartneredLtlData");
     _nonPartneredLtlData = reader.Read<NonPartneredLtlDataInput>("NonPartneredLtlData");
 }
示例#4
0
 /// <summary>
 /// Sets the PartneredSmallParcelData property.
 /// </summary>
 /// <param name="partneredSmallParcelData">PartneredSmallParcelData property.</param>
 /// <returns>this instance.</returns>
 public TransportDetailInput WithPartneredSmallParcelData(PartneredSmallParcelDataInput partneredSmallParcelData)
 {
     this._partneredSmallParcelData = partneredSmallParcelData;
     return(this);
 }