Exemple #1
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _contact                 = reader.Read <Contact>("Contact");
     _boxCount                = reader.Read <decimal>("BoxCount");
     _sellerFreightClass      = reader.Read <string>("SellerFreightClass");
     _freightReadyDate        = reader.Read <string>("FreightReadyDate");
     _palletList              = reader.Read <PalletList>("PalletList");
     _totalWeight             = reader.Read <Weight>("TotalWeight");
     _sellerDeclaredValue     = reader.Read <Amount>("SellerDeclaredValue");
     _amazonCalculatedValue   = reader.Read <Amount>("AmazonCalculatedValue");
     _previewPickupDate       = reader.Read <string>("PreviewPickupDate");
     _previewDeliveryDate     = reader.Read <string>("PreviewDeliveryDate");
     _previewFreightClass     = reader.Read <string>("PreviewFreightClass");
     _amazonReferenceId       = reader.Read <string>("AmazonReferenceId");
     _isBillOfLadingAvailable = reader.Read <bool>("IsBillOfLadingAvailable");
     _partneredEstimate       = reader.Read <PartneredEstimate>("PartneredEstimate");
     _carrierName             = reader.Read <string>("CarrierName");
 }
 /// <summary>
 /// Sets the PartneredEstimate property.
 /// </summary>
 /// <param name="partneredEstimate">PartneredEstimate property.</param>
 /// <returns>this instance.</returns>
 public PartneredLtlDataOutput WithPartneredEstimate(PartneredEstimate partneredEstimate)
 {
     this._partneredEstimate = partneredEstimate;
     return this;
 }
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _contact = reader.Read<Contact>("Contact");
     _boxCount = reader.Read<decimal>("BoxCount");
     _sellerFreightClass = reader.Read<string>("SellerFreightClass");
     _freightReadyDate = reader.Read<string>("FreightReadyDate");
     _palletList = reader.Read<PalletList>("PalletList");
     _totalWeight = reader.Read<Weight>("TotalWeight");
     _sellerDeclaredValue = reader.Read<Amount>("SellerDeclaredValue");
     _amazonCalculatedValue = reader.Read<Amount>("AmazonCalculatedValue");
     _previewPickupDate = reader.Read<string>("PreviewPickupDate");
     _previewDeliveryDate = reader.Read<string>("PreviewDeliveryDate");
     _previewFreightClass = reader.Read<string>("PreviewFreightClass");
     _amazonReferenceId = reader.Read<string>("AmazonReferenceId");
     _isBillOfLadingAvailable = reader.Read<bool>("IsBillOfLadingAvailable");
     _partneredEstimate = reader.Read<PartneredEstimate>("PartneredEstimate");
     _carrierName = reader.Read<string>("CarrierName");
 }
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _packageList = reader.Read<PartneredSmallParcelPackageOutputList>("PackageList");
     _partneredEstimate = reader.Read<PartneredEstimate>("PartneredEstimate");
 }
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _packageList       = reader.Read <PartneredSmallParcelPackageOutputList>("PackageList");
     _partneredEstimate = reader.Read <PartneredEstimate>("PartneredEstimate");
 }
 /// <summary>
 /// Sets the PartneredEstimate property.
 /// </summary>
 /// <param name="partneredEstimate">PartneredEstimate property.</param>
 /// <returns>this instance.</returns>
 public PartneredSmallParcelDataOutput WithPartneredEstimate(PartneredEstimate partneredEstimate)
 {
     this._partneredEstimate = partneredEstimate;
     return(this);
 }