/// <summary> /// Sets the PointsGranted property. /// </summary> /// <param name="pointsGranted">PointsGranted property.</param> /// <returns>this instance.</returns> public OrderItem WithPointsGranted(PointsGrantedDetail pointsGranted) { this._pointsGranted = pointsGranted; 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"); }