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");
 }
Exemplo 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");
 }
Exemplo n.º 3
0
 /// <summary>
 /// Sets the FeeComponent property.
 /// </summary>
 /// <param name="feeComponent">FeeComponent property.</param>
 /// <returns>this instance.</returns>
 public CouponPaymentEvent WithFeeComponent(FeeComponent feeComponent)
 {
     this._feeComponent = feeComponent;
     return(this);
 }
 /// <summary>
 /// Sets the FeeComponent property.
 /// </summary>
 /// <param name="feeComponent">FeeComponent property.</param>
 /// <returns>this instance.</returns>
 public SellerReviewEnrollmentPaymentEvent WithFeeComponent(FeeComponent feeComponent)
 {
     this._feeComponent = feeComponent;
     return(this);
 }