/// <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 ShippingTax property. /// </summary> /// <param name="shippingTax">ShippingTax property.</param> /// <returns>this instance.</returns> public OrderItem WithShippingTax( Money shippingTax ) { this._shippingTax = shippingTax; return this; }
/// <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 Payment property. /// </summary> /// <param name="payment">Payment property.</param> /// <returns>this instance.</returns> public PaymentExecutionDetailItem WithPayment( Money payment ) { this._payment = payment; 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 CODFeeDiscount property. /// </summary> /// <param name="codFeeDiscount">CODFeeDiscount property.</param> /// <returns>this instance.</returns> public OrderItem WithCODFeeDiscount( Money codFeeDiscount ) { this._codFeeDiscount = codFeeDiscount; 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" ); }
/// <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 ) { this._pointsNumber = reader.Read< decimal? >( "PointsNumber" ); this._pointsMonetaryValue = reader.Read< Money >( "PointsMonetaryValue" ); }
public override void ReadFragmentFrom( IMwsReader reader ) { this._amazonOrderId = reader.Read< string >( "AmazonOrderId" ); this._sellerOrderId = reader.Read< string >( "SellerOrderId" ); this._purchaseDate = reader.Read< DateTime? >( "PurchaseDate" ); this._lastUpdateDate = reader.Read< DateTime? >( "LastUpdateDate" ); this._orderStatus = reader.Read< string >( "OrderStatus" ); this._fulfillmentChannel = reader.Read< string >( "FulfillmentChannel" ); this._salesChannel = reader.Read< string >( "SalesChannel" ); this._orderChannel = reader.Read< string >( "OrderChannel" ); this._shipServiceLevel = reader.Read< string >( "ShipServiceLevel" ); this._shippingAddress = reader.Read< Address >( "ShippingAddress" ); this._orderTotal = reader.Read< Money >( "OrderTotal" ); this._numberOfItemsShipped = reader.Read< decimal? >( "NumberOfItemsShipped" ); this._numberOfItemsUnshipped = reader.Read< decimal? >( "NumberOfItemsUnshipped" ); this._paymentExecutionDetail = reader.ReadList< PaymentExecutionDetailItem >( "PaymentExecutionDetail", "PaymentExecutionDetailItem" ); this._paymentMethod = reader.Read< string >( "PaymentMethod" ); this._marketplaceId = reader.Read< string >( "MarketplaceId" ); this._buyerEmail = reader.Read< string >( "BuyerEmail" ); this._buyerName = reader.Read< string >( "BuyerName" ); this._shipmentServiceLevelCategory = reader.Read< string >( "ShipmentServiceLevelCategory" ); this._shippedByAmazonTFM = reader.Read< bool? >( "ShippedByAmazonTFM" ); this._tfmShipmentStatus = reader.Read< string >( "TFMShipmentStatus" ); this._cbaDisplayableShippingLabel = reader.Read< string >( "CbaDisplayableShippingLabel" ); this._orderType = reader.Read< string >( "OrderType" ); this._earliestShipDate = reader.Read< DateTime? >( "EarliestShipDate" ); this._latestShipDate = reader.Read< DateTime? >( "LatestShipDate" ); this._earliestDeliveryDate = reader.Read< DateTime? >( "EarliestDeliveryDate" ); this._latestDeliveryDate = reader.Read< DateTime? >( "LatestDeliveryDate" ); this._isBusinessOrder = reader.Read< bool? >( "IsBusinessOrder" ); this._purchaseOrderNumber = reader.Read< string >( "PurchaseOrderNumber" ); }
/// <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 OrderTotal property. /// </summary> /// <param name="orderTotal">OrderTotal property.</param> /// <returns>this instance.</returns> public Order WithOrderTotal( Money orderTotal ) { this._orderTotal = orderTotal; return this; }
public override void ReadFragmentFrom( IMwsReader reader ) { this._payment = reader.Read< Money >( "Payment" ); this._paymentMethod = reader.Read< string >( "PaymentMethod" ); }