/// <summary> /// Sets the InvoiceData property. /// </summary> /// <param name="invoiceData">InvoiceData property.</param> /// <returns>this instance.</returns> public OrderItem WithInvoiceData( InvoiceData invoiceData ) { this._invoiceData = invoiceData; return this; }
public override void ReadFragmentFrom( IMwsReader reader ) { this._asin = reader.Read< string >( "ASIN" ); this._sellerSKU = reader.Read< string >( "SellerSKU" ); this._orderItemId = reader.Read< string >( "OrderItemId" ); this._title = reader.Read< string >( "Title" ); this._quantityOrdered = reader.Read< decimal >( "QuantityOrdered" ); this._quantityShipped = reader.Read< decimal? >( "QuantityShipped" ); this._pointsGranted = reader.Read< PointsGrantedDetail >( "PointsGranted" ); this._itemPrice = reader.Read< Money >( "ItemPrice" ); this._shippingPrice = reader.Read< Money >( "ShippingPrice" ); this._giftWrapPrice = reader.Read< Money >( "GiftWrapPrice" ); this._itemTax = reader.Read< Money >( "ItemTax" ); this._shippingTax = reader.Read< Money >( "ShippingTax" ); this._giftWrapTax = reader.Read< Money >( "GiftWrapTax" ); this._shippingDiscount = reader.Read< Money >( "ShippingDiscount" ); this._promotionDiscount = reader.Read< Money >( "PromotionDiscount" ); this._promotionIds = reader.ReadList< string >( "PromotionIds", "PromotionId" ); this._codFee = reader.Read< Money >( "CODFee" ); this._codFeeDiscount = reader.Read< Money >( "CODFeeDiscount" ); this._giftMessageText = reader.Read< string >( "GiftMessageText" ); this._giftWrapLevel = reader.Read< string >( "GiftWrapLevel" ); this._invoiceData = reader.Read< InvoiceData >( "InvoiceData" ); this._conditionNote = reader.Read< string >( "ConditionNote" ); this._conditionId = reader.Read< string >( "ConditionId" ); this._conditionSubtypeId = reader.Read< string >( "ConditionSubtypeId" ); this._scheduledDeliveryStartDate = reader.Read< string >( "ScheduledDeliveryStartDate" ); this._scheduledDeliveryEndDate = reader.Read< string >( "ScheduledDeliveryEndDate" ); this._priceDesignation = reader.Read< string >( "PriceDesignation" ); }