コード例 #1
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _sellerId           = reader.Read <string>("SellerId");
     _mwsAuthToken       = reader.Read <string>("MWSAuthToken");
     _marketplace        = reader.Read <string>("Marketplace");
     _marketplaceId      = reader.Read <string>("MarketplaceId");
     _sellerSkus         = reader.Read <SellerSkuList>("SellerSkus");
     _queryStartDateTime = reader.Read <DateTime?>("QueryStartDateTime");
     _responseGroup      = reader.Read <string>("ResponseGroup");
 }
コード例 #2
0
 /// <summary>
 /// Sets the SellerSkus property
 /// </summary>
 /// <param name="sellerSkus">SellerSkus property</param>
 /// <returns>this instance</returns>
 public ListInventorySupplyRequest WithSellerSkus(SellerSkuList sellerSkus)
 {
     this.sellerSkusField = sellerSkus;
     return(this);
 }
コード例 #3
0
 /// <summary>
 /// Sets the SellerSkus property.
 /// </summary>
 /// <param name="sellerSkus">SellerSkus property.</param>
 /// <returns>this instance.</returns>
 public ListInventorySupplyRequest WithSellerSkus(SellerSkuList sellerSkus)
 {
     this._sellerSkus = sellerSkus;
     return this;
 }
コード例 #4
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _sellerId = reader.Read<string>("SellerId");
     _mwsAuthToken = reader.Read<string>("MWSAuthToken");
     _marketplace = reader.Read<string>("Marketplace");
     _supplyRegion = reader.Read<string>("SupplyRegion");
     _sellerSkus = reader.Read<SellerSkuList>("SellerSkus");
     _queryStartDateTime = reader.Read<DateTime?>("QueryStartDateTime");
     _responseGroup = reader.Read<string>("ResponseGroup");
 }
コード例 #5
0
 public ListInventorySupplyResponse InvokeListInventorySupply()
 {
     // Create a request.
     ListInventorySupplyRequest request = new ListInventorySupplyRequest();
     string sellerId = "example";
     request.SellerId = sellerId;
     string mwsAuthToken = "example";
     request.MWSAuthToken = mwsAuthToken;
     string marketplace = "example";
     request.Marketplace = marketplace;
     string supplyRegion = "example";
     request.SupplyRegion = supplyRegion;
     SellerSkuList sellerSkus = new SellerSkuList();
     request.SellerSkus = sellerSkus;
     DateTime queryStartDateTime = new DateTime();
     request.QueryStartDateTime = queryStartDateTime;
     string responseGroup = "example";
     request.ResponseGroup = responseGroup;
     return this.client.ListInventorySupply(request);
 }