public override void ReadFragmentFrom(IMwsReader reader) { _sellerOrderId = reader.Read <string>("SellerOrderId"); _transactionPostedDate = reader.Read <DateTime?>("TransactionPostedDate"); _businessObjectType = reader.Read <string>("BusinessObjectType"); _salesChannel = reader.Read <string>("SalesChannel"); _charge = reader.Read <ChargeComponent>("Charge"); _feeList = reader.ReadList <FeeComponent>("FeeList", "FeeComponent"); _paymentAmountType = reader.Read <string>("PaymentAmountType"); _amountDescription = reader.Read <string>("AmountDescription"); _fulfillmentChannel = reader.Read <string>("FulfillmentChannel"); _storeName = reader.Read <string>("StoreName"); }
/// <summary> /// Sets the Charge property. /// </summary> /// <param name="charge">Charge property.</param> /// <returns>this instance.</returns> public PayWithAmazonEvent WithCharge(ChargeComponent charge) { this._charge = charge; return(this); }