Ejemplo n.º 1
0
 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");
 }
Ejemplo n.º 2
0
 /// <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);
 }