public override void ReadFragmentFrom(IMwsReader reader)
 {
     _postedDate      = reader.Read <DateTime?>("PostedDate");
     _enrollmentId    = reader.Read <string>("EnrollmentId");
     _parentASIN      = reader.Read <string>("ParentASIN");
     _feeComponent    = reader.Read <FeeComponent>("FeeComponent");
     _chargeComponent = reader.Read <ChargeComponent>("ChargeComponent");
     _totalAmount     = reader.Read <Currency>("TotalAmount");
 }
Ejemplo n.º 2
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _postedDate = reader.Read <DateTime?>("PostedDate");
     _couponId   = reader.Read <string>("CouponId");
     _sellerCouponDescription = reader.Read <string>("SellerCouponDescription");
     _clipOrRedemptionCount   = reader.Read <decimal?>("ClipOrRedemptionCount");
     _paymentEventId          = reader.Read <string>("PaymentEventId");
     _feeComponent            = reader.Read <FeeComponent>("FeeComponent");
     _chargeComponent         = reader.Read <ChargeComponent>("ChargeComponent");
     _totalAmount             = reader.Read <Currency>("TotalAmount");
 }
Ejemplo n.º 3
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.º 4
0
 /// <summary>
 /// Sets the ChargeComponent property.
 /// </summary>
 /// <param name="chargeComponent">ChargeComponent property.</param>
 /// <returns>this instance.</returns>
 public CouponPaymentEvent WithChargeComponent(ChargeComponent chargeComponent)
 {
     this._chargeComponent = chargeComponent;
     return(this);
 }
 /// <summary>
 /// Sets the ChargeComponent property.
 /// </summary>
 /// <param name="chargeComponent">ChargeComponent property.</param>
 /// <returns>this instance.</returns>
 public SellerReviewEnrollmentPaymentEvent WithChargeComponent(ChargeComponent chargeComponent)
 {
     this._chargeComponent = chargeComponent;
     return(this);
 }
Ejemplo n.º 6
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);
 }