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"); _buyerCustomizedInfo = reader.Read <BuyerCustomizedInfoDetail>("BuyerCustomizedInfo"); }
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"); _productInfo = reader.Read <ProductInfoDetail>("ProductInfo"); _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"); _shippingDiscountTax = reader.Read <Money>("ShippingDiscountTax"); _promotionDiscount = reader.Read <Money>("PromotionDiscount"); _promotionDiscountTax = reader.Read <Money>("PromotionDiscountTax"); _promotionIds = reader.ReadList <string>("PromotionIds", "PromotionId"); _codFee = reader.Read <Money>("CODFee"); _codFeeDiscount = reader.Read <Money>("CODFeeDiscount"); _deemedResellerCategory = reader.Read <string>("DeemedResellerCategory"); _iossNumber = reader.Read <string>("IossNumber"); _isGift = reader.Read <bool?>("IsGift"); _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"); _buyerCustomizedInfo = reader.Read <BuyerCustomizedInfoDetail>("BuyerCustomizedInfo"); _taxCollection = reader.Read <TaxCollection>("TaxCollection"); _serialNumberRequired = reader.Read <bool?>("SerialNumberRequired"); _isTransparency = reader.Read <bool?>("IsTransparency"); _destinationType = reader.Read <string>("DestinationType"); _storeChainOwnerId = reader.Read <string>("StoreChainOwnerId"); _storeChainStoreId = reader.Read <string>("StoreChainStoreId"); }
/// <summary> /// Sets the BuyerCustomizedInfo property. /// </summary> /// <param name="buyerCustomizedInfo">BuyerCustomizedInfo property.</param> /// <returns>this instance.</returns> public OrderItem WithBuyerCustomizedInfo(BuyerCustomizedInfoDetail buyerCustomizedInfo) { this._buyerCustomizedInfo = buyerCustomizedInfo; return(this); }