/// <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();
 }
コード例 #2
0
 /// <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();
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the PayWithAmazonEvent class.
 /// </summary>
 /// <param name="sellerOrderId">An order identifier that is specified
 /// by the seller.</param>
 /// <param name="transactionPostedDate">The date and time when the
 /// payment transaction is posted. In ISO 8601 date time
 /// format.</param>
 /// <param name="businessObjectType">The type of business
 /// object.</param>
 /// <param name="salesChannel">The sales channel for the
 /// transaction.</param>
 /// <param name="charge">The charge associated with the event.</param>
 /// <param name="feeList">A list of fees associated with the
 /// event.</param>
 /// <param name="paymentAmountType">The type of payment.
 ///
 /// Possible values:
 ///
 /// * Sales</param>
 /// <param name="amountDescription">A short description of this payment
 /// event.</param>
 /// <param name="fulfillmentChannel">The fulfillment channel.
 ///
 /// Possible values:
 ///
 /// * AFN - Amazon Fulfillment Network (Fulfillment by Amazon)
 ///
 /// * MFN - Merchant Fulfillment Network (self-fulfilled)</param>
 /// <param name="storeName">The store name where the event
 /// occurred.</param>
 public PayWithAmazonEvent(string sellerOrderId = default(string), System.DateTime?transactionPostedDate = default(System.DateTime?), string businessObjectType = default(string), string salesChannel = default(string), ChargeComponent charge = default(ChargeComponent), IList <FeeComponent> feeList = default(IList <FeeComponent>), string paymentAmountType = default(string), string amountDescription = default(string), string fulfillmentChannel = default(string), string storeName = default(string))
 {
     SellerOrderId         = sellerOrderId;
     TransactionPostedDate = transactionPostedDate;
     BusinessObjectType    = businessObjectType;
     SalesChannel          = salesChannel;
     Charge             = charge;
     FeeList            = feeList;
     PaymentAmountType  = paymentAmountType;
     AmountDescription  = amountDescription;
     FulfillmentChannel = fulfillmentChannel;
     StoreName          = storeName;
     CustomInit();
 }