Skip to content

Commit

Permalink
Amazon Pay API SDK (Java) 2.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharath Kamlekar committed Mar 23, 2023
1 parent 24f1fdf commit 3ff564e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/com/amazon/pay/api/ProxySettings.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public Integer getProxyPort() {
}

/**
* @param proxyHost The Proxy Port
* @param proxyPort The Proxy Port
* @return the ProxySettings object
*/
public ProxySettings setProxyPort(Integer proxyPort) {
Expand All @@ -60,7 +60,7 @@ public String getProxyUser() {
}

/**
* @param proxyHost The Proxy User
* @param proxyUser The Proxy User
* @return the ProxySettings object
*/
public ProxySettings setProxyUser(String proxyUser) {
Expand All @@ -76,7 +76,7 @@ public char[] getProxyPassword() {
}

/**
* @param proxyHost The Proxy Password
* @param proxyPassword The Proxy Password
* @return the ProxySettings object
*/
public ProxySettings setProxyPassword(char[] proxyPassword) {
Expand Down
8 changes: 4 additions & 4 deletions src/com/amazon/pay/api/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public static String getFormattedTimestamp() {

/**
* Builds the PrivateKey object from the private key provided
* @param char[] privateKey the private key provided
* @param privateKey the private key provided
* @return the PrivateKey object
* @throws AmazonPayClientException When an error response is returned by Amazon Pay due to bad request or other issue
*/
Expand Down Expand Up @@ -197,7 +197,7 @@ public static PrivateKey buildPrivateKey(final char[] privateKey) throws AmazonP

/**
* To read the contents of the private key
* @param char[] privateKey the private key provided
* @param privateKey the private key provided
* @return private key pem object
* @throws AmazonPayClientException When an error response is returned by Amazon Pay due to bad request or other issue
*/
Expand Down Expand Up @@ -308,7 +308,7 @@ public static Map<String, String> updateHeader(Map<String, String> header) {
* @param uri the URI
* @return the Commons HttpMethodBase object
* @throws UnsupportedEncodingException
* @throws AmazonPayClientException
* @throws AmazonPayClientException When an error response is returned by Amazon Pay due to bad request or other issue
*/
public static HttpUriRequest getHttpUriRequest(final URI uri, final String httpMethodName, final String payload)
throws AmazonPayClientException, UnsupportedEncodingException {
Expand Down Expand Up @@ -385,7 +385,7 @@ public static CloseableHttpClient getHttpClientWithConnectionPool(final PayConfi
*
* @param amazonPayResponse the response of the API request
* @return the enhanced amazonPayResponse
* @throws AmazonPayClientException
* @throws AmazonPayClientException When an error response is returned by Amazon Pay due to bad request or other issue
*/
public static AmazonPayResponse enhanceResponseWithShippingAddressList(final AmazonPayResponse amazonPayResponse) throws AmazonPayClientException {
try {
Expand Down

0 comments on commit 3ff564e

Please sign in to comment.