/// <summary> /// Initializes a new instance of the /// SellerReviewEnrollmentPaymentEvent class. /// </summary> /// <param name="postedDate">The date and time when the financial event /// was posted.</param> /// <param name="enrollmentId">An enrollment identifier.</param> /// <param name="parentASIN">The Amazon Standard Identification Number /// (ASIN) of the item that was enrolled in the Early Reviewer /// Program.</param> /// <param name="totalAmount">The FeeComponent value plus the /// ChargeComponent value.</param> public SellerReviewEnrollmentPaymentEvent(System.DateTime?postedDate = default(System.DateTime?), string enrollmentId = default(string), string parentASIN = default(string), FeeComponent feeComponent = default(FeeComponent), ChargeComponent chargeComponent = default(ChargeComponent), Currency totalAmount = default(Currency)) { PostedDate = postedDate; EnrollmentId = enrollmentId; ParentASIN = parentASIN; FeeComponent = feeComponent; ChargeComponent = chargeComponent; TotalAmount = totalAmount; CustomInit(); }
/// <summary> /// Initializes a new instance of the CouponPaymentEvent class. /// </summary> /// <param name="postedDate">The date and time when the financial event /// was posted.</param> /// <param name="couponId">A coupon identifier.</param> /// <param name="sellerCouponDescription">The description provided by /// the seller when they created the coupon.</param> /// <param name="clipOrRedemptionCount">The number of coupon clips or /// redemptions.</param> /// <param name="paymentEventId">A payment event identifier.</param> /// <param name="totalAmount">The FeeComponent value plus the /// ChargeComponent value.</param> public CouponPaymentEvent(System.DateTime?postedDate = default(System.DateTime?), string couponId = default(string), string sellerCouponDescription = default(string), long?clipOrRedemptionCount = default(long?), string paymentEventId = default(string), FeeComponent feeComponent = default(FeeComponent), ChargeComponent chargeComponent = default(ChargeComponent), Currency totalAmount = default(Currency)) { PostedDate = postedDate; CouponId = couponId; SellerCouponDescription = sellerCouponDescription; ClipOrRedemptionCount = clipOrRedemptionCount; PaymentEventId = paymentEventId; FeeComponent = feeComponent; ChargeComponent = chargeComponent; TotalAmount = totalAmount; CustomInit(); }