/// <summary> /// Sets the SellerDeclaredValue property. /// </summary> /// <param name="sellerDeclaredValue">SellerDeclaredValue property.</param> /// <returns>this instance.</returns> public PartneredLtlDataOutput WithSellerDeclaredValue(Amount sellerDeclaredValue) { this._sellerDeclaredValue = sellerDeclaredValue; return this; }
/// <summary> /// Sets the AmazonCalculatedValue property. /// </summary> /// <param name="amazonCalculatedValue">AmazonCalculatedValue property.</param> /// <returns>this instance.</returns> public PartneredLtlDataOutput WithAmazonCalculatedValue(Amount amazonCalculatedValue) { this._amazonCalculatedValue = amazonCalculatedValue; return this; }
/// <summary> /// Sets the Amount property. /// </summary> /// <param name="amount">Amount property.</param> /// <returns>this instance.</returns> public PartneredEstimate WithAmount(Amount amount) { this._amount = amount; 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) { _amount = reader.Read<Amount>("Amount"); _confirmDeadline = reader.Read<string>("ConfirmDeadline"); _voidDeadline = reader.Read<string>("VoidDeadline"); }