/// <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;
 }
 /// <summary>
 /// Sets the ResponseHeaderMetadata property.
 /// </summary>
 /// <param name="responseHeaderMetadata">ResponseHeaderMetadata property.</param>
 /// <returns>this instance.</returns>
 public ListOrderItemsResponse 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;
 }
 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 GetServiceStatusResponse WithResponseHeaderMetadata(ResponseHeaderMetadata responseHeaderMetadata)
 {
     this._responseHeaderMetadata = responseHeaderMetadata;
     return this;
 }