C# Class AmazonMWS1.MarketplaceWebServiceProductsConfig

Configuration for accessing Marketplace Web Service Products service
ファイルを表示 Open project: nyneaxis/Amazon_MWS Class Usage Examples

Public Methods

Method Description
IsSetMaxErrorRetry ( ) : System.Boolean

Checks if MaxErrorRetry property is set

IsSetProxyHost ( ) : System.Boolean

Checks if ProxyHost property is set

IsSetProxyPort ( ) : System.Boolean

Checks if ProxyPort property is set

IsSetServiceURL ( ) : System.Boolean

Checks if ServiceURL property is set

IsSetSignatureMethod ( ) : System.Boolean

Checks if SignatureMethod property is set

IsSetSignatureVersion ( ) : System.Boolean

Checks if SignatureVersion property is set

IsSetUserAgent ( ) : System.Boolean

Checks if UserAgent property is set

SetUserAgent ( String applicationName, String applicationVersion ) : void
WithMaxErrorRetry ( int maxErrorRetry ) : MarketplaceWebServiceProductsConfig

Sets the MaxErrorRetry property

WithProxyHost ( String proxyHost ) : MarketplaceWebServiceProductsConfig

Sets the ProxyHost property

WithProxyPort ( int proxyPort ) : MarketplaceWebServiceProductsConfig

Sets the ProxyPort property

WithServiceURL ( String serviceURL ) : MarketplaceWebServiceProductsConfig

Sets the ServiceURL property

WithSignatureMethod ( String signatureMethod ) : MarketplaceWebServiceProductsConfig

Sets the SignatureMethod property

WithSignatureVersion ( String signatureVersion ) : MarketplaceWebServiceProductsConfig

Sets the SignatureVersion property

WithUserAgent ( String applicationName, String applicationVersion ) : MarketplaceWebServiceProductsConfig

Sets the UserAgent property

Private Methods

Method Description
Clean ( string s ) : string

Replace all whitespace characters by a single space.

ConfigureUserAgentHeader ( String applicationName, String applicationVersion ) : void
QuoteApplicationName ( string s ) : string

Collapse whitespace, and escape the following characters are escaped: '\', and '/'.

QuoteApplicationVersion ( string s ) : string

Collapse whitespace, and escape the following characters are escaped: '\', and '('.

QuoteAttributeName ( string s ) : string

Collapse whitespace, and escape the following characters are escaped: '\', and '='.

QuoteAttributeValue ( string s ) : string

Collapse whitespace, and escape the following characters are escaped: ')', '\', and ';'.

SetUserAgentHeader ( string applicationName, string applicationVersion, string programmingLanguage ) : void

Method Details

IsSetMaxErrorRetry() public method

Checks if MaxErrorRetry property is set
public IsSetMaxErrorRetry ( ) : System.Boolean
return System.Boolean

IsSetProxyHost() public method

Checks if ProxyHost property is set
public IsSetProxyHost ( ) : System.Boolean
return System.Boolean

IsSetProxyPort() public method

Checks if ProxyPort property is set
public IsSetProxyPort ( ) : System.Boolean
return System.Boolean

IsSetServiceURL() public method

Checks if ServiceURL property is set
public IsSetServiceURL ( ) : System.Boolean
return System.Boolean

IsSetSignatureMethod() public method

Checks if SignatureMethod property is set
public IsSetSignatureMethod ( ) : System.Boolean
return System.Boolean

IsSetSignatureVersion() public method

Checks if SignatureVersion property is set
public IsSetSignatureVersion ( ) : System.Boolean
return System.Boolean

IsSetUserAgent() public method

Checks if UserAgent property is set
public IsSetUserAgent ( ) : System.Boolean
return System.Boolean

SetUserAgent() public method

public SetUserAgent ( String applicationName, String applicationVersion ) : void
applicationName String
applicationVersion String
return void

WithMaxErrorRetry() public method

Sets the MaxErrorRetry property
public WithMaxErrorRetry ( int maxErrorRetry ) : MarketplaceWebServiceProductsConfig
maxErrorRetry int MaxErrorRetry property
return MarketplaceWebServiceProductsConfig

WithProxyHost() public method

Sets the ProxyHost property
public WithProxyHost ( String proxyHost ) : MarketplaceWebServiceProductsConfig
proxyHost String ProxyHost property
return MarketplaceWebServiceProductsConfig

WithProxyPort() public method

Sets the ProxyPort property
public WithProxyPort ( int proxyPort ) : MarketplaceWebServiceProductsConfig
proxyPort int ProxyPort property
return MarketplaceWebServiceProductsConfig

WithServiceURL() public method

Sets the ServiceURL property
public WithServiceURL ( String serviceURL ) : MarketplaceWebServiceProductsConfig
serviceURL String ServiceURL property
return MarketplaceWebServiceProductsConfig

WithSignatureMethod() public method

Sets the SignatureMethod property
public WithSignatureMethod ( String signatureMethod ) : MarketplaceWebServiceProductsConfig
signatureMethod String SignatureMethod property
return MarketplaceWebServiceProductsConfig

WithSignatureVersion() public method

Sets the SignatureVersion property
public WithSignatureVersion ( String signatureVersion ) : MarketplaceWebServiceProductsConfig
signatureVersion String SignatureVersion property
return MarketplaceWebServiceProductsConfig

WithUserAgent() public method

Sets the UserAgent property
public WithUserAgent ( String applicationName, String applicationVersion ) : MarketplaceWebServiceProductsConfig
applicationName String Your application's name, e.g. "MyMWSApp"
applicationVersion String Your application's version, e.g. "1.0"
return MarketplaceWebServiceProductsConfig