public override void ReadFragmentFrom(IMwsReader reader)
 {
     _sellerId      = reader.Read <string>("SellerId");
     _amazonOrderId = reader.Read <OrderIdList>("AmazonOrderId");
 }
 /// <summary>
 /// Sets the AmazonOrderId property.
 /// </summary>
 /// <param name="amazonOrderId">AmazonOrderId property.</param>
 /// <returns>this instance.</returns>
 public GetOrderRequest WithAmazonOrderId(OrderIdList amazonOrderId)
 {
     this._amazonOrderId = amazonOrderId;
     return(this);
 }
 /// <summary>
 /// Sets the AmazonOrderId property.
 /// </summary>
 /// <param name="amazonOrderId">AmazonOrderId property.</param>
 /// <returns>this instance.</returns>
 public GetOrderRequest WithAmazonOrderId(OrderIdList amazonOrderId)
 {
     this._amazonOrderId = amazonOrderId;
     return this;
 }
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _sellerId = reader.Read<string>("SellerId");
     _amazonOrderId = reader.Read<OrderIdList>("AmazonOrderId");
 }
 public GetOrderResponse InvokeGetOrder()
 {
     // Create a request.
     GetOrderRequest request = new GetOrderRequest();
     string sellerId = "example";
     request.SellerId = sellerId;
     OrderIdList amazonOrderId = new OrderIdList();
     request.AmazonOrderId = amazonOrderId;
     return this.client.GetOrder(request);
 }