public class RefundCommentService extends Object
| Constructor and Description |
|---|
RefundCommentService(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
List<RefundComment> |
all(Long spaceId,
Long refundId)
Find by refund
Returns all comments of the given refund.
|
List<RefundComment> |
all(Long spaceId,
Long refundId,
Map<String,Object> params)
Find by refund
Returns all comments of the given refund.
|
com.google.api.client.http.HttpResponse |
allForHttpResponse(Long spaceId,
Long refundId) |
com.google.api.client.http.HttpResponse |
allForHttpResponse(Long spaceId,
Long refundId,
Map<String,Object> params) |
RefundComment |
create(Long spaceId,
RefundCommentCreate entity)
Create
Creates the comment with the given properties.
|
RefundComment |
create(Long spaceId,
RefundCommentCreate entity,
Map<String,Object> params)
Create
Creates the comment with the given properties.
|
com.google.api.client.http.HttpResponse |
createForHttpResponse(Long spaceId,
InputStream entity,
String mediaType) |
com.google.api.client.http.HttpResponse |
createForHttpResponse(Long spaceId,
RefundCommentCreate entity) |
com.google.api.client.http.HttpResponse |
createForHttpResponse(Long spaceId,
RefundCommentCreate entity,
Map<String,Object> params) |
void |
delete(Long spaceId,
Long id)
Delete
Deletes the comment with the given id.
|
void |
delete(Long spaceId,
Long id,
Map<String,Object> params)
Delete
Deletes the comment with the given id.
|
com.google.api.client.http.HttpResponse |
deleteForHttpResponse(Long spaceId,
Long id) |
com.google.api.client.http.HttpResponse |
deleteForHttpResponse(Long spaceId,
Long id,
Map<String,Object> params) |
ApiClient |
getApiClient() |
void |
pin(Long spaceId,
Long id)
Pin
Pins the comment to the top.
|
void |
pin(Long spaceId,
Long id,
Map<String,Object> params)
Pin
Pins the comment to the top.
|
com.google.api.client.http.HttpResponse |
pinForHttpResponse(Long spaceId,
Long id) |
com.google.api.client.http.HttpResponse |
pinForHttpResponse(Long spaceId,
Long id,
Map<String,Object> params) |
RefundComment |
read(Long spaceId,
Long id)
Read
Reads the comment with the given 'id' and returns it.
|
RefundComment |
read(Long spaceId,
Long id,
Map<String,Object> params)
Read
Reads the comment 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) |
void |
setApiClient(ApiClient apiClient) |
void |
unpin(Long spaceId,
Long id)
Unpin
Unpins the comment from the top.
|
void |
unpin(Long spaceId,
Long id,
Map<String,Object> params)
Unpin
Unpins the comment from the top.
|
com.google.api.client.http.HttpResponse |
unpinForHttpResponse(Long spaceId,
Long id) |
com.google.api.client.http.HttpResponse |
unpinForHttpResponse(Long spaceId,
Long id,
Map<String,Object> params) |
RefundComment |
update(Long spaceId,
RefundCommentActive entity)
Update
This updates the comment with the given properties.
|
RefundComment |
update(Long spaceId,
RefundCommentActive entity,
Map<String,Object> params)
Update
This updates the comment 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,
RefundCommentActive entity) |
com.google.api.client.http.HttpResponse |
updateForHttpResponse(Long spaceId,
RefundCommentActive entity,
Map<String,Object> params) |
public RefundCommentService(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<RefundComment> all(Long spaceId, Long refundId) 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 - refundId - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public List<RefundComment> all(Long spaceId, Long refundId, 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 - refundId - 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 allForHttpResponse(Long spaceId, Long refundId) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse allForHttpResponse(Long spaceId, Long refundId, Map<String,Object> params) throws IOException
IOExceptionpublic RefundComment create(Long spaceId, RefundCommentCreate entity) 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 - entity - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public RefundComment create(Long spaceId, RefundCommentCreate entity, 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 - entity - 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, RefundCommentCreate entity) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createForHttpResponse(Long spaceId, InputStream entity, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createForHttpResponse(Long spaceId, RefundCommentCreate entity, Map<String,Object> params) throws IOException
IOExceptionpublic void delete(Long spaceId, Long id) 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 - id - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public void delete(Long spaceId, Long id, 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 - id - 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 deleteForHttpResponse(Long spaceId, Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse deleteForHttpResponse(Long spaceId, Long id, Map<String,Object> params) throws IOException
IOExceptionpublic void pin(Long spaceId, Long id) 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 - id - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public void pin(Long spaceId, Long id, 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 - id - 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 pinForHttpResponse(Long spaceId, Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse pinForHttpResponse(Long spaceId, Long id, Map<String,Object> params) throws IOException
IOExceptionpublic RefundComment 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 - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public RefundComment 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 - 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 void unpin(Long spaceId, Long id) 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 - id - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public void unpin(Long spaceId, Long id, 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 - id - 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 unpinForHttpResponse(Long spaceId, Long id) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse unpinForHttpResponse(Long spaceId, Long id, Map<String,Object> params) throws IOException
IOExceptionpublic RefundComment update(Long spaceId, RefundCommentActive 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 - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public RefundComment update(Long spaceId, RefundCommentActive 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 - 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, RefundCommentActive 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, RefundCommentActive entity, Map<String,Object> params) throws IOException
IOExceptionCopyright © 2023. All rights reserved.