Class FeesApi
- java.lang.Object
-
- software.amazon.spapi.api.productfees.v0.FeesApi
-
public class FeesApi extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FeesApi.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClient
getApiClient()
GetMyFeesEstimateResponse
getMyFeesEstimateForASIN(GetMyFeesEstimateRequest body, java.lang.String asin)
Returns the estimated fees for the item indicated by the specified ASIN in the marketplace specified in the request body.okhttp3.Call
getMyFeesEstimateForASINAsync(GetMyFeesEstimateRequest body, java.lang.String asin, ApiCallback<GetMyFeesEstimateResponse> callback)
(asynchronously) Returns the estimated fees for the item indicated by the specified ASIN in the marketplace specified in the request body.okhttp3.Call
getMyFeesEstimateForASINCall(GetMyFeesEstimateRequest body, java.lang.String asin, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getMyFeesEstimateForASINApiResponse<GetMyFeesEstimateResponse>
getMyFeesEstimateForASINWithHttpInfo(GetMyFeesEstimateRequest body, java.lang.String asin)
Returns the estimated fees for the item indicated by the specified ASIN in the marketplace specified in the request body.GetMyFeesEstimateResponse
getMyFeesEstimateForSKU(GetMyFeesEstimateRequest body, java.lang.String sellerSKU)
Returns the estimated fees for the item indicated by the specified seller SKU in the marketplace specified in the request body.okhttp3.Call
getMyFeesEstimateForSKUAsync(GetMyFeesEstimateRequest body, java.lang.String sellerSKU, ApiCallback<GetMyFeesEstimateResponse> callback)
(asynchronously) Returns the estimated fees for the item indicated by the specified seller SKU in the marketplace specified in the request body.okhttp3.Call
getMyFeesEstimateForSKUCall(GetMyFeesEstimateRequest body, java.lang.String sellerSKU, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getMyFeesEstimateForSKUApiResponse<GetMyFeesEstimateResponse>
getMyFeesEstimateForSKUWithHttpInfo(GetMyFeesEstimateRequest body, java.lang.String sellerSKU)
Returns the estimated fees for the item indicated by the specified seller SKU in the marketplace specified in the request body.GetMyFeesEstimatesResponse
getMyFeesEstimates(java.util.List<FeesEstimateByIdRequest> body)
Returns the estimated fees for a list of products.okhttp3.Call
getMyFeesEstimatesAsync(java.util.List<FeesEstimateByIdRequest> body, ApiCallback<GetMyFeesEstimatesResponse> callback)
(asynchronously) Returns the estimated fees for a list of products.okhttp3.Call
getMyFeesEstimatesCall(java.util.List<FeesEstimateByIdRequest> body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getMyFeesEstimatesApiResponse<GetMyFeesEstimatesResponse>
getMyFeesEstimatesWithHttpInfo(java.util.List<FeesEstimateByIdRequest> body)
Returns the estimated fees for a list of products.void
setApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
FeesApi
public FeesApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getMyFeesEstimateForASINCall
public okhttp3.Call getMyFeesEstimateForASINCall(GetMyFeesEstimateRequest body, java.lang.String asin, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for getMyFeesEstimateForASIN- Parameters:
body
- (required)asin
- The Amazon Standard Identification Number (ASIN) of the item. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
getMyFeesEstimateForASIN
public GetMyFeesEstimateResponse getMyFeesEstimateForASIN(GetMyFeesEstimateRequest body, java.lang.String asin) throws ApiException, LWAException
Returns the estimated fees for the item indicated by the specified ASIN in the marketplace specified in the request body. You can call `getMyFeesEstimateForASIN` for an item on behalf of a selling partner before the selling partner sets the item's price. The selling partner can then take estimated fees into account. Each fees request must include an original identifier. This identifier is included in the fees estimate so you can correlate a fees estimate with the original request. **Note:** This identifier value is used to identify an estimate. Actual costs may vary. Search \"fees\" in [Seller Central](https://sellercentral.amazon.com/) and consult the store-specific fee schedule for the most up-to-date information. **Note:** When using the `getMyFeesEstimateForASIN` operation with an ASIN, the fee estimates might be different. This is because these estimates use the item's catalog size, which might not always match the actual size of the item sent to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- (required)asin
- The Amazon Standard Identification Number (ASIN) of the item. (required)- Returns:
- GetMyFeesEstimateResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getMyFeesEstimateForASINWithHttpInfo
public ApiResponse<GetMyFeesEstimateResponse> getMyFeesEstimateForASINWithHttpInfo(GetMyFeesEstimateRequest body, java.lang.String asin) throws ApiException, LWAException
Returns the estimated fees for the item indicated by the specified ASIN in the marketplace specified in the request body. You can call `getMyFeesEstimateForASIN` for an item on behalf of a selling partner before the selling partner sets the item's price. The selling partner can then take estimated fees into account. Each fees request must include an original identifier. This identifier is included in the fees estimate so you can correlate a fees estimate with the original request. **Note:** This identifier value is used to identify an estimate. Actual costs may vary. Search \"fees\" in [Seller Central](https://sellercentral.amazon.com/) and consult the store-specific fee schedule for the most up-to-date information. **Note:** When using the `getMyFeesEstimateForASIN` operation with an ASIN, the fee estimates might be different. This is because these estimates use the item's catalog size, which might not always match the actual size of the item sent to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- (required)asin
- The Amazon Standard Identification Number (ASIN) of the item. (required)- Returns:
- ApiResponse<GetMyFeesEstimateResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getMyFeesEstimateForASINAsync
public okhttp3.Call getMyFeesEstimateForASINAsync(GetMyFeesEstimateRequest body, java.lang.String asin, ApiCallback<GetMyFeesEstimateResponse> callback) throws ApiException, LWAException
(asynchronously) Returns the estimated fees for the item indicated by the specified ASIN in the marketplace specified in the request body. You can call `getMyFeesEstimateForASIN` for an item on behalf of a selling partner before the selling partner sets the item's price. The selling partner can then take estimated fees into account. Each fees request must include an original identifier. This identifier is included in the fees estimate so you can correlate a fees estimate with the original request. **Note:** This identifier value is used to identify an estimate. Actual costs may vary. Search \"fees\" in [Seller Central](https://sellercentral.amazon.com/) and consult the store-specific fee schedule for the most up-to-date information. **Note:** When using the `getMyFeesEstimateForASIN` operation with an ASIN, the fee estimates might be different. This is because these estimates use the item's catalog size, which might not always match the actual size of the item sent to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- (required)asin
- The Amazon Standard Identification Number (ASIN) of the item. (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
getMyFeesEstimateForSKUCall
public okhttp3.Call getMyFeesEstimateForSKUCall(GetMyFeesEstimateRequest body, java.lang.String sellerSKU, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for getMyFeesEstimateForSKU- Parameters:
body
- (required)sellerSKU
- Used to identify an item in the given marketplace. SellerSKU is qualified by the seller's SellerId, which is included with every operation that you submit. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
getMyFeesEstimateForSKU
public GetMyFeesEstimateResponse getMyFeesEstimateForSKU(GetMyFeesEstimateRequest body, java.lang.String sellerSKU) throws ApiException, LWAException
Returns the estimated fees for the item indicated by the specified seller SKU in the marketplace specified in the request body. **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). You can call `getMyFeesEstimateForSKU` for an item on behalf of a selling partner before the selling partner sets the item's price. The selling partner can then take any estimated fees into account. Each fees estimate request must include an original identifier. This identifier is included in the fees estimate so that you can correlate a fees estimate with the original request. **Note:** This identifier value is used to identify an estimate. Actual costs may vary. Search \"fees\" in [Seller Central](https://sellercentral.amazon.com/) and consult the store-specific fee schedule for the most up-to-date information. **Note:** When sellers use the `getMyFeesEstimateForSKU` operation with their `SellerSKU`, they get accurate fees based on real item measurements, but only after they've sent their items to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- (required)sellerSKU
- Used to identify an item in the given marketplace. SellerSKU is qualified by the seller's SellerId, which is included with every operation that you submit. (required)- Returns:
- GetMyFeesEstimateResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getMyFeesEstimateForSKUWithHttpInfo
public ApiResponse<GetMyFeesEstimateResponse> getMyFeesEstimateForSKUWithHttpInfo(GetMyFeesEstimateRequest body, java.lang.String sellerSKU) throws ApiException, LWAException
Returns the estimated fees for the item indicated by the specified seller SKU in the marketplace specified in the request body. **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). You can call `getMyFeesEstimateForSKU` for an item on behalf of a selling partner before the selling partner sets the item's price. The selling partner can then take any estimated fees into account. Each fees estimate request must include an original identifier. This identifier is included in the fees estimate so that you can correlate a fees estimate with the original request. **Note:** This identifier value is used to identify an estimate. Actual costs may vary. Search \"fees\" in [Seller Central](https://sellercentral.amazon.com/) and consult the store-specific fee schedule for the most up-to-date information. **Note:** When sellers use the `getMyFeesEstimateForSKU` operation with their `SellerSKU`, they get accurate fees based on real item measurements, but only after they've sent their items to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- (required)sellerSKU
- Used to identify an item in the given marketplace. SellerSKU is qualified by the seller's SellerId, which is included with every operation that you submit. (required)- Returns:
- ApiResponse<GetMyFeesEstimateResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getMyFeesEstimateForSKUAsync
public okhttp3.Call getMyFeesEstimateForSKUAsync(GetMyFeesEstimateRequest body, java.lang.String sellerSKU, ApiCallback<GetMyFeesEstimateResponse> callback) throws ApiException, LWAException
(asynchronously) Returns the estimated fees for the item indicated by the specified seller SKU in the marketplace specified in the request body. **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). You can call `getMyFeesEstimateForSKU` for an item on behalf of a selling partner before the selling partner sets the item's price. The selling partner can then take any estimated fees into account. Each fees estimate request must include an original identifier. This identifier is included in the fees estimate so that you can correlate a fees estimate with the original request. **Note:** This identifier value is used to identify an estimate. Actual costs may vary. Search \"fees\" in [Seller Central](https://sellercentral.amazon.com/) and consult the store-specific fee schedule for the most up-to-date information. **Note:** When sellers use the `getMyFeesEstimateForSKU` operation with their `SellerSKU`, they get accurate fees based on real item measurements, but only after they've sent their items to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- (required)sellerSKU
- Used to identify an item in the given marketplace. SellerSKU is qualified by the seller's SellerId, which is included with every operation that you submit. (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
getMyFeesEstimatesCall
public okhttp3.Call getMyFeesEstimatesCall(java.util.List<FeesEstimateByIdRequest> body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for getMyFeesEstimates- Parameters:
body
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
getMyFeesEstimates
public GetMyFeesEstimatesResponse getMyFeesEstimates(java.util.List<FeesEstimateByIdRequest> body) throws ApiException, LWAException
Returns the estimated fees for a list of products. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- (required)- Returns:
- GetMyFeesEstimatesResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getMyFeesEstimatesWithHttpInfo
public ApiResponse<GetMyFeesEstimatesResponse> getMyFeesEstimatesWithHttpInfo(java.util.List<FeesEstimateByIdRequest> body) throws ApiException, LWAException
Returns the estimated fees for a list of products. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- (required)- Returns:
- ApiResponse<GetMyFeesEstimatesResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getMyFeesEstimatesAsync
public okhttp3.Call getMyFeesEstimatesAsync(java.util.List<FeesEstimateByIdRequest> body, ApiCallback<GetMyFeesEstimatesResponse> callback) throws ApiException, LWAException
(asynchronously) Returns the estimated fees for a list of products. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
-