/// <summary> /// Sets the PromotionDiscount property. /// </summary> /// <param name="promotionDiscount">PromotionDiscount property.</param> /// <returns>this instance.</returns> public OrderItem WithPromotionDiscount(Money promotionDiscount) { this._promotionDiscount = promotionDiscount; return this; }
/// <summary> /// Sets the ShippingDiscount property. /// </summary> /// <param name="shippingDiscount">ShippingDiscount property.</param> /// <returns>this instance.</returns> public OrderItem WithShippingDiscount(Money shippingDiscount) { this._shippingDiscount = shippingDiscount; return this; }
/// <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; }
/// <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; }
/// <summary> /// Sets the GiftWrapPrice property. /// </summary> /// <param name="giftWrapPrice">GiftWrapPrice property.</param> /// <returns>this instance.</returns> public OrderItem WithGiftWrapPrice(Money giftWrapPrice) { this._giftWrapPrice = giftWrapPrice; return this; }
/// <summary> /// Sets the GiftWrapTax property. /// </summary> /// <param name="giftWrapTax">GiftWrapTax property.</param> /// <returns>this instance.</returns> public OrderItem WithGiftWrapTax(Money giftWrapTax) { this._giftWrapTax = giftWrapTax; return this; }
/// <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; }
/// <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; }
/// <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; }
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"); _pointsGranted = reader.Read<PointsGrantedDetail>("PointsGranted"); _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.ReadList<string>("PromotionIds", "PromotionId"); _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"); _priceDesignation = reader.Read<string>("PriceDesignation"); }
public override void ReadFragmentFrom(IMwsReader reader) { _pointsNumber = reader.Read<decimal?>("PointsNumber"); _pointsMonetaryValue = reader.Read<Money>("PointsMonetaryValue"); }
/// <summary> /// Sets the Payment property. /// </summary> /// <param name="payment">Payment property.</param> /// <returns>this instance.</returns> public PaymentExecutionDetailItem WithPayment(Money payment) { this._payment = payment; return this; }
public override void ReadFragmentFrom(IMwsReader reader) { _payment = reader.Read<Money>("Payment"); _paymentMethod = reader.Read<string>("PaymentMethod"); }
/// <summary> /// Sets the ShippingPrice property. /// </summary> /// <param name="shippingPrice">ShippingPrice property.</param> /// <returns>this instance.</returns> public OrderItem WithShippingPrice(Money shippingPrice) { this._shippingPrice = shippingPrice; return this; }
/// <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; }
/// <summary> /// Sets the ShippingTax property. /// </summary> /// <param name="shippingTax">ShippingTax property.</param> /// <returns>this instance.</returns> public OrderItem WithShippingTax(Money shippingTax) { this._shippingTax = shippingTax; return this; }
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.ReadList<PaymentExecutionDetailItem>("PaymentExecutionDetail", "PaymentExecutionDetailItem"); _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"); _isBusinessOrder = reader.Read<bool?>("IsBusinessOrder"); _purchaseOrderNumber = reader.Read<string>("PurchaseOrderNumber"); _isPrime = reader.Read<bool?>("IsPrime"); _isPremiumOrder = reader.Read<bool?>("IsPremiumOrder"); }