public class TransactionService extends Object
| Constructor and Description |
|---|
TransactionService(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
Transaction |
confirm(Long spaceId,
TransactionPending transactionModel)
Confirm
The confirm operation marks the transaction as confirmed.
|
Transaction |
confirm(Long spaceId,
TransactionPending transactionModel,
Map<String,Object> params)
Confirm
The confirm operation marks the transaction as confirmed.
|
com.google.api.client.http.HttpResponse |
confirmForHttpResponse(Long spaceId,
InputStream transactionModel,
String mediaType) |
com.google.api.client.http.HttpResponse |
confirmForHttpResponse(Long spaceId,
TransactionPending transactionModel) |
com.google.api.client.http.HttpResponse |
confirmForHttpResponse(Long spaceId,
TransactionPending transactionModel,
Map<String,Object> params) |
Long |
count(EntityQueryFilter filter,
Long spaceId,
Map<String,Object> params)
Count
Counts the number of items in the database as restricted by the given filter.
|
Long |
count(Long spaceId,
EntityQueryFilter filter)
Count
Counts the number of items in the database as restricted by the given filter.
|
com.google.api.client.http.HttpResponse |
countForHttpResponse(EntityQueryFilter filter,
Long spaceId,
Map<String,Object> params) |
com.google.api.client.http.HttpResponse |
countForHttpResponse(Long spaceId,
EntityQueryFilter filter) |
com.google.api.client.http.HttpResponse |
countForHttpResponse(Long spaceId,
InputStream filter,
String mediaType) |
Transaction |
create(Long spaceId,
TransactionCreate transaction)
Create
Creates the entity with the given properties.
|
Transaction |
create(Long spaceId,
TransactionCreate transaction,
Map<String,Object> params)
Create
Creates the entity with the given properties.
|
com.google.api.client.http.HttpResponse |
createForHttpResponse(Long spaceId,
InputStream transaction,
String mediaType) |
com.google.api.client.http.HttpResponse |
createForHttpResponse(Long spaceId,
TransactionCreate transaction) |
com.google.api.client.http.HttpResponse |
createForHttpResponse(Long spaceId,
TransactionCreate transaction,
Map<String,Object> params) |
String |
createTransactionCredentials(Long spaceId,
Long id)
Create Transaction Credentials
This operation allows to create transaction credentials to delegate temporarily the access to the web service API for this particular transaction.
|
String |
createTransactionCredentials(Long spaceId,
Long id,
Map<String,Object> params)
Create Transaction Credentials
This operation allows to create transaction credentials to delegate temporarily the access to the web service API for this particular transaction.
|
com.google.api.client.http.HttpResponse |
createTransactionCredentialsForHttpResponse(Long spaceId,
Long id) |
com.google.api.client.http.HttpResponse |
createTransactionCredentialsForHttpResponse(Long spaceId,
Long id,
Map<String,Object> params) |
void |
deleteOneClickTokenWithCredentials(String credentials,
Long tokenId)
Delete One-Click Token with Credentials
This operation removes the given token.
|
void |
deleteOneClickTokenWithCredentials(String credentials,
Long tokenId,
Map<String,Object> params)
Delete One-Click Token with Credentials
This operation removes the given token.
|
com.google.api.client.http.HttpResponse |
deleteOneClickTokenWithCredentialsForHttpResponse(String credentials,
Long tokenId) |
com.google.api.client.http.HttpResponse |
deleteOneClickTokenWithCredentialsForHttpResponse(String credentials,
Long tokenId,
Map<String,Object> params) |
byte[] |
export(Long spaceId,
EntityExportRequest request)
Export
Exports the transactions into a CSV file.
|
byte[] |
export(Long spaceId,
EntityExportRequest request,
Map<String,Object> params)
Export
Exports the transactions into a CSV file.
|
com.google.api.client.http.HttpResponse |
exportForHttpResponse(Long spaceId,
EntityExportRequest request) |
com.google.api.client.http.HttpResponse |
exportForHttpResponse(Long spaceId,
EntityExportRequest request,
Map<String,Object> params) |
com.google.api.client.http.HttpResponse |
exportForHttpResponse(Long spaceId,
InputStream request,
String mediaType) |
List<TokenVersion> |
fetchOneClickTokensWithCredentials(String credentials)
Fetch One Click Tokens with Credentials
This operation returns the token version objects which references the tokens usable as one-click payment tokens for the provided transaction.
|
List<TokenVersion> |
fetchOneClickTokensWithCredentials(String credentials,
Map<String,Object> params)
Fetch One Click Tokens with Credentials
This operation returns the token version objects which references the tokens usable as one-click payment tokens for the provided transaction.
|
com.google.api.client.http.HttpResponse |
fetchOneClickTokensWithCredentialsForHttpResponse(String credentials) |
com.google.api.client.http.HttpResponse |
fetchOneClickTokensWithCredentialsForHttpResponse(String credentials,
Map<String,Object> params) |
List<PaymentMethodConfiguration> |
fetchPaymentMethods(Long spaceId,
Long id,
String integrationMode)
Fetch Possible Payment Methods
This operation allows to get the payment method configurations which can be used with the provided transaction.
|
List<PaymentMethodConfiguration> |
fetchPaymentMethods(Long spaceId,
Long id,
String integrationMode,
Map<String,Object> params)
Fetch Possible Payment Methods
This operation allows to get the payment method configurations which can be used with the provided transaction.
|
com.google.api.client.http.HttpResponse |
fetchPaymentMethodsForHttpResponse(Long spaceId,
Long id,
String integrationMode) |
com.google.api.client.http.HttpResponse |
fetchPaymentMethodsForHttpResponse(Long spaceId,
Long id,
String integrationMode,
Map<String,Object> params) |
List<PaymentMethodConfiguration> |
fetchPaymentMethodsWithCredentials(String credentials,
String integrationMode)
Fetch Possible Payment Methods with Credentials
This operation allows to get the payment method configurations which can be used with the provided transaction.
|
List<PaymentMethodConfiguration> |
fetchPaymentMethodsWithCredentials(String credentials,
String integrationMode,
Map<String,Object> params)
Fetch Possible Payment Methods with Credentials
This operation allows to get the payment method configurations which can be used with the provided transaction.
|
com.google.api.client.http.HttpResponse |
fetchPaymentMethodsWithCredentialsForHttpResponse(String credentials,
String integrationMode) |
com.google.api.client.http.HttpResponse |
fetchPaymentMethodsWithCredentialsForHttpResponse(String credentials,
String integrationMode,
Map<String,Object> params) |
ApiClient |
getApiClient() |
RenderedDocument |
getInvoiceDocument(Long spaceId,
Long id)
getInvoiceDocument
Returns the PDF document for the transaction invoice with given id.
|
RenderedDocument |
getInvoiceDocument(Long spaceId,
Long id,
Map<String,Object> params)
getInvoiceDocument
Returns the PDF document for the transaction invoice with given id.
|
com.google.api.client.http.HttpResponse |
getInvoiceDocumentForHttpResponse(Long spaceId,
Long id) |
com.google.api.client.http.HttpResponse |
getInvoiceDocumentForHttpResponse(Long spaceId,
Long id,
Map<String,Object> params) |
TransactionLineItemVersion |
getLatestTransactionLineItemVersion(Long spaceId,
Long id)
getLatestSuccessfulTransactionLineItemVersion
|
TransactionLineItemVersion |
getLatestTransactionLineItemVersion(Long spaceId,
Long id,
Map<String,Object> params)
getLatestSuccessfulTransactionLineItemVersion
|
com.google.api.client.http.HttpResponse |
getLatestTransactionLineItemVersionForHttpResponse(Long spaceId,
Long id) |
com.google.api.client.http.HttpResponse |
getLatestTransactionLineItemVersionForHttpResponse(Long spaceId,
Long id,
Map<String,Object> params) |
RenderedDocument |
getPackingSlip(Long spaceId,
Long id)
getPackingSlip
Returns the packing slip for the transaction with given id.
|
RenderedDocument |
getPackingSlip(Long spaceId,
Long id,
Map<String,Object> params)
getPackingSlip
Returns the packing slip for the transaction with given id.
|
com.google.api.client.http.HttpResponse |
getPackingSlipForHttpResponse(Long spaceId,
Long id) |
com.google.api.client.http.HttpResponse |
getPackingSlipForHttpResponse(Long spaceId,
Long id,
Map<String,Object> params) |
String |
processOneClickTokenAndRedirectWithCredentials(String credentials,
Long tokenId)
Process One-Click Token with Credentials
This operation assigns the given token to the transaction and process it.
|
String |
processOneClickTokenAndRedirectWithCredentials(String credentials,
Long tokenId,
Map<String,Object> params)
Process One-Click Token with Credentials
This operation assigns the given token to the transaction and process it.
|
com.google.api.client.http.HttpResponse |
processOneClickTokenAndRedirectWithCredentialsForHttpResponse(String credentials,
Long tokenId) |
com.google.api.client.http.HttpResponse |
processOneClickTokenAndRedirectWithCredentialsForHttpResponse(String credentials,
Long tokenId,
Map<String,Object> params) |
Transaction |
processWithoutUserInteraction(Long spaceId,
Long id)
Process Without User Interaction
This operation processes the transaction without requiring that the customer is present.
|
Transaction |
processWithoutUserInteraction(Long spaceId,
Long id,
Map<String,Object> params)
Process Without User Interaction
This operation processes the transaction without requiring that the customer is present.
|
com.google.api.client.http.HttpResponse |
processWithoutUserInteractionForHttpResponse(Long spaceId,
Long id) |
com.google.api.client.http.HttpResponse |
processWithoutUserInteractionForHttpResponse(Long spaceId,
Long id,
Map<String,Object> params) |
Transaction |
read(Long spaceId,
Long id)
Read
Reads the entity with the given 'id' and returns it.
|
Transaction |
read(Long spaceId,
Long id,
Map<String,Object> params)
Read
Reads the entity with the given 'id' and returns it.
|
com.google.api.client.http.HttpResponse |
readForHttpResponse(Long spaceId,
Long id) |
com.google.api.client.http.HttpResponse |
readForHttpResponse(Long spaceId,
Long id,
Map<String,Object> params) |
Transaction |
readWithCredentials(String credentials)
Read With Credentials
Reads the transaction with the given 'id' and returns it.
|
Transaction |
readWithCredentials(String credentials,
Map<String,Object> params)
Read With Credentials
Reads the transaction with the given 'id' and returns it.
|
com.google.api.client.http.HttpResponse |
readWithCredentialsForHttpResponse(String credentials) |
com.google.api.client.http.HttpResponse |
readWithCredentialsForHttpResponse(String credentials,
Map<String,Object> params) |
List<Transaction> |
search(Long spaceId,
EntityQuery query)
Search
Searches for the entities as specified by the given query.
|
List<Transaction> |
search(Long spaceId,
EntityQuery query,
Map<String,Object> params)
Search
Searches for the entities as specified by the given query.
|
com.google.api.client.http.HttpResponse |
searchForHttpResponse(Long spaceId,
EntityQuery query) |
com.google.api.client.http.HttpResponse |
searchForHttpResponse(Long spaceId,
EntityQuery query,
Map<String,Object> params) |
com.google.api.client.http.HttpResponse |
searchForHttpResponse(Long spaceId,
InputStream query,
String mediaType) |
void |
setApiClient(ApiClient apiClient) |
Transaction |
update(Long spaceId,
TransactionPending entity)
Update
This updates the entity with the given properties.
|
Transaction |
update(Long spaceId,
TransactionPending entity,
Map<String,Object> params)
Update
This updates the entity with the given properties.
|
com.google.api.client.http.HttpResponse |
updateForHttpResponse(Long spaceId,
InputStream entity,
String mediaType) |
com.google.api.client.http.HttpResponse |
updateForHttpResponse(Long spaceId,
TransactionPending entity) |
com.google.api.client.http.HttpResponse |
updateForHttpResponse(Long spaceId,
TransactionPending entity,
Map<String,Object> params) |
public TransactionService(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public Transaction confirm(Long spaceId, TransactionPending transactionModel) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - transactionModel - The transaction JSON object to update and confirm.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public Transaction confirm(Long spaceId, TransactionPending transactionModel, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - transactionModel - The transaction JSON object to update and confirm.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse confirmForHttpResponse(Long spaceId, TransactionPending transactionModel) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse confirmForHttpResponse(Long spaceId, InputStream transactionModel, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse confirmForHttpResponse(Long spaceId, TransactionPending transactionModel, Map<String,Object> params) throws IOException
IOExceptionpublic Long count(Long spaceId, EntityQueryFilter filter) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - filter - The filter which restricts the entities which are used to calculate the count.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public Long count(EntityQueryFilter filter, Long spaceId, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse countForHttpResponse(Long spaceId, EntityQueryFilter filter) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse countForHttpResponse(Long spaceId, InputStream filter, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse countForHttpResponse(EntityQueryFilter filter, Long spaceId, Map<String,Object> params) throws IOException
IOExceptionpublic Transaction create(Long spaceId, TransactionCreate transaction) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - transaction - The transaction object which should be created.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public Transaction create(Long spaceId, TransactionCreate transaction, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - transaction - The transaction object which should be created.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse createForHttpResponse(Long spaceId, TransactionCreate transaction) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createForHttpResponse(Long spaceId, InputStream transaction, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createForHttpResponse(Long spaceId, TransactionCreate transaction, Map<String,Object> params) throws IOException
IOExceptionpublic String createTransactionCredentials(Long spaceId, Long id) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - The id of the transaction which should be returned.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public String createTransactionCredentials(Long spaceId, Long id, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - The id of the transaction which should be returned.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse createTransactionCredentialsForHttpResponse(Long spaceId, Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createTransactionCredentialsForHttpResponse(Long spaceId, Long id, Map<String,Object> params) throws IOException
IOExceptionpublic void deleteOneClickTokenWithCredentials(String credentials, Long tokenId) throws IOException
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
credentials - The credentials identifies the transaction and contains the security details which grants the access this operation.tokenId - The token ID will be used to find the token which should be removed.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public void deleteOneClickTokenWithCredentials(String credentials, Long tokenId, Map<String,Object> params) throws IOException
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
credentials - The credentials identifies the transaction and contains the security details which grants the access this operation.tokenId - The token ID will be used to find the token which should be removed.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse deleteOneClickTokenWithCredentialsForHttpResponse(String credentials, Long tokenId) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse deleteOneClickTokenWithCredentialsForHttpResponse(String credentials, Long tokenId, Map<String,Object> params) throws IOException
IOExceptionpublic byte[] export(Long spaceId, EntityExportRequest request) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - request - The request controls the entries which are exported.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public byte[] export(Long spaceId, EntityExportRequest request, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - request - The request controls the entries which are exported.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse exportForHttpResponse(Long spaceId, EntityExportRequest request) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse exportForHttpResponse(Long spaceId, InputStream request, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse exportForHttpResponse(Long spaceId, EntityExportRequest request, Map<String,Object> params) throws IOException
IOExceptionpublic List<TokenVersion> fetchOneClickTokensWithCredentials(String credentials) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
credentials - The credentials identifies the transaction and contains the security details which grants the access this operation.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public List<TokenVersion> fetchOneClickTokensWithCredentials(String credentials, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
credentials - The credentials identifies the transaction and contains the security details which grants the access this operation.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse fetchOneClickTokensWithCredentialsForHttpResponse(String credentials) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse fetchOneClickTokensWithCredentialsForHttpResponse(String credentials, Map<String,Object> params) throws IOException
IOExceptionpublic List<PaymentMethodConfiguration> fetchPaymentMethods(Long spaceId, Long id, String integrationMode) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - The id of the transaction which should be returned.integrationMode - The integration mode defines the type of integration that is applied on the transaction.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public List<PaymentMethodConfiguration> fetchPaymentMethods(Long spaceId, Long id, String integrationMode, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - The id of the transaction which should be returned.integrationMode - The integration mode defines the type of integration that is applied on the transaction.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse fetchPaymentMethodsForHttpResponse(Long spaceId, Long id, String integrationMode) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse fetchPaymentMethodsForHttpResponse(Long spaceId, Long id, String integrationMode, Map<String,Object> params) throws IOException
IOExceptionpublic List<PaymentMethodConfiguration> fetchPaymentMethodsWithCredentials(String credentials, String integrationMode) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
credentials - The credentials identifies the transaction and contains the security details which grants the access this operation.integrationMode - The integration mode defines the type of integration that is applied on the transaction.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public List<PaymentMethodConfiguration> fetchPaymentMethodsWithCredentials(String credentials, String integrationMode, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
credentials - The credentials identifies the transaction and contains the security details which grants the access this operation.integrationMode - The integration mode defines the type of integration that is applied on the transaction.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse fetchPaymentMethodsWithCredentialsForHttpResponse(String credentials, String integrationMode) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse fetchPaymentMethodsWithCredentialsForHttpResponse(String credentials, String integrationMode, Map<String,Object> params) throws IOException
IOExceptionpublic RenderedDocument getInvoiceDocument(Long spaceId, Long id) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - The id of the transaction to get the invoice document for.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public RenderedDocument getInvoiceDocument(Long spaceId, Long id, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - The id of the transaction to get the invoice document for.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse getInvoiceDocumentForHttpResponse(Long spaceId, Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse getInvoiceDocumentForHttpResponse(Long spaceId, Long id, Map<String,Object> params) throws IOException
IOExceptionpublic TransactionLineItemVersion getLatestTransactionLineItemVersion(Long spaceId, Long id) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - The id of the transaction to get the latest line item version for.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public TransactionLineItemVersion getLatestTransactionLineItemVersion(Long spaceId, Long id, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - The id of the transaction to get the latest line item version for.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse getLatestTransactionLineItemVersionForHttpResponse(Long spaceId, Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse getLatestTransactionLineItemVersionForHttpResponse(Long spaceId, Long id, Map<String,Object> params) throws IOException
IOExceptionpublic RenderedDocument getPackingSlip(Long spaceId, Long id) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - The id of the transaction to get the packing slip for.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public RenderedDocument getPackingSlip(Long spaceId, Long id, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - The id of the transaction to get the packing slip for.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse getPackingSlipForHttpResponse(Long spaceId, Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse getPackingSlipForHttpResponse(Long spaceId, Long id, Map<String,Object> params) throws IOException
IOExceptionpublic String processOneClickTokenAndRedirectWithCredentials(String credentials, Long tokenId) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
credentials - The credentials identifies the transaction and contains the security details which grants the access this operation.tokenId - The token ID is used to load the corresponding token and to process the transaction with it.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public String processOneClickTokenAndRedirectWithCredentials(String credentials, Long tokenId, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
credentials - The credentials identifies the transaction and contains the security details which grants the access this operation.tokenId - The token ID is used to load the corresponding token and to process the transaction with it.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse processOneClickTokenAndRedirectWithCredentialsForHttpResponse(String credentials, Long tokenId) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse processOneClickTokenAndRedirectWithCredentialsForHttpResponse(String credentials, Long tokenId, Map<String,Object> params) throws IOException
IOExceptionpublic Transaction processWithoutUserInteraction(Long spaceId, Long id) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - The id of the transaction which should be processed.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public Transaction processWithoutUserInteraction(Long spaceId, Long id, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - The id of the transaction which should be processed.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse processWithoutUserInteractionForHttpResponse(Long spaceId, Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse processWithoutUserInteractionForHttpResponse(Long spaceId, Long id, Map<String,Object> params) throws IOException
IOExceptionpublic Transaction read(Long spaceId, Long id) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - The id of the transaction which should be returned.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public Transaction read(Long spaceId, Long id, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - id - The id of the transaction which should be returned.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse readForHttpResponse(Long spaceId, Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse readForHttpResponse(Long spaceId, Long id, Map<String,Object> params) throws IOException
IOExceptionpublic Transaction readWithCredentials(String credentials) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
credentials - The credentials identifies the transaction and contains the security details which grants the access this operation.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public Transaction readWithCredentials(String credentials, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
credentials - The credentials identifies the transaction and contains the security details which grants the access this operation.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse readWithCredentialsForHttpResponse(String credentials) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse readWithCredentialsForHttpResponse(String credentials, Map<String,Object> params) throws IOException
IOExceptionpublic List<Transaction> search(Long spaceId, EntityQuery query) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - query - The query restricts the transactions which are returned by the search.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public List<Transaction> search(Long spaceId, EntityQuery query, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - query - The query restricts the transactions which are returned by the search.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse searchForHttpResponse(Long spaceId, EntityQuery query) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse searchForHttpResponse(Long spaceId, InputStream query, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse searchForHttpResponse(Long spaceId, EntityQuery query, Map<String,Object> params) throws IOException
IOExceptionpublic Transaction update(Long spaceId, TransactionPending entity) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - entity - The transaction object with the properties which should be updated.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public Transaction update(Long spaceId, TransactionPending entity, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
409 - This status code indicates that there was a conflict with the current version of the data in the database and the provided data in the request.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - entity - The transaction object with the properties which should be updated.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse updateForHttpResponse(Long spaceId, TransactionPending entity) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateForHttpResponse(Long spaceId, InputStream entity, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateForHttpResponse(Long spaceId, TransactionPending entity, Map<String,Object> params) throws IOException
IOExceptionCopyright © 2022. All rights reserved.