public class ShopifySubscriptionService extends Object
| Constructor and Description |
|---|
ShopifySubscriptionService(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
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) |
ShopifySubscriptionVersion |
create(Long spaceId,
ShopifySubscriptionCreationRequest creationRequest)
Create
This operation allows to create a Shopify subscription.
|
ShopifySubscriptionVersion |
create(Long spaceId,
ShopifySubscriptionCreationRequest creationRequest,
Map<String,Object> params)
Create
This operation allows to create a Shopify subscription.
|
com.google.api.client.http.HttpResponse |
createForHttpResponse(Long spaceId,
InputStream creationRequest,
String mediaType) |
com.google.api.client.http.HttpResponse |
createForHttpResponse(Long spaceId,
ShopifySubscriptionCreationRequest creationRequest) |
com.google.api.client.http.HttpResponse |
createForHttpResponse(Long spaceId,
ShopifySubscriptionCreationRequest creationRequest,
Map<String,Object> params) |
ApiClient |
getApiClient() |
ShopifySubscription |
read(Long spaceId,
Long id)
Read
Reads the entity with the given 'id' and returns it.
|
ShopifySubscription |
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<ShopifySubscription> |
search(Long spaceId,
EntityQuery query)
Search
Searches for the entities as specified by the given query.
|
List<ShopifySubscription> |
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 |
terminate(Long spaceId,
Long subscriptionId,
Boolean respectTerminationPeriod)
Terminate
This operation allows to terminate a Shopify subscription.
|
void |
terminate(Long spaceId,
Long subscriptionId,
Boolean respectTerminationPeriod,
Map<String,Object> params)
Terminate
This operation allows to terminate a Shopify subscription.
|
com.google.api.client.http.HttpResponse |
terminateForHttpResponse(Long spaceId,
Long subscriptionId,
Boolean respectTerminationPeriod) |
com.google.api.client.http.HttpResponse |
terminateForHttpResponse(Long spaceId,
Long subscriptionId,
Boolean respectTerminationPeriod,
Map<String,Object> params) |
ShopifySubscriptionVersion |
update(Long spaceId,
ShopifySubscriptionUpdateRequest subscription)
Update
This operation allows to update a Shopify subscription.
|
ShopifySubscriptionVersion |
update(Long spaceId,
ShopifySubscriptionUpdateRequest subscription,
Map<String,Object> params)
Update
This operation allows to update a Shopify subscription.
|
ShopifySubscriptionVersion |
updateAddresses(Long spaceId,
ShopifySubscriptionUpdateAddressesRequest updateRequest)
Update Addresses
This operation allows to update a Shopify subscription addresses.
|
ShopifySubscriptionVersion |
updateAddresses(Long spaceId,
ShopifySubscriptionUpdateAddressesRequest updateRequest,
Map<String,Object> params)
Update Addresses
This operation allows to update a Shopify subscription addresses.
|
com.google.api.client.http.HttpResponse |
updateAddressesForHttpResponse(Long spaceId,
InputStream updateRequest,
String mediaType) |
com.google.api.client.http.HttpResponse |
updateAddressesForHttpResponse(Long spaceId,
ShopifySubscriptionUpdateAddressesRequest updateRequest) |
com.google.api.client.http.HttpResponse |
updateAddressesForHttpResponse(Long spaceId,
ShopifySubscriptionUpdateAddressesRequest updateRequest,
Map<String,Object> params) |
com.google.api.client.http.HttpResponse |
updateForHttpResponse(Long spaceId,
InputStream subscription,
String mediaType) |
com.google.api.client.http.HttpResponse |
updateForHttpResponse(Long spaceId,
ShopifySubscriptionUpdateRequest subscription) |
com.google.api.client.http.HttpResponse |
updateForHttpResponse(Long spaceId,
ShopifySubscriptionUpdateRequest subscription,
Map<String,Object> params) |
public ShopifySubscriptionService(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public 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 ShopifySubscriptionVersion create(Long spaceId, ShopifySubscriptionCreationRequest creationRequest) 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 - creationRequest - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public ShopifySubscriptionVersion create(Long spaceId, ShopifySubscriptionCreationRequest creationRequest, 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 - creationRequest - 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, ShopifySubscriptionCreationRequest creationRequest) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createForHttpResponse(Long spaceId, InputStream creationRequest, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse createForHttpResponse(Long spaceId, ShopifySubscriptionCreationRequest creationRequest, Map<String,Object> params) throws IOException
IOExceptionpublic ShopifySubscription 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 Shopify subscription which should be returned.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public ShopifySubscription 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 Shopify subscription 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<ShopifySubscription> 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 Shopify subscriptions 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<ShopifySubscription> 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 Shopify subscriptions 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 terminate(Long spaceId, Long subscriptionId, Boolean respectTerminationPeriod) 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.
spaceId - subscriptionId - The ID identifies the Shopify subscription which should be terminated.respectTerminationPeriod - The respect termination period controls whether the termination period configured on the product version should be respected or if the operation should take effect immediately.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public void terminate(Long spaceId, Long subscriptionId, Boolean respectTerminationPeriod, 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.
spaceId - subscriptionId - The ID identifies the Shopify subscription which should be terminated.respectTerminationPeriod - The respect termination period controls whether the termination period configured on the product version should be respected or if the operation should take effect immediately.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 terminateForHttpResponse(Long spaceId, Long subscriptionId, Boolean respectTerminationPeriod) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse terminateForHttpResponse(Long spaceId, Long subscriptionId, Boolean respectTerminationPeriod, Map<String,Object> params) throws IOException
IOExceptionpublic ShopifySubscriptionVersion update(Long spaceId, ShopifySubscriptionUpdateRequest subscription) 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 - subscription - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public ShopifySubscriptionVersion update(Long spaceId, ShopifySubscriptionUpdateRequest subscription, 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 - subscription - 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, ShopifySubscriptionUpdateRequest subscription) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateForHttpResponse(Long spaceId, InputStream subscription, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateForHttpResponse(Long spaceId, ShopifySubscriptionUpdateRequest subscription, Map<String,Object> params) throws IOException
IOExceptionpublic ShopifySubscriptionVersion updateAddresses(Long spaceId, ShopifySubscriptionUpdateAddressesRequest updateRequest) 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 - updateRequest - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public ShopifySubscriptionVersion updateAddresses(Long spaceId, ShopifySubscriptionUpdateAddressesRequest updateRequest, 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 - updateRequest - 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 updateAddressesForHttpResponse(Long spaceId, ShopifySubscriptionUpdateAddressesRequest updateRequest) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateAddressesForHttpResponse(Long spaceId, InputStream updateRequest, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse updateAddressesForHttpResponse(Long spaceId, ShopifySubscriptionUpdateAddressesRequest updateRequest, Map<String,Object> params) throws IOException
IOExceptionCopyright © 2023. All rights reserved.