Class ProductsAndPricingClientConfig
Config used to setup a ProductsAndPricingClient
Inheritance
System.Object
ProductsAndPricingClientConfig
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: EC.ProductsAndPricing.Client
Assembly: EC.ProductsAndPricing.Client.dll
Syntax
public sealed class ProductsAndPricingClientConfig
Properties
View SourceAllowUnsecureApi
If true
then an API key isn't needed and the url isn't checked for the https protocol
Declaration
public bool AllowUnsecureApi { get; set; }
Property Type:
System.Boolean
View Source
ApiKey
The api key
Declaration
public string ApiKey { get; set; }
Property Type:
System.String
View Source
ApiVersion
The desired version of the api to use. If null
then a version will be chosen based on the setup of
the API key in the service.
Declaration
public int? ApiVersion { get; set; }
Property Type:
System.Nullable<System.Int32>
View Source
BaseUri
The base URL of the API to call.
Declaration
public Uri BaseUri { get; set; }
Property Type:
System.Uri
View Source
CustomClientInitalization
Allows custom setup of the underlying
Declaration
public Action<HttpClient> CustomClientInitalization { get; set; }
Property Type:
System.Action<System.Net.Http.HttpClient>