コード例 #1
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _sellerSKU = reader.ReadAttribute<string>("SellerSKU");
     _status = reader.ReadAttribute<string>("status");
     _allOfferListingsConsidered = reader.Read<bool?>("AllOfferListingsConsidered");
     _product = reader.Read<AmazonProduct>("Product");
     _error = reader.Read<Error>("Error");
 }
コード例 #2
0
 /// <summary>
 /// Sets the Product property.
 /// </summary>
 /// <param name="product">Product property.</param>
 /// <returns>this instance.</returns>
 public GetLowestOfferListingsForSKUResult WithProduct(AmazonProduct product)
 {
     this._product = product;
     return this;
 }
コード例 #3
0
 /// <summary>
 /// Sets the Product property.
 /// </summary>
 /// <param name="product">Product property.</param>
 /// <returns>this instance.</returns>
 public GetMyPriceForASINResult WithProduct(AmazonProduct product)
 {
     this._product = product;
     return this;
 }
コード例 #4
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _asin = reader.ReadAttribute<string>("ASIN");
     _status = reader.ReadAttribute<string>("status");
     _product = reader.Read<AmazonProduct>("Product");
     _error = reader.Read<Error>("Error");
 }
コード例 #5
0
 /// <summary>
 /// Sets the Product property.
 /// </summary>
 /// <param name="product">Product property.</param>
 /// <returns>this instance.</returns>
 public GetCompetitivePricingForSKUResult WithProduct(AmazonProduct product)
 {
     this._product = product;
     return this;
 }
コード例 #6
0
 /// <summary>
 /// Sets the Product property.
 /// </summary>
 /// <param name="product">Product property.</param>
 /// <returns>this instance.</returns>
 public ProductList WithProduct(AmazonProduct[] product)
 {
     this._product.AddRange(product);
     return this;
 }
コード例 #7
0
 /// <summary>
 /// Sets the Product property.
 /// </summary>
 /// <param name="product">Product property.</param>
 /// <returns>this instance.</returns>
 public GetMatchingProductResult WithProduct(AmazonProduct product)
 {
     this._product = product;
     return this;
 }