示例#1
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _pointsNumber = reader.Read<decimal?>("PointsNumber");
     _pointsMonetaryValue = reader.Read<MoneyType>("PointsMonetaryValue");
 }
示例#2
0
 /// <summary>
 /// Sets the RegularPrice property.
 /// </summary>
 /// <param name="regularPrice">RegularPrice property.</param>
 /// <returns>this instance.</returns>
 public OfferType WithRegularPrice(MoneyType regularPrice)
 {
     this._regularPrice = regularPrice;
     return this;
 }
示例#3
0
 /// <summary>
 /// Sets the PointsMonetaryValue property.
 /// </summary>
 /// <param name="pointsMonetaryValue">PointsMonetaryValue property.</param>
 /// <returns>this instance.</returns>
 public Points WithPointsMonetaryValue(MoneyType pointsMonetaryValue)
 {
     this._pointsMonetaryValue = pointsMonetaryValue;
     return this;
 }
 /// <summary>
 /// Sets the Shipping property.
 /// </summary>
 /// <param name="shipping">Shipping property.</param>
 /// <returns>this instance.</returns>
 public SKUOfferDetail WithShipping(MoneyType shipping)
 {
     this._shipping = shipping;
     return this;
 }
示例#5
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _buyingPrice = reader.Read<PriceType>("BuyingPrice");
     _regularPrice = reader.Read<MoneyType>("RegularPrice");
     _fulfillmentChannel = reader.Read<string>("FulfillmentChannel");
     _itemCondition = reader.Read<string>("ItemCondition");
     _itemSubCondition = reader.Read<string>("ItemSubCondition");
     _sellerId = reader.Read<string>("SellerId");
     _sellerSKU = reader.Read<string>("SellerSKU");
 }
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _myOffer = reader.Read<bool>("MyOffer");
     _subCondition = reader.Read<string>("SubCondition");
     _sellerFeedbackRating = reader.Read<SellerFeedbackType>("SellerFeedbackRating");
     _shippingTime = reader.Read<DetailedShippingTimeType>("ShippingTime");
     _listingPrice = reader.Read<MoneyType>("ListingPrice");
     _points = reader.Read<Points>("Points");
     _shipping = reader.Read<MoneyType>("Shipping");
     _shipsFrom = reader.Read<ShipsFromType>("ShipsFrom");
     _isFulfilledByAmazon = reader.Read<bool>("IsFulfilledByAmazon");
     _isBuyBoxWinner = reader.Read<bool?>("IsBuyBoxWinner");
     _isFeaturedMerchant = reader.Read<bool?>("IsFeaturedMerchant");
 }
 /// <summary>
 /// Sets the ListingPrice property.
 /// </summary>
 /// <param name="listingPrice">ListingPrice property.</param>
 /// <returns>this instance.</returns>
 public SKUOfferDetail WithListingPrice(MoneyType listingPrice)
 {
     this._listingPrice = listingPrice;
     return this;
 }
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _competitivePrices = reader.Read<CompetitivePriceList>("CompetitivePrices");
     _numberOfOfferListings = reader.Read<NumberOfOfferListingsList>("NumberOfOfferListings");
     _tradeInValue = reader.Read<MoneyType>("TradeInValue");
 }
 /// <summary>
 /// Sets the TradeInValue property.
 /// </summary>
 /// <param name="tradeInValue">TradeInValue property.</param>
 /// <returns>this instance.</returns>
 public CompetitivePricingType WithTradeInValue(MoneyType tradeInValue)
 {
     this._tradeInValue = tradeInValue;
     return this;
 }
 /// <summary>
 /// Sets the Shipping property.
 /// </summary>
 /// <param name="shipping">Shipping property.</param>
 /// <returns>this instance.</returns>
 public LowestPriceType WithShipping(MoneyType shipping)
 {
     this._shipping = shipping;
     return this;
 }
 /// <summary>
 /// Sets the ListingPrice property.
 /// </summary>
 /// <param name="listingPrice">ListingPrice property.</param>
 /// <returns>this instance.</returns>
 public LowestPriceType WithListingPrice(MoneyType listingPrice)
 {
     this._listingPrice = listingPrice;
     return this;
 }
 /// <summary>
 /// Sets the LandedPrice property.
 /// </summary>
 /// <param name="landedPrice">LandedPrice property.</param>
 /// <returns>this instance.</returns>
 public LowestPriceType WithLandedPrice(MoneyType landedPrice)
 {
     this._landedPrice = landedPrice;
     return this;
 }
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _condition = reader.ReadAttribute<string>("condition");
     _fulfillmentChannel = reader.ReadAttribute<string>("fulfillmentChannel");
     _landedPrice = reader.Read<MoneyType>("LandedPrice");
     _listingPrice = reader.Read<MoneyType>("ListingPrice");
     _shipping = reader.Read<MoneyType>("Shipping");
     _points = reader.Read<Points>("Points");
 }
示例#14
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _landedPrice = reader.Read<MoneyType>("LandedPrice");
     _listingPrice = reader.Read<MoneyType>("ListingPrice");
     _shipping = reader.Read<MoneyType>("Shipping");
     _points = reader.Read<Points>("Points");
 }