public class SalesApi extends Object
| Constructor and Description |
|---|
SalesApi(Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
Sale |
createSale(AuthCaptureRequest request)
Perform a sale.
|
ApiClient |
getApiClient() |
GetSale |
getSale(String id)
Search for a sale.
|
SaleCollection |
getSales(Integer offset,
Integer limit)
Search for all sales.
|
void |
setApiClient(ApiClient apiClient) |
public SalesApi(Configuration configuration)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public SaleCollection getSales(Integer offset, Integer limit) throws ApiException
offset - Element numberlimit - Page sizeApiExceptionpublic Sale createSale(AuthCaptureRequest request) throws ApiException
request - Perform a sale.ApiExceptionpublic GetSale getSale(String id) throws ApiException
id - Sales IDApiExceptionCopyright © 2016. All Rights Reserved.