public MarketplaceWebServiceOrdersException( string message, HttpStatusCode statusCode, string errorCode,
     string errorType, string requestId, string xml, ResponseHeaderMetadata rhmd)
     : base(( int )statusCode, message, errorCode, errorType, xml, rhmd)
 {
 }
 public MarketplaceWebServiceOrdersException( string message, HttpStatusCode statusCode, ResponseHeaderMetadata rhmd )
     : base(( int )statusCode, message, null, null, null, rhmd)
 {
 }
 /// <summary>
 /// Sets the ResponseHeaderMetadata property.
 /// </summary>
 /// <param name="responseHeaderMetadata">ResponseHeaderMetadata property.</param>
 /// <returns>this instance.</returns>
 public ListOrdersByNextTokenResponse WithResponseHeaderMetadata( ResponseHeaderMetadata responseHeaderMetadata )
 {
     this._responseHeaderMetadata = responseHeaderMetadata;
     return this;
 }
 public override void ReadFragmentFrom( IMwsReader reader )
 {
     this._listOrdersResult = reader.Read< ListOrdersResult >( "ListOrdersResult" );
     this._responseMetadata = reader.Read< ResponseMetadata >( "ResponseMetadata" );
     this._responseHeaderMetadata = reader.Read< ResponseHeaderMetadata >( "ResponseHeaderMetadata" );
 }
 /// <summary>
 /// Sets the ResponseHeaderMetadata property.
 /// </summary>
 /// <param name="responseHeaderMetadata">ResponseHeaderMetadata property.</param>
 /// <returns>this instance.</returns>
 public GetServiceStatusResponse WithResponseHeaderMetadata( ResponseHeaderMetadata responseHeaderMetadata )
 {
     this._responseHeaderMetadata = responseHeaderMetadata;
     return this;
 }
 /// <summary>
 /// Sets the ResponseHeaderMetadata property.
 /// </summary>
 /// <param name="responseHeaderMetadata">ResponseHeaderMetadata property.</param>
 /// <returns>this instance.</returns>
 public GetOrderResponse WithResponseHeaderMetadata( ResponseHeaderMetadata responseHeaderMetadata )
 {
     this._responseHeaderMetadata = responseHeaderMetadata;
     return this;
 }