public class ChargeFlowService extends Object
| Constructor and Description |
|---|
ChargeFlowService(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
Transaction |
applyFlow(Long spaceId,
Long id)
applyFlow
|
Transaction |
applyFlow(Long spaceId,
Long id,
Map<String,Object> params)
applyFlow
|
com.google.api.client.http.HttpResponse |
applyFlowForHttpResponse(Long spaceId,
Long id) |
com.google.api.client.http.HttpResponse |
applyFlowForHttpResponse(Long spaceId,
Long id,
Map<String,Object> params) |
Transaction |
cancelChargeFlow(Long spaceId,
Long id)
Cancel Charge Flow
This operation cancels the charge flow that is linked with the transaction indicated by the given ID.
|
Transaction |
cancelChargeFlow(Long spaceId,
Long id,
Map<String,Object> params)
Cancel Charge Flow
This operation cancels the charge flow that is linked with the transaction indicated by the given ID.
|
com.google.api.client.http.HttpResponse |
cancelChargeFlowForHttpResponse(Long spaceId,
Long id) |
com.google.api.client.http.HttpResponse |
cancelChargeFlowForHttpResponse(Long spaceId,
Long id,
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) |
String |
fetchChargeFlowPaymentPageUrl(Long spaceId,
Long id)
Fetch Charge Flow Payment Page URL
This operation allows to fetch the payment page URL that is been applied on the charge flow linked with the provided transaction.
|
String |
fetchChargeFlowPaymentPageUrl(Long spaceId,
Long id,
Map<String,Object> params)
Fetch Charge Flow Payment Page URL
This operation allows to fetch the payment page URL that is been applied on the charge flow linked with the provided transaction.
|
com.google.api.client.http.HttpResponse |
fetchChargeFlowPaymentPageUrlForHttpResponse(Long spaceId,
Long id) |
com.google.api.client.http.HttpResponse |
fetchChargeFlowPaymentPageUrlForHttpResponse(Long spaceId,
Long id,
Map<String,Object> params) |
ApiClient |
getApiClient() |
ChargeFlow |
read(Long spaceId,
Long id)
Read
Reads the entity with the given 'id' and returns it.
|
ChargeFlow |
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) |
List<ChargeFlow> |
search(Long spaceId,
EntityQuery query)
Search
Searches for the entities as specified by the given query.
|
List<ChargeFlow> |
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) |
void |
updateRecipient(Long spaceId,
Long transactionId,
Long type,
String recipient)
updateRecipient
|
void |
updateRecipient(Long spaceId,
Long transactionId,
Long type,
String recipient,
Map<String,Object> params)
updateRecipient
|
com.google.api.client.http.HttpResponse |
updateRecipientForHttpResponse(Long spaceId,
Long transactionId,
Long type,
String recipient) |
com.google.api.client.http.HttpResponse |
updateRecipientForHttpResponse(Long spaceId,
Long transactionId,
Long type,
String recipient,
Map<String,Object> params) |
public ChargeFlowService(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public Transaction applyFlow(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 transaction id of the transaction which should be process asynchronously.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public Transaction applyFlow(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 transaction id of the transaction which should be process asynchronously.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 applyFlowForHttpResponse(Long spaceId, Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse applyFlowForHttpResponse(Long spaceId, Long id, Map<String,Object> params) throws IOException
IOExceptionpublic Transaction cancelChargeFlow(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 for which the charge flow should be canceled.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public Transaction cancelChargeFlow(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 for which the charge flow should be canceled.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 cancelChargeFlowForHttpResponse(Long spaceId, Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse cancelChargeFlowForHttpResponse(Long spaceId, Long id, 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 String fetchChargeFlowPaymentPageUrl(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 transaction id of the transaction for which the URL of the charge flow should be fetched.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public String fetchChargeFlowPaymentPageUrl(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 transaction id of the transaction for which the URL of the charge flow should be fetched.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 fetchChargeFlowPaymentPageUrlForHttpResponse(Long spaceId, Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse fetchChargeFlowPaymentPageUrlForHttpResponse(Long spaceId, Long id, Map<String,Object> params) throws IOException
IOExceptionpublic ChargeFlow 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 charge flow which should be returned.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public ChargeFlow 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 charge flow 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 List<ChargeFlow> 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 charge flows 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<ChargeFlow> 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 charge flows 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 void updateRecipient(Long spaceId, Long transactionId, Long type, String recipient) throws IOException
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 - transactionId - The transaction id of the transaction whose recipient should be updated.type - The id of the charge flow configuration type to recipient should be updated for.recipient - The recipient address that should be used to send the payment URL.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public void updateRecipient(Long spaceId, Long transactionId, Long type, String recipient, Map<String,Object> params) throws IOException
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 - transactionId - The transaction id of the transaction whose recipient should be updated.type - The id of the charge flow configuration type to recipient should be updated for.recipient - The recipient address that should be used to send the payment URL.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 updateRecipientForHttpResponse(Long spaceId, Long transactionId, Long type, String recipient) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateRecipientForHttpResponse(Long spaceId, Long transactionId, Long type, String recipient, Map<String,Object> params) throws IOException
IOExceptionCopyright © 2022. All rights reserved.