/// <summary> /// Sets the ResponseHeaderMetadata property. /// </summary> /// <param name="responseHeaderMetadata">ResponseHeaderMetadata property.</param> /// <returns>this instance.</returns> public GetLowestOfferListingsForSKUResponse 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 GetMyPriceForSKUResponse 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 GetLowestPricedOffersForSKUResponse 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 GetCompetitivePricingForASINResponse 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 GetLowestPricedOffersForSKUResponse WithResponseHeaderMetadata(ResponseHeaderMetadata responseHeaderMetadata) { this._responseHeaderMetadata = responseHeaderMetadata; return(this); }
/// <summary> /// Constructs MarketplaceWebServiceProductsException with message and wrapped exception /// </summary> /// <param name="message">Overview of error</param> /// <param name="t">Wrapped exception</param> public MarketplaceWebServiceProductsException(String message, Exception t) : base(message, t) { this.message = message; if (t is MarketplaceWebServiceProductsException) { MarketplaceWebServiceProductsException ex = (MarketplaceWebServiceProductsException)t; this.statusCode = ex.StatusCode; this.errorCode = ex.ErrorCode; this.errorType = ex.ErrorType; this.requestId = ex.RequestId; this.xml = ex.XML; this.responseHeaderMetadata = ex.ResponseHeaderMetadata; } }
/// <summary> /// Sets the ResponseHeaderMetadata property. /// </summary> /// <param name="responseHeaderMetadata">ResponseHeaderMetadata property.</param> /// <returns>this instance.</returns> public GetMatchingProductForIdResponse WithResponseHeaderMetadata(ResponseHeaderMetadata responseHeaderMetadata) { this._responseHeaderMetadata = responseHeaderMetadata; return this; }
public MarketplaceWebServiceProductsException(string message, HttpStatusCode statusCode, string errorCode, string errorType, string requestId, string xml, ResponseHeaderMetadata rhmd) : base((int)statusCode, message, errorCode, errorType, xml, rhmd) { }
/// <summary> /// Sets the ResponseHeaderMetadata property. /// </summary> /// <param name="responseHeaderMetadata">ResponseHeaderMetadata property.</param> /// <returns>this instance.</returns> public GetProductCategoriesForASINResponse 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 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 GetLowestOfferListingsForASINResponse 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 GetMatchingProductForIdResponse 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 GetMyPriceForSKUResponse 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 GetProductCategoriesForASINResponse WithResponseHeaderMetadata(ResponseHeaderMetadata responseHeaderMetadata) { this._responseHeaderMetadata = responseHeaderMetadata; return this; }
/// <summary> /// Constructs MarketplaceWebServiceProductsException with information available from service /// </summary> /// <param name="message">Overview of error</param> /// <param name="statusCode">HTTP status code for error response</param> /// <param name="errorCode">Error Code returned by the service</param> /// <param name="errorType">Error type. Possible types: Sender, Receiver or Unknown</param> /// <param name="requestId">Request ID returned by the service</param> /// <param name="xml">Compete xml found in response</param> public MarketplaceWebServiceProductsException(String message, HttpStatusCode statusCode, String errorCode, String errorType, String requestId, String xml, ResponseHeaderMetadata rhm) : this(message, statusCode, rhm) { this.errorCode = errorCode; this.errorType = errorType; this.requestId = requestId; this.xml = xml; }
public MarketplaceWebServiceProductsException(string message, HttpStatusCode statusCode, ResponseHeaderMetadata rhmd) : base((int)statusCode, message, null, null, null, rhmd) { }
/// <summary> /// Constructs MarketplaceWebServiceProductsException with message and status code /// </summary> /// <param name="message">Overview of error</param> /// <param name="statusCode">HTTP status code for error response</param> public MarketplaceWebServiceProductsException(String message, HttpStatusCode statusCode, ResponseHeaderMetadata rhm) : this(message) { this.statusCode = statusCode; this.responseHeaderMetadata = rhm; }
/// <summary> /// Sets the ResponseHeaderMetadata property. /// </summary> /// <param name="responseHeaderMetadata">ResponseHeaderMetadata property.</param> /// <returns>this instance.</returns> public ListMatchingProductsResponse 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 GetServiceStatusResponse WithResponseHeaderMetadata(ResponseHeaderMetadata responseHeaderMetadata) { this._responseHeaderMetadata = responseHeaderMetadata; return(this); }