Beispiel #1
0
 /// <summary>
 /// Sets the ItemTax property
 /// </summary>
 /// <param name="itemTax">ItemTax property</param>
 /// <returns>this instance</returns>
 public OrderItem WithItemTax(Money itemTax)
 {
     this.itemTaxField = itemTax;
     return this;
 }
Beispiel #2
0
 /// <summary>
 /// Sets the GiftWrapTax property
 /// </summary>
 /// <param name="giftWrapTax">GiftWrapTax property</param>
 /// <returns>this instance</returns>
 public OrderItem WithGiftWrapTax(Money giftWrapTax)
 {
     this.giftWrapTaxField = giftWrapTax;
     return this;
 }
Beispiel #3
0
 /// <summary>
 /// Sets the ItemPrice property
 /// </summary>
 /// <param name="itemPrice">ItemPrice property</param>
 /// <returns>this instance</returns>
 public OrderItem WithItemPrice(Money itemPrice)
 {
     this.itemPriceField = itemPrice;
     return this;
 }
Beispiel #4
0
 /// <summary>
 /// Sets the PointsMonetaryValue property.
 /// </summary>
 /// <param name="pointsMonetaryValue">PointsMonetaryValue property.</param>
 /// <returns>this instance.</returns>
 public PointsGrantedDetail WithPointsMonetaryValue(Money pointsMonetaryValue)
 {
     this._pointsMonetaryValue = pointsMonetaryValue;
     return this;
 }
Beispiel #5
0
 /// <summary>
 /// Sets the GiftWrapPrice property
 /// </summary>
 /// <param name="giftWrapPrice">GiftWrapPrice property</param>
 /// <returns>this instance</returns>
 public OrderItem WithGiftWrapPrice(Money giftWrapPrice)
 {
     this.giftWrapPriceField = giftWrapPrice;
     return this;
 }
Beispiel #6
0
 /// <summary>
 /// Sets the ShippingPrice property
 /// </summary>
 /// <param name="shippingPrice">ShippingPrice property</param>
 /// <returns>this instance</returns>
 public OrderItem WithShippingPrice(Money shippingPrice)
 {
     this.shippingPriceField = shippingPrice;
     return this;
 }
Beispiel #7
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _amazonOrderId = reader.Read<string>("AmazonOrderId");
     _sellerOrderId = reader.Read<string>("SellerOrderId");
     _purchaseDate = reader.Read<DateTime?>("PurchaseDate");
     _lastUpdateDate = reader.Read<DateTime?>("LastUpdateDate");
     _orderStatus = reader.Read<string>("OrderStatus");
     _fulfillmentChannel = reader.Read<string>("FulfillmentChannel");
     _salesChannel = reader.Read<string>("SalesChannel");
     _orderChannel = reader.Read<string>("OrderChannel");
     _shipServiceLevel = reader.Read<string>("ShipServiceLevel");
     _shippingAddress = reader.Read<Address>("ShippingAddress");
     _orderTotal = reader.Read<Money>("OrderTotal");
     _numberOfItemsShipped = reader.Read<decimal?>("NumberOfItemsShipped");
     _numberOfItemsUnshipped = reader.Read<decimal?>("NumberOfItemsUnshipped");
     _paymentExecutionDetail = reader.Read<PaymentExecutionDetailItemList>("PaymentExecutionDetail");
     _paymentMethod = reader.Read<string>("PaymentMethod");
     _marketplaceId = reader.Read<string>("MarketplaceId");
     _buyerEmail = reader.Read<string>("BuyerEmail");
     _buyerName = reader.Read<string>("BuyerName");
     _shipmentServiceLevelCategory = reader.Read<string>("ShipmentServiceLevelCategory");
     _shippedByAmazonTFM = reader.Read<bool?>("ShippedByAmazonTFM");
     _tfmShipmentStatus = reader.Read<string>("TFMShipmentStatus");
     _cbaDisplayableShippingLabel = reader.Read<string>("CbaDisplayableShippingLabel");
     _orderType = reader.Read<string>("OrderType");
     _earliestShipDate = reader.Read<DateTime?>("EarliestShipDate");
     _latestShipDate = reader.Read<DateTime?>("LatestShipDate");
     _earliestDeliveryDate = reader.Read<DateTime?>("EarliestDeliveryDate");
     _latestDeliveryDate = reader.Read<DateTime?>("LatestDeliveryDate");
 }
Beispiel #8
0
 /// <summary>
 /// Sets the ItemPrice property.
 /// </summary>
 /// <param name="itemPrice">ItemPrice property.</param>
 /// <returns>this instance.</returns>
 public OrderItem WithItemPrice(Money itemPrice)
 {
     this._itemPrice = itemPrice;
     return this;
 }
Beispiel #9
0
 /// <summary>
 /// Sets the ItemTax property.
 /// </summary>
 /// <param name="itemTax">ItemTax property.</param>
 /// <returns>this instance.</returns>
 public OrderItem WithItemTax(Money itemTax)
 {
     this._itemTax = itemTax;
     return this;
 }
Beispiel #10
0
 /// <summary>
 /// Sets the CODFee property.
 /// </summary>
 /// <param name="codFee">CODFee property.</param>
 /// <returns>this instance.</returns>
 public OrderItem WithCODFee(Money codFee)
 {
     this._codFee = codFee;
     return this;
 }
Beispiel #11
0
 /// <summary>
 /// Sets the CODFeeDiscount property.
 /// </summary>
 /// <param name="codFeeDiscount">CODFeeDiscount property.</param>
 /// <returns>this instance.</returns>
 public OrderItem WithCODFeeDiscount(Money codFeeDiscount)
 {
     this._codFeeDiscount = codFeeDiscount;
     return this;
 }
Beispiel #12
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _asin = reader.Read<string>("ASIN");
     _sellerSKU = reader.Read<string>("SellerSKU");
     _orderItemId = reader.Read<string>("OrderItemId");
     _title = reader.Read<string>("Title");
     _quantityOrdered = reader.Read<decimal>("QuantityOrdered");
     _quantityShipped = reader.Read<decimal?>("QuantityShipped");
     _itemPrice = reader.Read<Money>("ItemPrice");
     _shippingPrice = reader.Read<Money>("ShippingPrice");
     _giftWrapPrice = reader.Read<Money>("GiftWrapPrice");
     _itemTax = reader.Read<Money>("ItemTax");
     _shippingTax = reader.Read<Money>("ShippingTax");
     _giftWrapTax = reader.Read<Money>("GiftWrapTax");
     _shippingDiscount = reader.Read<Money>("ShippingDiscount");
     _promotionDiscount = reader.Read<Money>("PromotionDiscount");
     _promotionIds = reader.Read<PromotionIdList>("PromotionIds");
     _codFee = reader.Read<Money>("CODFee");
     _codFeeDiscount = reader.Read<Money>("CODFeeDiscount");
     _giftMessageText = reader.Read<string>("GiftMessageText");
     _giftWrapLevel = reader.Read<string>("GiftWrapLevel");
     _invoiceData = reader.Read<InvoiceData>("InvoiceData");
     _conditionNote = reader.Read<string>("ConditionNote");
     _conditionId = reader.Read<string>("ConditionId");
     _conditionSubtypeId = reader.Read<string>("ConditionSubtypeId");
     _scheduledDeliveryStartDate = reader.Read<string>("ScheduledDeliveryStartDate");
     _scheduledDeliveryEndDate = reader.Read<string>("ScheduledDeliveryEndDate");
 }
 /// <summary>
 /// Sets the CODFeeDiscount property
 /// </summary>
 /// <param name="CODFeeDiscount">CODFeeDiscount property</param>
 /// <returns>this instance</returns>
 public OrderItem WithCODFeeDiscount(Money CODFeeDiscount)
 {
     this.CODFeeDiscountField = CODFeeDiscount;
     return this;
 }
 /// <summary>
 /// Sets the CODFee property
 /// </summary>
 /// <param name="CODFee">CODFee property</param>
 /// <returns>this instance</returns>
 public OrderItem WithCODFee(Money CODFee)
 {
     this.CODFeeField = CODFee;
     return this;
 }
Beispiel #15
0
 /// <summary>
 /// Sets the PromotionDiscount property
 /// </summary>
 /// <param name="promotionDiscount">PromotionDiscount property</param>
 /// <returns>this instance</returns>
 public OrderItem WithPromotionDiscount(Money promotionDiscount)
 {
     this.promotionDiscountField = promotionDiscount;
     return this;
 }
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _payment = reader.Read<Money>("Payment");
     _paymentMethod = reader.Read<string>("PaymentMethod");
 }
Beispiel #17
0
 /// <summary>
 /// Sets the ShippingDiscount property
 /// </summary>
 /// <param name="shippingDiscount">ShippingDiscount property</param>
 /// <returns>this instance</returns>
 public OrderItem WithShippingDiscount(Money shippingDiscount)
 {
     this.shippingDiscountField = shippingDiscount;
     return this;
 }
 /// <summary>
 /// Sets the Payment property
 /// </summary>
 /// <param name="payment">Payment property</param>
 /// <returns>this instance</returns>
 public PaymentExecutionDetailItem WithPayment(Money payment)
 {
     this.paymentField = payment;
     return this;
 }
Beispiel #19
0
 /// <summary>
 /// Sets the ShippingTax property
 /// </summary>
 /// <param name="shippingTax">ShippingTax property</param>
 /// <returns>this instance</returns>
 public OrderItem WithShippingTax(Money shippingTax)
 {
     this.shippingTaxField = shippingTax;
     return this;
 }
 /// <summary>
 /// Sets the OrderTotal property
 /// </summary>
 /// <param name="orderTotal">OrderTotal property</param>
 /// <returns>this instance</returns>
 public Order WithOrderTotal(Money orderTotal)
 {
     this.orderTotalField = orderTotal;
     return this;
 }
Beispiel #21
0
 /// <summary>
 /// Sets the OrderTotal property.
 /// </summary>
 /// <param name="orderTotal">OrderTotal property.</param>
 /// <returns>this instance.</returns>
 public Order WithOrderTotal(Money orderTotal)
 {
     this._orderTotal = orderTotal;
     return this;
 }
Beispiel #22
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _pointsNumber = reader.Read<decimal?>("PointsNumber");
     _pointsMonetaryValue = reader.Read<Money>("PointsMonetaryValue");
 }