com.jelastic.api.billing.Subscription Maven / Gradle / Ivy
The newest version!
package com.jelastic.api.billing;
import java.util.Map;
import java.util.HashMap;
import java.util.List;
import com.jelastic.api.AbstractService;
import com.jelastic.api.Callback;
import com.jelastic.api.client.annotation.JelasticModuleName;
import com.jelastic.api.core.utils.Transport;
import com.jelastic.api.billing.response.ArrayItemResponse;
import com.jelastic.api.Response;
import com.jelastic.api.billing.response.PagedArrayResponse;
import com.jelastic.api.billing.response.ArrayResponse;
/**
* @name Jelastic API Client
* @version 8.11.2
* @copyright Jelastic, Inc.
**/
@JelasticModuleName(name="jelastic")
public class Subscription extends AbstractService {
public static String SERVICE_PATH = "billing/subscription/";
private String serviceUrl = SERVER_URL + SERVICE_PATH;
private String appid = null;
private String session = null;
private String client_source = null;
public Subscription(){}
public Subscription(Map _params){
this((String)_params.get("appid"), (String)_params.get("session"), (String)_params.get("serviceUrl"));
String serverUrl = (String) _params.get("serverUrl");
if (serverUrl != null) setServerUrl(serverUrl);
}
public Subscription(String appid, String session, String serviceUrl){
if (appid != null) this.appid = appid;
if (session != null) this.session = session;
if (serviceUrl != null) this.serviceUrl = serviceUrl;
}
public Subscription(String appid, String session){
this(appid, session, null);
}
public Subscription(String appid){
this(appid, null, null);
}
public String getAppid(){
return appid;
}
public Subscription setAppid(String appid){
this.appid = appid;
return this;
}
public String getSession(){
return session;
}
public Subscription setSession(String session){
this.session = session;
return this;
}
public String getServiceUrl(){
return serviceUrl;
}
public Subscription setServiceUrl(String serviceUrl){
this.serviceUrl = serviceUrl;
return this;
}
public String getServerUrl(){
return serviceUrl;
}
public Subscription setServerUrl(String serverUrl){
this.serviceUrl = serverUrl + SERVICE_PATH;
return this;
}
public Subscription setClientSource(String client_source){
this.client_source = client_source;
return this;
}
public String getClientSource(){
return client_source ;
}
public ArrayResponse getCategories(String appid, String session, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getcategories", _params, ArrayResponse.class);
}
public ArrayResponse getCategories(String appid, String session, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getcategories", _params, headers, ArrayResponse.class);
}
public Subscription getCategories(final String appid, final String session, final String expandFields, final Callback callback){
new Thread(() -> {
ArrayResponse response = getCategories(appid, session, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getCategories(final String appid, final String session, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getCategories(appid, session, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getCategories(String appid, String session){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getcategories", _params, ArrayResponse.class);
}
public ArrayResponse getCategories(String appid, String session, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getcategories", _params, headers, ArrayResponse.class);
}
public Subscription getCategories(final String appid, final String session, final Callback callback){
new Thread(() -> {
ArrayResponse response = getCategories(appid, session);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getCategories(final String appid, final String session, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getCategories(appid, session);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getCategories(String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getcategories", _params, ArrayResponse.class);
}
public ArrayResponse getCategories(String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getcategories", _params, headers, ArrayResponse.class);
}
public Subscription getCategories(final String expandFields, final Callback callback){
new Thread(() -> {
ArrayResponse response = getCategories(expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getCategories(final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getCategories(expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getCategories(){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getcategories", _params, ArrayResponse.class);
}
public Subscription getCategories(final Callback callback){
new Thread(() -> {
ArrayResponse response = getCategories();
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getCategories(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getcategories", _params, ArrayResponse.class);
}
public ArrayResponse getCategories(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getcategories", _params, headers, ArrayResponse.class);
}
public PagedArrayResponse getProducts(String appid, String session, Integer id, Integer categoryId, String expandFields, int startRow, int resultCount, String orderField, String orderDirection){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("orderDirection", orderDirection);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(String appid, String session, Integer id, Integer categoryId, String expandFields, int startRow, int resultCount, String orderField, String orderDirection, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("orderDirection", orderDirection);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final String appid, final String session, final Integer id, final Integer categoryId, final String expandFields, final int startRow, final int resultCount, final String orderField, final String orderDirection, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(appid, session, id, categoryId, expandFields, startRow, resultCount, orderField, orderDirection);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final String appid, final String session, final Integer id, final Integer categoryId, final String expandFields, final int startRow, final int resultCount, final String orderField, final String orderDirection, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(appid, session, id, categoryId, expandFields, startRow, resultCount, orderField, orderDirection);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(String appid, String session, Integer id, Integer categoryId, String expandFields, int startRow, int resultCount, String orderField){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(String appid, String session, Integer id, Integer categoryId, String expandFields, int startRow, int resultCount, String orderField, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final String appid, final String session, final Integer id, final Integer categoryId, final String expandFields, final int startRow, final int resultCount, final String orderField, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(appid, session, id, categoryId, expandFields, startRow, resultCount, orderField);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final String appid, final String session, final Integer id, final Integer categoryId, final String expandFields, final int startRow, final int resultCount, final String orderField, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(appid, session, id, categoryId, expandFields, startRow, resultCount, orderField);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(String appid, String session, Integer id, Integer categoryId, String expandFields, int startRow, int resultCount){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(String appid, String session, Integer id, Integer categoryId, String expandFields, int startRow, int resultCount, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final String appid, final String session, final Integer id, final Integer categoryId, final String expandFields, final int startRow, final int resultCount, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(appid, session, id, categoryId, expandFields, startRow, resultCount);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final String appid, final String session, final Integer id, final Integer categoryId, final String expandFields, final int startRow, final int resultCount, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(appid, session, id, categoryId, expandFields, startRow, resultCount);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(String appid, String session, Integer id, Integer categoryId, String expandFields, int startRow){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(String appid, String session, Integer id, Integer categoryId, String expandFields, int startRow, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final String appid, final String session, final Integer id, final Integer categoryId, final String expandFields, final int startRow, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(appid, session, id, categoryId, expandFields, startRow);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final String appid, final String session, final Integer id, final Integer categoryId, final String expandFields, final int startRow, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(appid, session, id, categoryId, expandFields, startRow);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(String appid, String session, Integer id, Integer categoryId, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(String appid, String session, Integer id, Integer categoryId, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final String appid, final String session, final Integer id, final Integer categoryId, final String expandFields, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(appid, session, id, categoryId, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final String appid, final String session, final Integer id, final Integer categoryId, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(appid, session, id, categoryId, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(String appid, String session, Integer id, Integer categoryId){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(String appid, String session, Integer id, Integer categoryId, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final String appid, final String session, final Integer id, final Integer categoryId, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(appid, session, id, categoryId);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final String appid, final String session, final Integer id, final Integer categoryId, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(appid, session, id, categoryId);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(String appid, String session, Integer id){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(String appid, String session, Integer id, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final String appid, final String session, final Integer id, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(appid, session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final String appid, final String session, final Integer id, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(appid, session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(String appid, String session){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(String appid, String session, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final String appid, final String session, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(appid, session);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final String appid, final String session, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(appid, session);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(String session, Integer id, Integer categoryId, String expandFields, int startRow, int resultCount, String orderField, String orderDirection){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("orderDirection", orderDirection);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(String session, Integer id, Integer categoryId, String expandFields, int startRow, int resultCount, String orderField, String orderDirection, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("orderDirection", orderDirection);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final String session, final Integer id, final Integer categoryId, final String expandFields, final int startRow, final int resultCount, final String orderField, final String orderDirection, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(session, id, categoryId, expandFields, startRow, resultCount, orderField, orderDirection);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final String session, final Integer id, final Integer categoryId, final String expandFields, final int startRow, final int resultCount, final String orderField, final String orderDirection, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(session, id, categoryId, expandFields, startRow, resultCount, orderField, orderDirection);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(Integer id, Integer categoryId, String expandFields, int startRow, int resultCount, String orderField, String orderDirection){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("orderDirection", orderDirection);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(Integer id, Integer categoryId, String expandFields, int startRow, int resultCount, String orderField, String orderDirection, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("orderDirection", orderDirection);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final Integer id, final Integer categoryId, final String expandFields, final int startRow, final int resultCount, final String orderField, final String orderDirection, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(id, categoryId, expandFields, startRow, resultCount, orderField, orderDirection);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final Integer id, final Integer categoryId, final String expandFields, final int startRow, final int resultCount, final String orderField, final String orderDirection, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(id, categoryId, expandFields, startRow, resultCount, orderField, orderDirection);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(String session, Integer id, Integer categoryId, String expandFields, int startRow, int resultCount, String orderField){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(String session, Integer id, Integer categoryId, String expandFields, int startRow, int resultCount, String orderField, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final String session, final Integer id, final Integer categoryId, final String expandFields, final int startRow, final int resultCount, final String orderField, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(session, id, categoryId, expandFields, startRow, resultCount, orderField);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final String session, final Integer id, final Integer categoryId, final String expandFields, final int startRow, final int resultCount, final String orderField, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(session, id, categoryId, expandFields, startRow, resultCount, orderField);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(Integer id, Integer categoryId, String expandFields, int startRow, int resultCount, String orderField){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(Integer id, Integer categoryId, String expandFields, int startRow, int resultCount, String orderField, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final Integer id, final Integer categoryId, final String expandFields, final int startRow, final int resultCount, final String orderField, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(id, categoryId, expandFields, startRow, resultCount, orderField);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final Integer id, final Integer categoryId, final String expandFields, final int startRow, final int resultCount, final String orderField, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(id, categoryId, expandFields, startRow, resultCount, orderField);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(String session, Integer id, Integer categoryId, String expandFields, int startRow, int resultCount){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(String session, Integer id, Integer categoryId, String expandFields, int startRow, int resultCount, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final String session, final Integer id, final Integer categoryId, final String expandFields, final int startRow, final int resultCount, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(session, id, categoryId, expandFields, startRow, resultCount);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final String session, final Integer id, final Integer categoryId, final String expandFields, final int startRow, final int resultCount, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(session, id, categoryId, expandFields, startRow, resultCount);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(Integer id, Integer categoryId, String expandFields, int startRow, int resultCount){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(Integer id, Integer categoryId, String expandFields, int startRow, int resultCount, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final Integer id, final Integer categoryId, final String expandFields, final int startRow, final int resultCount, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(id, categoryId, expandFields, startRow, resultCount);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final Integer id, final Integer categoryId, final String expandFields, final int startRow, final int resultCount, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(id, categoryId, expandFields, startRow, resultCount);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(String session, Integer id, Integer categoryId, String expandFields, int startRow){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(String session, Integer id, Integer categoryId, String expandFields, int startRow, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final String session, final Integer id, final Integer categoryId, final String expandFields, final int startRow, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(session, id, categoryId, expandFields, startRow);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final String session, final Integer id, final Integer categoryId, final String expandFields, final int startRow, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(session, id, categoryId, expandFields, startRow);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(Integer id, Integer categoryId, String expandFields, int startRow){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(Integer id, Integer categoryId, String expandFields, int startRow, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final Integer id, final Integer categoryId, final String expandFields, final int startRow, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(id, categoryId, expandFields, startRow);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final Integer id, final Integer categoryId, final String expandFields, final int startRow, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(id, categoryId, expandFields, startRow);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(String session, Integer id, Integer categoryId, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(String session, Integer id, Integer categoryId, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final String session, final Integer id, final Integer categoryId, final String expandFields, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(session, id, categoryId, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final String session, final Integer id, final Integer categoryId, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(session, id, categoryId, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(Integer id, Integer categoryId, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(Integer id, Integer categoryId, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final Integer id, final Integer categoryId, final String expandFields, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(id, categoryId, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final Integer id, final Integer categoryId, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(id, categoryId, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(String session, Integer id, Integer categoryId){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(String session, Integer id, Integer categoryId, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final String session, final Integer id, final Integer categoryId, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(session, id, categoryId);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final String session, final Integer id, final Integer categoryId, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(session, id, categoryId);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(Integer id, Integer categoryId){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(Integer id, Integer categoryId, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("categoryId", categoryId + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final Integer id, final Integer categoryId, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(id, categoryId);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final Integer id, final Integer categoryId, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(id, categoryId);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(String session, Integer id){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(String session, Integer id, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final String session, final Integer id, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final String session, final Integer id, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(Integer id){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(Integer id, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final Integer id, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(id);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final Integer id, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(id);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(String session){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(String session, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public Subscription getProducts(final String session, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(session);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getProducts(final String session, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts(session);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public Subscription getProducts(final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getProducts();
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getProducts(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getProducts(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getproducts", _params, headers, PagedArrayResponse.class);
}
public ArrayResponse getServicePlans(String appid, String session, Integer id, Integer productId, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, ArrayResponse.class);
}
public ArrayResponse getServicePlans(String appid, String session, Integer id, Integer productId, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, headers, ArrayResponse.class);
}
public Subscription getServicePlans(final String appid, final String session, final Integer id, final Integer productId, final String expandFields, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(appid, session, id, productId, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getServicePlans(final String appid, final String session, final Integer id, final Integer productId, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(appid, session, id, productId, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getServicePlans(String appid, String session, Integer id, Integer productId){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, ArrayResponse.class);
}
public ArrayResponse getServicePlans(String appid, String session, Integer id, Integer productId, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, headers, ArrayResponse.class);
}
public Subscription getServicePlans(final String appid, final String session, final Integer id, final Integer productId, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(appid, session, id, productId);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getServicePlans(final String appid, final String session, final Integer id, final Integer productId, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(appid, session, id, productId);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getServicePlans(String appid, String session, Integer id){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, ArrayResponse.class);
}
public ArrayResponse getServicePlans(String appid, String session, Integer id, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, headers, ArrayResponse.class);
}
public Subscription getServicePlans(final String appid, final String session, final Integer id, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(appid, session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getServicePlans(final String appid, final String session, final Integer id, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(appid, session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getServicePlans(String appid, String session){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, ArrayResponse.class);
}
public ArrayResponse getServicePlans(String appid, String session, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, headers, ArrayResponse.class);
}
public Subscription getServicePlans(final String appid, final String session, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(appid, session);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getServicePlans(final String appid, final String session, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(appid, session);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getServicePlans(String session, Integer id, Integer productId, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, ArrayResponse.class);
}
public ArrayResponse getServicePlans(String session, Integer id, Integer productId, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, headers, ArrayResponse.class);
}
public Subscription getServicePlans(final String session, final Integer id, final Integer productId, final String expandFields, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(session, id, productId, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getServicePlans(final String session, final Integer id, final Integer productId, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(session, id, productId, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getServicePlans(Integer id, Integer productId, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, ArrayResponse.class);
}
public ArrayResponse getServicePlans(Integer id, Integer productId, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, headers, ArrayResponse.class);
}
public Subscription getServicePlans(final Integer id, final Integer productId, final String expandFields, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(id, productId, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getServicePlans(final Integer id, final Integer productId, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(id, productId, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getServicePlans(String session, Integer id, Integer productId){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, ArrayResponse.class);
}
public ArrayResponse getServicePlans(String session, Integer id, Integer productId, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, headers, ArrayResponse.class);
}
public Subscription getServicePlans(final String session, final Integer id, final Integer productId, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(session, id, productId);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getServicePlans(final String session, final Integer id, final Integer productId, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(session, id, productId);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getServicePlans(Integer id, Integer productId){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, ArrayResponse.class);
}
public ArrayResponse getServicePlans(Integer id, Integer productId, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, headers, ArrayResponse.class);
}
public Subscription getServicePlans(final Integer id, final Integer productId, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(id, productId);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getServicePlans(final Integer id, final Integer productId, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(id, productId);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getServicePlans(String session, Integer id){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, ArrayResponse.class);
}
public ArrayResponse getServicePlans(String session, Integer id, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, headers, ArrayResponse.class);
}
public Subscription getServicePlans(final String session, final Integer id, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getServicePlans(final String session, final Integer id, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getServicePlans(Integer id){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, ArrayResponse.class);
}
public ArrayResponse getServicePlans(Integer id, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, headers, ArrayResponse.class);
}
public Subscription getServicePlans(final Integer id, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(id);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getServicePlans(final Integer id, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(id);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getServicePlans(String session){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, ArrayResponse.class);
}
public ArrayResponse getServicePlans(String session, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, headers, ArrayResponse.class);
}
public Subscription getServicePlans(final String session, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(session);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getServicePlans(final String session, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans(session);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getServicePlans(){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, ArrayResponse.class);
}
public Subscription getServicePlans(final Callback callback){
new Thread(() -> {
ArrayResponse response = getServicePlans();
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getServicePlans(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, ArrayResponse.class);
}
public ArrayResponse getServicePlans(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getserviceplans", _params, headers, ArrayResponse.class);
}
public ArrayItemResponse subscribe(String appid, String session, Integer productId, String items, Boolean chargeAutomatically, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("productId", productId + "");
_params.put("items", items);
_params.put("chargeAutomatically", chargeAutomatically + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, ArrayItemResponse.class);
}
public ArrayItemResponse subscribe(String appid, String session, Integer productId, String items, Boolean chargeAutomatically, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("productId", productId + "");
_params.put("items", items);
_params.put("chargeAutomatically", chargeAutomatically + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, headers, ArrayItemResponse.class);
}
public Subscription subscribe(final String appid, final String session, final Integer productId, final String items, final Boolean chargeAutomatically, final String expandFields, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = subscribe(appid, session, productId, items, chargeAutomatically, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription subscribe(final String appid, final String session, final Integer productId, final String items, final Boolean chargeAutomatically, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = subscribe(appid, session, productId, items, chargeAutomatically, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse subscribe(String appid, String session, Integer productId, String items, Boolean chargeAutomatically){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("productId", productId + "");
_params.put("items", items);
_params.put("chargeAutomatically", chargeAutomatically + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, ArrayItemResponse.class);
}
public ArrayItemResponse subscribe(String appid, String session, Integer productId, String items, Boolean chargeAutomatically, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("productId", productId + "");
_params.put("items", items);
_params.put("chargeAutomatically", chargeAutomatically + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, headers, ArrayItemResponse.class);
}
public Subscription subscribe(final String appid, final String session, final Integer productId, final String items, final Boolean chargeAutomatically, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = subscribe(appid, session, productId, items, chargeAutomatically);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription subscribe(final String appid, final String session, final Integer productId, final String items, final Boolean chargeAutomatically, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = subscribe(appid, session, productId, items, chargeAutomatically);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse subscribe(String appid, String session, Integer productId, String items){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("productId", productId + "");
_params.put("items", items);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, ArrayItemResponse.class);
}
public ArrayItemResponse subscribe(String appid, String session, Integer productId, String items, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("productId", productId + "");
_params.put("items", items);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, headers, ArrayItemResponse.class);
}
public Subscription subscribe(final String appid, final String session, final Integer productId, final String items, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = subscribe(appid, session, productId, items);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription subscribe(final String appid, final String session, final Integer productId, final String items, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = subscribe(appid, session, productId, items);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse subscribe(String session, Integer productId, String items, Boolean chargeAutomatically, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("productId", productId + "");
_params.put("items", items);
_params.put("chargeAutomatically", chargeAutomatically + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, ArrayItemResponse.class);
}
public ArrayItemResponse subscribe(String session, Integer productId, String items, Boolean chargeAutomatically, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("productId", productId + "");
_params.put("items", items);
_params.put("chargeAutomatically", chargeAutomatically + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, headers, ArrayItemResponse.class);
}
public Subscription subscribe(final String session, final Integer productId, final String items, final Boolean chargeAutomatically, final String expandFields, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = subscribe(session, productId, items, chargeAutomatically, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription subscribe(final String session, final Integer productId, final String items, final Boolean chargeAutomatically, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = subscribe(session, productId, items, chargeAutomatically, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse subscribe(Integer productId, String items, Boolean chargeAutomatically, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("productId", productId + "");
_params.put("items", items);
_params.put("chargeAutomatically", chargeAutomatically + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, ArrayItemResponse.class);
}
public ArrayItemResponse subscribe(Integer productId, String items, Boolean chargeAutomatically, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("productId", productId + "");
_params.put("items", items);
_params.put("chargeAutomatically", chargeAutomatically + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, headers, ArrayItemResponse.class);
}
public Subscription subscribe(final Integer productId, final String items, final Boolean chargeAutomatically, final String expandFields, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = subscribe(productId, items, chargeAutomatically, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription subscribe(final Integer productId, final String items, final Boolean chargeAutomatically, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = subscribe(productId, items, chargeAutomatically, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse subscribe(String session, Integer productId, String items, Boolean chargeAutomatically){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("productId", productId + "");
_params.put("items", items);
_params.put("chargeAutomatically", chargeAutomatically + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, ArrayItemResponse.class);
}
public ArrayItemResponse subscribe(String session, Integer productId, String items, Boolean chargeAutomatically, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("productId", productId + "");
_params.put("items", items);
_params.put("chargeAutomatically", chargeAutomatically + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, headers, ArrayItemResponse.class);
}
public Subscription subscribe(final String session, final Integer productId, final String items, final Boolean chargeAutomatically, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = subscribe(session, productId, items, chargeAutomatically);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription subscribe(final String session, final Integer productId, final String items, final Boolean chargeAutomatically, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = subscribe(session, productId, items, chargeAutomatically);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse subscribe(Integer productId, String items, Boolean chargeAutomatically){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("productId", productId + "");
_params.put("items", items);
_params.put("chargeAutomatically", chargeAutomatically + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, ArrayItemResponse.class);
}
public ArrayItemResponse subscribe(Integer productId, String items, Boolean chargeAutomatically, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("productId", productId + "");
_params.put("items", items);
_params.put("chargeAutomatically", chargeAutomatically + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, headers, ArrayItemResponse.class);
}
public Subscription subscribe(final Integer productId, final String items, final Boolean chargeAutomatically, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = subscribe(productId, items, chargeAutomatically);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription subscribe(final Integer productId, final String items, final Boolean chargeAutomatically, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = subscribe(productId, items, chargeAutomatically);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse subscribe(String session, Integer productId, String items){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("productId", productId + "");
_params.put("items", items);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, ArrayItemResponse.class);
}
public ArrayItemResponse subscribe(String session, Integer productId, String items, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("productId", productId + "");
_params.put("items", items);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, headers, ArrayItemResponse.class);
}
public Subscription subscribe(final String session, final Integer productId, final String items, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = subscribe(session, productId, items);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription subscribe(final String session, final Integer productId, final String items, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = subscribe(session, productId, items);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse subscribe(Integer productId, String items){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("productId", productId + "");
_params.put("items", items);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, ArrayItemResponse.class);
}
public ArrayItemResponse subscribe(Integer productId, String items, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("productId", productId + "");
_params.put("items", items);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, headers, ArrayItemResponse.class);
}
public Subscription subscribe(final Integer productId, final String items, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = subscribe(productId, items);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription subscribe(final Integer productId, final String items, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = subscribe(productId, items);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse subscribe(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, ArrayItemResponse.class);
}
public ArrayItemResponse subscribe(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/subscribe", _params, headers, ArrayItemResponse.class);
}
public ArrayItemResponse cancel(String appid, String session, Integer id, Boolean immediately, String cancelDate, String passphrase, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("cancelDate", cancelDate);
_params.put("passphrase", passphrase);
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse cancel(String appid, String session, Integer id, Boolean immediately, String cancelDate, String passphrase, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("cancelDate", cancelDate);
_params.put("passphrase", passphrase);
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, headers, ArrayItemResponse.class);
}
public Subscription cancel(final String appid, final String session, final Integer id, final Boolean immediately, final String cancelDate, final String passphrase, final String expandFields, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(appid, session, id, immediately, cancelDate, passphrase, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription cancel(final String appid, final String session, final Integer id, final Boolean immediately, final String cancelDate, final String passphrase, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(appid, session, id, immediately, cancelDate, passphrase, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse cancel(String appid, String session, Integer id, Boolean immediately, String cancelDate, String passphrase){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("cancelDate", cancelDate);
_params.put("passphrase", passphrase);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse cancel(String appid, String session, Integer id, Boolean immediately, String cancelDate, String passphrase, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("cancelDate", cancelDate);
_params.put("passphrase", passphrase);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, headers, ArrayItemResponse.class);
}
public Subscription cancel(final String appid, final String session, final Integer id, final Boolean immediately, final String cancelDate, final String passphrase, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(appid, session, id, immediately, cancelDate, passphrase);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription cancel(final String appid, final String session, final Integer id, final Boolean immediately, final String cancelDate, final String passphrase, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(appid, session, id, immediately, cancelDate, passphrase);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse cancel(String appid, String session, Integer id, Boolean immediately, String cancelDate){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("cancelDate", cancelDate);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse cancel(String appid, String session, Integer id, Boolean immediately, String cancelDate, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("cancelDate", cancelDate);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, headers, ArrayItemResponse.class);
}
public Subscription cancel(final String appid, final String session, final Integer id, final Boolean immediately, final String cancelDate, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(appid, session, id, immediately, cancelDate);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription cancel(final String appid, final String session, final Integer id, final Boolean immediately, final String cancelDate, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(appid, session, id, immediately, cancelDate);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse cancel(String appid, String session, Integer id, Boolean immediately){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse cancel(String appid, String session, Integer id, Boolean immediately, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, headers, ArrayItemResponse.class);
}
public Subscription cancel(final String appid, final String session, final Integer id, final Boolean immediately, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(appid, session, id, immediately);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription cancel(final String appid, final String session, final Integer id, final Boolean immediately, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(appid, session, id, immediately);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse cancel(String appid, String session, Integer id){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse cancel(String appid, String session, Integer id, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, headers, ArrayItemResponse.class);
}
public Subscription cancel(final String appid, final String session, final Integer id, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(appid, session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription cancel(final String appid, final String session, final Integer id, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(appid, session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse cancel(String session, Integer id, Boolean immediately, String cancelDate, String passphrase, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("cancelDate", cancelDate);
_params.put("passphrase", passphrase);
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse cancel(String session, Integer id, Boolean immediately, String cancelDate, String passphrase, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("cancelDate", cancelDate);
_params.put("passphrase", passphrase);
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, headers, ArrayItemResponse.class);
}
public Subscription cancel(final String session, final Integer id, final Boolean immediately, final String cancelDate, final String passphrase, final String expandFields, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(session, id, immediately, cancelDate, passphrase, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription cancel(final String session, final Integer id, final Boolean immediately, final String cancelDate, final String passphrase, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(session, id, immediately, cancelDate, passphrase, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse cancel(Integer id, Boolean immediately, String cancelDate, String passphrase, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("cancelDate", cancelDate);
_params.put("passphrase", passphrase);
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse cancel(Integer id, Boolean immediately, String cancelDate, String passphrase, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("cancelDate", cancelDate);
_params.put("passphrase", passphrase);
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, headers, ArrayItemResponse.class);
}
public Subscription cancel(final Integer id, final Boolean immediately, final String cancelDate, final String passphrase, final String expandFields, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(id, immediately, cancelDate, passphrase, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription cancel(final Integer id, final Boolean immediately, final String cancelDate, final String passphrase, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(id, immediately, cancelDate, passphrase, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse cancel(String session, Integer id, Boolean immediately, String cancelDate, String passphrase){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("cancelDate", cancelDate);
_params.put("passphrase", passphrase);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse cancel(String session, Integer id, Boolean immediately, String cancelDate, String passphrase, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("cancelDate", cancelDate);
_params.put("passphrase", passphrase);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, headers, ArrayItemResponse.class);
}
public Subscription cancel(final String session, final Integer id, final Boolean immediately, final String cancelDate, final String passphrase, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(session, id, immediately, cancelDate, passphrase);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription cancel(final String session, final Integer id, final Boolean immediately, final String cancelDate, final String passphrase, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(session, id, immediately, cancelDate, passphrase);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse cancel(Integer id, Boolean immediately, String cancelDate, String passphrase){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("cancelDate", cancelDate);
_params.put("passphrase", passphrase);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse cancel(Integer id, Boolean immediately, String cancelDate, String passphrase, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("cancelDate", cancelDate);
_params.put("passphrase", passphrase);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, headers, ArrayItemResponse.class);
}
public Subscription cancel(final Integer id, final Boolean immediately, final String cancelDate, final String passphrase, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(id, immediately, cancelDate, passphrase);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription cancel(final Integer id, final Boolean immediately, final String cancelDate, final String passphrase, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(id, immediately, cancelDate, passphrase);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse cancel(String session, Integer id, Boolean immediately, String cancelDate){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("cancelDate", cancelDate);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse cancel(String session, Integer id, Boolean immediately, String cancelDate, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("cancelDate", cancelDate);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, headers, ArrayItemResponse.class);
}
public Subscription cancel(final String session, final Integer id, final Boolean immediately, final String cancelDate, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(session, id, immediately, cancelDate);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription cancel(final String session, final Integer id, final Boolean immediately, final String cancelDate, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(session, id, immediately, cancelDate);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse cancel(Integer id, Boolean immediately, String cancelDate){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("cancelDate", cancelDate);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse cancel(Integer id, Boolean immediately, String cancelDate, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("cancelDate", cancelDate);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, headers, ArrayItemResponse.class);
}
public Subscription cancel(final Integer id, final Boolean immediately, final String cancelDate, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(id, immediately, cancelDate);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription cancel(final Integer id, final Boolean immediately, final String cancelDate, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(id, immediately, cancelDate);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse cancel(String session, Integer id, Boolean immediately){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse cancel(String session, Integer id, Boolean immediately, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, headers, ArrayItemResponse.class);
}
public Subscription cancel(final String session, final Integer id, final Boolean immediately, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(session, id, immediately);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription cancel(final String session, final Integer id, final Boolean immediately, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(session, id, immediately);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse cancel(Integer id, Boolean immediately){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse cancel(Integer id, Boolean immediately, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("immediately", immediately + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, headers, ArrayItemResponse.class);
}
public Subscription cancel(final Integer id, final Boolean immediately, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(id, immediately);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription cancel(final Integer id, final Boolean immediately, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(id, immediately);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse cancel(String session, Integer id){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse cancel(String session, Integer id, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, headers, ArrayItemResponse.class);
}
public Subscription cancel(final String session, final Integer id, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription cancel(final String session, final Integer id, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse cancel(Integer id){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse cancel(Integer id, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, headers, ArrayItemResponse.class);
}
public Subscription cancel(final Integer id, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(id);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription cancel(final Integer id, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = cancel(id);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse cancel(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse cancel(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/cancel", _params, headers, ArrayItemResponse.class);
}
public ArrayItemResponse undoCancel(String appid, String session, Integer id, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/undocancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse undoCancel(String appid, String session, Integer id, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/undocancel", _params, headers, ArrayItemResponse.class);
}
public Subscription undoCancel(final String appid, final String session, final Integer id, final String expandFields, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = undoCancel(appid, session, id, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription undoCancel(final String appid, final String session, final Integer id, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = undoCancel(appid, session, id, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse undoCancel(String appid, String session, Integer id){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/undocancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse undoCancel(String appid, String session, Integer id, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/undocancel", _params, headers, ArrayItemResponse.class);
}
public Subscription undoCancel(final String appid, final String session, final Integer id, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = undoCancel(appid, session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription undoCancel(final String appid, final String session, final Integer id, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = undoCancel(appid, session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse undoCancel(String session, Integer id, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/undocancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse undoCancel(String session, Integer id, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/undocancel", _params, headers, ArrayItemResponse.class);
}
public Subscription undoCancel(final String session, final Integer id, final String expandFields, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = undoCancel(session, id, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription undoCancel(final String session, final Integer id, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = undoCancel(session, id, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse undoCancel(Integer id, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/undocancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse undoCancel(Integer id, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/undocancel", _params, headers, ArrayItemResponse.class);
}
public Subscription undoCancel(final Integer id, final String expandFields, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = undoCancel(id, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription undoCancel(final Integer id, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = undoCancel(id, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse undoCancel(String session, Integer id){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/undocancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse undoCancel(String session, Integer id, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/undocancel", _params, headers, ArrayItemResponse.class);
}
public Subscription undoCancel(final String session, final Integer id, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = undoCancel(session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription undoCancel(final String session, final Integer id, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = undoCancel(session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse undoCancel(Integer id){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/undocancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse undoCancel(Integer id, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/undocancel", _params, headers, ArrayItemResponse.class);
}
public Subscription undoCancel(final Integer id, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = undoCancel(id);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription undoCancel(final Integer id, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = undoCancel(id);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse undoCancel(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/undocancel", _params, ArrayItemResponse.class);
}
public ArrayItemResponse undoCancel(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/undocancel", _params, headers, ArrayItemResponse.class);
}
public PagedArrayResponse getSubscriptions(String appid, String session, Integer id, Integer productId, String status, String expandFields, int startRow, int resultCount, String orderField, String orderDirection){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("orderDirection", orderDirection);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(String appid, String session, Integer id, Integer productId, String status, String expandFields, int startRow, int resultCount, String orderField, String orderDirection, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("orderDirection", orderDirection);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final String appid, final String session, final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final int resultCount, final String orderField, final String orderDirection, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(appid, session, id, productId, status, expandFields, startRow, resultCount, orderField, orderDirection);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final String appid, final String session, final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final int resultCount, final String orderField, final String orderDirection, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(appid, session, id, productId, status, expandFields, startRow, resultCount, orderField, orderDirection);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(String appid, String session, Integer id, Integer productId, String status, String expandFields, int startRow, int resultCount, String orderField){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(String appid, String session, Integer id, Integer productId, String status, String expandFields, int startRow, int resultCount, String orderField, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final String appid, final String session, final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final int resultCount, final String orderField, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(appid, session, id, productId, status, expandFields, startRow, resultCount, orderField);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final String appid, final String session, final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final int resultCount, final String orderField, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(appid, session, id, productId, status, expandFields, startRow, resultCount, orderField);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(String appid, String session, Integer id, Integer productId, String status, String expandFields, int startRow, int resultCount){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(String appid, String session, Integer id, Integer productId, String status, String expandFields, int startRow, int resultCount, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final String appid, final String session, final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final int resultCount, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(appid, session, id, productId, status, expandFields, startRow, resultCount);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final String appid, final String session, final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final int resultCount, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(appid, session, id, productId, status, expandFields, startRow, resultCount);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(String appid, String session, Integer id, Integer productId, String status, String expandFields, int startRow){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(String appid, String session, Integer id, Integer productId, String status, String expandFields, int startRow, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final String appid, final String session, final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(appid, session, id, productId, status, expandFields, startRow);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final String appid, final String session, final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(appid, session, id, productId, status, expandFields, startRow);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(String appid, String session, Integer id, Integer productId, String status, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(String appid, String session, Integer id, Integer productId, String status, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final String appid, final String session, final Integer id, final Integer productId, final String status, final String expandFields, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(appid, session, id, productId, status, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final String appid, final String session, final Integer id, final Integer productId, final String status, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(appid, session, id, productId, status, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(String appid, String session, Integer id, Integer productId, String status){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(String appid, String session, Integer id, Integer productId, String status, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final String appid, final String session, final Integer id, final Integer productId, final String status, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(appid, session, id, productId, status);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final String appid, final String session, final Integer id, final Integer productId, final String status, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(appid, session, id, productId, status);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(String appid, String session, Integer id, Integer productId){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(String appid, String session, Integer id, Integer productId, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final String appid, final String session, final Integer id, final Integer productId, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(appid, session, id, productId);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final String appid, final String session, final Integer id, final Integer productId, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(appid, session, id, productId);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(String appid, String session, Integer id){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(String appid, String session, Integer id, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final String appid, final String session, final Integer id, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(appid, session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final String appid, final String session, final Integer id, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(appid, session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(String appid, String session){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(String appid, String session, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final String appid, final String session, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(appid, session);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final String appid, final String session, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(appid, session);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(String session, Integer id, Integer productId, String status, String expandFields, int startRow, int resultCount, String orderField, String orderDirection){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("orderDirection", orderDirection);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(String session, Integer id, Integer productId, String status, String expandFields, int startRow, int resultCount, String orderField, String orderDirection, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("orderDirection", orderDirection);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final String session, final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final int resultCount, final String orderField, final String orderDirection, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(session, id, productId, status, expandFields, startRow, resultCount, orderField, orderDirection);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final String session, final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final int resultCount, final String orderField, final String orderDirection, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(session, id, productId, status, expandFields, startRow, resultCount, orderField, orderDirection);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(Integer id, Integer productId, String status, String expandFields, int startRow, int resultCount, String orderField, String orderDirection){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("orderDirection", orderDirection);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(Integer id, Integer productId, String status, String expandFields, int startRow, int resultCount, String orderField, String orderDirection, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("orderDirection", orderDirection);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final int resultCount, final String orderField, final String orderDirection, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(id, productId, status, expandFields, startRow, resultCount, orderField, orderDirection);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final int resultCount, final String orderField, final String orderDirection, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(id, productId, status, expandFields, startRow, resultCount, orderField, orderDirection);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(String session, Integer id, Integer productId, String status, String expandFields, int startRow, int resultCount, String orderField){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(String session, Integer id, Integer productId, String status, String expandFields, int startRow, int resultCount, String orderField, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final String session, final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final int resultCount, final String orderField, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(session, id, productId, status, expandFields, startRow, resultCount, orderField);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final String session, final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final int resultCount, final String orderField, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(session, id, productId, status, expandFields, startRow, resultCount, orderField);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(Integer id, Integer productId, String status, String expandFields, int startRow, int resultCount, String orderField){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(Integer id, Integer productId, String status, String expandFields, int startRow, int resultCount, String orderField, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("orderField", orderField);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final int resultCount, final String orderField, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(id, productId, status, expandFields, startRow, resultCount, orderField);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final int resultCount, final String orderField, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(id, productId, status, expandFields, startRow, resultCount, orderField);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(String session, Integer id, Integer productId, String status, String expandFields, int startRow, int resultCount){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(String session, Integer id, Integer productId, String status, String expandFields, int startRow, int resultCount, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final String session, final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final int resultCount, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(session, id, productId, status, expandFields, startRow, resultCount);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final String session, final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final int resultCount, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(session, id, productId, status, expandFields, startRow, resultCount);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(Integer id, Integer productId, String status, String expandFields, int startRow, int resultCount){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(Integer id, Integer productId, String status, String expandFields, int startRow, int resultCount, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("resultCount", resultCount + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final int resultCount, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(id, productId, status, expandFields, startRow, resultCount);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final int resultCount, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(id, productId, status, expandFields, startRow, resultCount);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(String session, Integer id, Integer productId, String status, String expandFields, int startRow){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(String session, Integer id, Integer productId, String status, String expandFields, int startRow, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final String session, final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(session, id, productId, status, expandFields, startRow);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final String session, final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(session, id, productId, status, expandFields, startRow);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(Integer id, Integer productId, String status, String expandFields, int startRow){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(Integer id, Integer productId, String status, String expandFields, int startRow, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("startRow", startRow + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(id, productId, status, expandFields, startRow);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final Integer id, final Integer productId, final String status, final String expandFields, final int startRow, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(id, productId, status, expandFields, startRow);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(String session, Integer id, Integer productId, String status, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(String session, Integer id, Integer productId, String status, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final String session, final Integer id, final Integer productId, final String status, final String expandFields, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(session, id, productId, status, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final String session, final Integer id, final Integer productId, final String status, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(session, id, productId, status, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(Integer id, Integer productId, String status, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(Integer id, Integer productId, String status, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final Integer id, final Integer productId, final String status, final String expandFields, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(id, productId, status, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final Integer id, final Integer productId, final String status, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(id, productId, status, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(String session, Integer id, Integer productId, String status){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(String session, Integer id, Integer productId, String status, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final String session, final Integer id, final Integer productId, final String status, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(session, id, productId, status);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final String session, final Integer id, final Integer productId, final String status, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(session, id, productId, status);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(Integer id, Integer productId, String status){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(Integer id, Integer productId, String status, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("status", status);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final Integer id, final Integer productId, final String status, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(id, productId, status);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final Integer id, final Integer productId, final String status, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(id, productId, status);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(String session, Integer id, Integer productId){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(String session, Integer id, Integer productId, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final String session, final Integer id, final Integer productId, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(session, id, productId);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final String session, final Integer id, final Integer productId, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(session, id, productId);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(Integer id, Integer productId){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(Integer id, Integer productId, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("productId", productId + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final Integer id, final Integer productId, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(id, productId);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final Integer id, final Integer productId, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(id, productId);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(String session, Integer id){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(String session, Integer id, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final String session, final Integer id, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final String session, final Integer id, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(Integer id){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(Integer id, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final Integer id, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(id);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final Integer id, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(id);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(String session){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(String session, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final String session, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(session);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription getSubscriptions(final String session, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions(session);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public Subscription getSubscriptions(final Callback callback){
new Thread(() -> {
PagedArrayResponse response = getSubscriptions();
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse getSubscriptions(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse getSubscriptions(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/getsubscriptions", _params, headers, PagedArrayResponse.class);
}
public Response installProduct(String appid, String session, Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, String region, String actionkey, String lang){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("region", region);
_params.put("actionkey", actionkey);
_params.put("lang", lang);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(String appid, String session, Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, String region, String actionkey, String lang, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("region", region);
_params.put("actionkey", actionkey);
_params.put("lang", lang);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final String region, final String actionkey, final String lang, final Callback callback){
new Thread(() -> {
Response response = installProduct(appid, session, subscriptionId, itemId, settings, envName, displayName, envGroups, region, actionkey, lang);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final String region, final String actionkey, final String lang, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(appid, session, subscriptionId, itemId, settings, envName, displayName, envGroups, region, actionkey, lang);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(String appid, String session, Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, String region, String actionkey){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("region", region);
_params.put("actionkey", actionkey);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(String appid, String session, Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, String region, String actionkey, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("region", region);
_params.put("actionkey", actionkey);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final String region, final String actionkey, final Callback callback){
new Thread(() -> {
Response response = installProduct(appid, session, subscriptionId, itemId, settings, envName, displayName, envGroups, region, actionkey);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final String region, final String actionkey, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(appid, session, subscriptionId, itemId, settings, envName, displayName, envGroups, region, actionkey);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(String appid, String session, Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, String region){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("region", region);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(String appid, String session, Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, String region, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("region", region);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final String region, final Callback callback){
new Thread(() -> {
Response response = installProduct(appid, session, subscriptionId, itemId, settings, envName, displayName, envGroups, region);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final String region, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(appid, session, subscriptionId, itemId, settings, envName, displayName, envGroups, region);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(String appid, String session, Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(String appid, String session, Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final Callback callback){
new Thread(() -> {
Response response = installProduct(appid, session, subscriptionId, itemId, settings, envName, displayName, envGroups);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(appid, session, subscriptionId, itemId, settings, envName, displayName, envGroups);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(String appid, String session, Integer subscriptionId, Integer itemId, String settings, String envName){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(String appid, String session, Integer subscriptionId, Integer itemId, String settings, String envName, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final Callback callback){
new Thread(() -> {
Response response = installProduct(appid, session, subscriptionId, itemId, settings, envName);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(appid, session, subscriptionId, itemId, settings, envName);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(String appid, String session, Integer subscriptionId, Integer itemId, String settings){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(String appid, String session, Integer subscriptionId, Integer itemId, String settings, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final String settings, final Callback callback){
new Thread(() -> {
Response response = installProduct(appid, session, subscriptionId, itemId, settings);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final String settings, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(appid, session, subscriptionId, itemId, settings);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(String appid, String session, Integer subscriptionId, Integer itemId){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(String appid, String session, Integer subscriptionId, Integer itemId, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final Callback callback){
new Thread(() -> {
Response response = installProduct(appid, session, subscriptionId, itemId);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(appid, session, subscriptionId, itemId);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(String session, Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, String region, String actionkey, String lang){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("region", region);
_params.put("actionkey", actionkey);
_params.put("lang", lang);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(String session, Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, String region, String actionkey, String lang, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("region", region);
_params.put("actionkey", actionkey);
_params.put("lang", lang);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final String region, final String actionkey, final String lang, final Callback callback){
new Thread(() -> {
Response response = installProduct(session, subscriptionId, itemId, settings, envName, displayName, envGroups, region, actionkey, lang);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final String region, final String actionkey, final String lang, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(session, subscriptionId, itemId, settings, envName, displayName, envGroups, region, actionkey, lang);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, String region, String actionkey, String lang){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("region", region);
_params.put("actionkey", actionkey);
_params.put("lang", lang);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, String region, String actionkey, String lang, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("region", region);
_params.put("actionkey", actionkey);
_params.put("lang", lang);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final String region, final String actionkey, final String lang, final Callback callback){
new Thread(() -> {
Response response = installProduct(subscriptionId, itemId, settings, envName, displayName, envGroups, region, actionkey, lang);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final String region, final String actionkey, final String lang, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(subscriptionId, itemId, settings, envName, displayName, envGroups, region, actionkey, lang);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(String session, Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, String region, String actionkey){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("region", region);
_params.put("actionkey", actionkey);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(String session, Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, String region, String actionkey, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("region", region);
_params.put("actionkey", actionkey);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final String region, final String actionkey, final Callback callback){
new Thread(() -> {
Response response = installProduct(session, subscriptionId, itemId, settings, envName, displayName, envGroups, region, actionkey);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final String region, final String actionkey, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(session, subscriptionId, itemId, settings, envName, displayName, envGroups, region, actionkey);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, String region, String actionkey){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("region", region);
_params.put("actionkey", actionkey);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, String region, String actionkey, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("region", region);
_params.put("actionkey", actionkey);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final String region, final String actionkey, final Callback callback){
new Thread(() -> {
Response response = installProduct(subscriptionId, itemId, settings, envName, displayName, envGroups, region, actionkey);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final String region, final String actionkey, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(subscriptionId, itemId, settings, envName, displayName, envGroups, region, actionkey);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(String session, Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, String region){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("region", region);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(String session, Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, String region, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("region", region);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final String region, final Callback callback){
new Thread(() -> {
Response response = installProduct(session, subscriptionId, itemId, settings, envName, displayName, envGroups, region);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final String region, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(session, subscriptionId, itemId, settings, envName, displayName, envGroups, region);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, String region){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("region", region);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, String region, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("region", region);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final String region, final Callback callback){
new Thread(() -> {
Response response = installProduct(subscriptionId, itemId, settings, envName, displayName, envGroups, region);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final String region, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(subscriptionId, itemId, settings, envName, displayName, envGroups, region);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(String session, Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(String session, Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final Callback callback){
new Thread(() -> {
Response response = installProduct(session, subscriptionId, itemId, settings, envName, displayName, envGroups);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(session, subscriptionId, itemId, settings, envName, displayName, envGroups);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(Integer subscriptionId, Integer itemId, String settings, String envName, String displayName, String envGroups, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("displayName", displayName);
_params.put("envGroups", envGroups);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final Callback callback){
new Thread(() -> {
Response response = installProduct(subscriptionId, itemId, settings, envName, displayName, envGroups);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final String displayName, final String envGroups, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(subscriptionId, itemId, settings, envName, displayName, envGroups);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(String session, Integer subscriptionId, Integer itemId, String settings, String envName){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(String session, Integer subscriptionId, Integer itemId, String settings, String envName, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final Callback callback){
new Thread(() -> {
Response response = installProduct(session, subscriptionId, itemId, settings, envName);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final String session, final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(session, subscriptionId, itemId, settings, envName);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(Integer subscriptionId, Integer itemId, String settings, String envName){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(Integer subscriptionId, Integer itemId, String settings, String envName, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("envName", envName);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final Callback callback){
new Thread(() -> {
Response response = installProduct(subscriptionId, itemId, settings, envName);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final Integer subscriptionId, final Integer itemId, final String settings, final String envName, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(subscriptionId, itemId, settings, envName);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(String session, Integer subscriptionId, Integer itemId, String settings){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(String session, Integer subscriptionId, Integer itemId, String settings, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final String session, final Integer subscriptionId, final Integer itemId, final String settings, final Callback callback){
new Thread(() -> {
Response response = installProduct(session, subscriptionId, itemId, settings);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final String session, final Integer subscriptionId, final Integer itemId, final String settings, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(session, subscriptionId, itemId, settings);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(Integer subscriptionId, Integer itemId, String settings){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(Integer subscriptionId, Integer itemId, String settings, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("settings", settings);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final Integer subscriptionId, final Integer itemId, final String settings, final Callback callback){
new Thread(() -> {
Response response = installProduct(subscriptionId, itemId, settings);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final Integer subscriptionId, final Integer itemId, final String settings, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(subscriptionId, itemId, settings);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(String session, Integer subscriptionId, Integer itemId){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(String session, Integer subscriptionId, Integer itemId, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final String session, final Integer subscriptionId, final Integer itemId, final Callback callback){
new Thread(() -> {
Response response = installProduct(session, subscriptionId, itemId);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final String session, final Integer subscriptionId, final Integer itemId, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(session, subscriptionId, itemId);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(Integer subscriptionId, Integer itemId){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(Integer subscriptionId, Integer itemId, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Subscription installProduct(final Integer subscriptionId, final Integer itemId, final Callback callback){
new Thread(() -> {
Response response = installProduct(subscriptionId, itemId);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription installProduct(final Integer subscriptionId, final Integer itemId, final Map headers, final Callback callback){
new Thread(() -> {
Response response = installProduct(subscriptionId, itemId);
callback.fire(response);
}, "callback").start();
return this;
}
public Response installProduct(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, Response.class);
}
public Response installProduct(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/installproduct", _params, headers, Response.class);
}
public Response uninstallProduct(String appid, String session, Integer subscriptionId, Integer itemId, Integer itemResourceId, String passphrase){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("itemResourceId", itemResourceId + "");
_params.put("passphrase", passphrase);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/uninstallproduct", _params, Response.class);
}
public Response uninstallProduct(String appid, String session, Integer subscriptionId, Integer itemId, Integer itemResourceId, String passphrase, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("itemResourceId", itemResourceId + "");
_params.put("passphrase", passphrase);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/uninstallproduct", _params, headers, Response.class);
}
public Subscription uninstallProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final Integer itemResourceId, final String passphrase, final Callback callback){
new Thread(() -> {
Response response = uninstallProduct(appid, session, subscriptionId, itemId, itemResourceId, passphrase);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription uninstallProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final Integer itemResourceId, final String passphrase, final Map headers, final Callback callback){
new Thread(() -> {
Response response = uninstallProduct(appid, session, subscriptionId, itemId, itemResourceId, passphrase);
callback.fire(response);
}, "callback").start();
return this;
}
public Response uninstallProduct(String session, Integer subscriptionId, Integer itemId, Integer itemResourceId, String passphrase){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("itemResourceId", itemResourceId + "");
_params.put("passphrase", passphrase);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/uninstallproduct", _params, Response.class);
}
public Response uninstallProduct(String session, Integer subscriptionId, Integer itemId, Integer itemResourceId, String passphrase, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("itemResourceId", itemResourceId + "");
_params.put("passphrase", passphrase);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/uninstallproduct", _params, headers, Response.class);
}
public Subscription uninstallProduct(final String session, final Integer subscriptionId, final Integer itemId, final Integer itemResourceId, final String passphrase, final Callback callback){
new Thread(() -> {
Response response = uninstallProduct(session, subscriptionId, itemId, itemResourceId, passphrase);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription uninstallProduct(final String session, final Integer subscriptionId, final Integer itemId, final Integer itemResourceId, final String passphrase, final Map headers, final Callback callback){
new Thread(() -> {
Response response = uninstallProduct(session, subscriptionId, itemId, itemResourceId, passphrase);
callback.fire(response);
}, "callback").start();
return this;
}
public Response uninstallProduct(Integer subscriptionId, Integer itemId, Integer itemResourceId, String passphrase){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("itemResourceId", itemResourceId + "");
_params.put("passphrase", passphrase);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/uninstallproduct", _params, Response.class);
}
public Response uninstallProduct(Integer subscriptionId, Integer itemId, Integer itemResourceId, String passphrase, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("itemResourceId", itemResourceId + "");
_params.put("passphrase", passphrase);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/uninstallproduct", _params, headers, Response.class);
}
public Subscription uninstallProduct(final Integer subscriptionId, final Integer itemId, final Integer itemResourceId, final String passphrase, final Callback callback){
new Thread(() -> {
Response response = uninstallProduct(subscriptionId, itemId, itemResourceId, passphrase);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription uninstallProduct(final Integer subscriptionId, final Integer itemId, final Integer itemResourceId, final String passphrase, final Map headers, final Callback callback){
new Thread(() -> {
Response response = uninstallProduct(subscriptionId, itemId, itemResourceId, passphrase);
callback.fire(response);
}, "callback").start();
return this;
}
public Response uninstallProduct(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/uninstallproduct", _params, Response.class);
}
public Response uninstallProduct(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/uninstallproduct", _params, headers, Response.class);
}
public Response cloneProduct(String appid, String session, Integer subscriptionId, Integer itemId, Integer itemResourceId, String targetEnvName){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("itemResourceId", itemResourceId + "");
_params.put("targetEnvName", targetEnvName);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/cloneproduct", _params, Response.class);
}
public Response cloneProduct(String appid, String session, Integer subscriptionId, Integer itemId, Integer itemResourceId, String targetEnvName, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("itemResourceId", itemResourceId + "");
_params.put("targetEnvName", targetEnvName);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/cloneproduct", _params, headers, Response.class);
}
public Subscription cloneProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final Integer itemResourceId, final String targetEnvName, final Callback callback){
new Thread(() -> {
Response response = cloneProduct(appid, session, subscriptionId, itemId, itemResourceId, targetEnvName);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription cloneProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final Integer itemResourceId, final String targetEnvName, final Map headers, final Callback callback){
new Thread(() -> {
Response response = cloneProduct(appid, session, subscriptionId, itemId, itemResourceId, targetEnvName);
callback.fire(response);
}, "callback").start();
return this;
}
public Response cloneProduct(String session, Integer subscriptionId, Integer itemId, Integer itemResourceId, String targetEnvName){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("itemResourceId", itemResourceId + "");
_params.put("targetEnvName", targetEnvName);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/cloneproduct", _params, Response.class);
}
public Response cloneProduct(String session, Integer subscriptionId, Integer itemId, Integer itemResourceId, String targetEnvName, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("itemResourceId", itemResourceId + "");
_params.put("targetEnvName", targetEnvName);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/cloneproduct", _params, headers, Response.class);
}
public Subscription cloneProduct(final String session, final Integer subscriptionId, final Integer itemId, final Integer itemResourceId, final String targetEnvName, final Callback callback){
new Thread(() -> {
Response response = cloneProduct(session, subscriptionId, itemId, itemResourceId, targetEnvName);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription cloneProduct(final String session, final Integer subscriptionId, final Integer itemId, final Integer itemResourceId, final String targetEnvName, final Map headers, final Callback callback){
new Thread(() -> {
Response response = cloneProduct(session, subscriptionId, itemId, itemResourceId, targetEnvName);
callback.fire(response);
}, "callback").start();
return this;
}
public Response cloneProduct(Integer subscriptionId, Integer itemId, Integer itemResourceId, String targetEnvName){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("itemResourceId", itemResourceId + "");
_params.put("targetEnvName", targetEnvName);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/cloneproduct", _params, Response.class);
}
public Response cloneProduct(Integer subscriptionId, Integer itemId, Integer itemResourceId, String targetEnvName, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("itemResourceId", itemResourceId + "");
_params.put("targetEnvName", targetEnvName);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/cloneproduct", _params, headers, Response.class);
}
public Subscription cloneProduct(final Integer subscriptionId, final Integer itemId, final Integer itemResourceId, final String targetEnvName, final Callback callback){
new Thread(() -> {
Response response = cloneProduct(subscriptionId, itemId, itemResourceId, targetEnvName);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription cloneProduct(final Integer subscriptionId, final Integer itemId, final Integer itemResourceId, final String targetEnvName, final Map headers, final Callback callback){
new Thread(() -> {
Response response = cloneProduct(subscriptionId, itemId, itemResourceId, targetEnvName);
callback.fire(response);
}, "callback").start();
return this;
}
public Response cloneProduct(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/cloneproduct", _params, Response.class);
}
public Response cloneProduct(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/cloneproduct", _params, headers, Response.class);
}
public ArrayItemResponse setAutopay(String appid, String session, Integer id, Boolean enable, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("enable", enable + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/setautopay", _params, ArrayItemResponse.class);
}
public ArrayItemResponse setAutopay(String appid, String session, Integer id, Boolean enable, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("enable", enable + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/setautopay", _params, headers, ArrayItemResponse.class);
}
public Subscription setAutopay(final String appid, final String session, final Integer id, final Boolean enable, final String expandFields, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = setAutopay(appid, session, id, enable, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription setAutopay(final String appid, final String session, final Integer id, final Boolean enable, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = setAutopay(appid, session, id, enable, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse setAutopay(String appid, String session, Integer id, Boolean enable){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("enable", enable + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/setautopay", _params, ArrayItemResponse.class);
}
public ArrayItemResponse setAutopay(String appid, String session, Integer id, Boolean enable, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("enable", enable + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/setautopay", _params, headers, ArrayItemResponse.class);
}
public Subscription setAutopay(final String appid, final String session, final Integer id, final Boolean enable, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = setAutopay(appid, session, id, enable);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription setAutopay(final String appid, final String session, final Integer id, final Boolean enable, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = setAutopay(appid, session, id, enable);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse setAutopay(String session, Integer id, Boolean enable, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("enable", enable + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/setautopay", _params, ArrayItemResponse.class);
}
public ArrayItemResponse setAutopay(String session, Integer id, Boolean enable, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("enable", enable + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/setautopay", _params, headers, ArrayItemResponse.class);
}
public Subscription setAutopay(final String session, final Integer id, final Boolean enable, final String expandFields, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = setAutopay(session, id, enable, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription setAutopay(final String session, final Integer id, final Boolean enable, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = setAutopay(session, id, enable, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse setAutopay(Integer id, Boolean enable, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("enable", enable + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/setautopay", _params, ArrayItemResponse.class);
}
public ArrayItemResponse setAutopay(Integer id, Boolean enable, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("enable", enable + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/setautopay", _params, headers, ArrayItemResponse.class);
}
public Subscription setAutopay(final Integer id, final Boolean enable, final String expandFields, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = setAutopay(id, enable, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription setAutopay(final Integer id, final Boolean enable, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = setAutopay(id, enable, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse setAutopay(String session, Integer id, Boolean enable){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("enable", enable + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/setautopay", _params, ArrayItemResponse.class);
}
public ArrayItemResponse setAutopay(String session, Integer id, Boolean enable, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("enable", enable + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/setautopay", _params, headers, ArrayItemResponse.class);
}
public Subscription setAutopay(final String session, final Integer id, final Boolean enable, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = setAutopay(session, id, enable);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription setAutopay(final String session, final Integer id, final Boolean enable, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = setAutopay(session, id, enable);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse setAutopay(Integer id, Boolean enable){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("enable", enable + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/setautopay", _params, ArrayItemResponse.class);
}
public ArrayItemResponse setAutopay(Integer id, Boolean enable, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("enable", enable + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/setautopay", _params, headers, ArrayItemResponse.class);
}
public Subscription setAutopay(final Integer id, final Boolean enable, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = setAutopay(id, enable);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription setAutopay(final Integer id, final Boolean enable, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = setAutopay(id, enable);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse setAutopay(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/setautopay", _params, ArrayItemResponse.class);
}
public ArrayItemResponse setAutopay(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/setautopay", _params, headers, ArrayItemResponse.class);
}
public Response moveProduct(String appid, String session, Integer subscriptionId, Integer itemId, Integer itemResourceId, Integer targetSubscriptionId, Integer targetItemId, String passphrase){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("itemResourceId", itemResourceId + "");
_params.put("targetSubscriptionId", targetSubscriptionId + "");
_params.put("targetItemId", targetItemId + "");
_params.put("passphrase", passphrase);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/moveproduct", _params, Response.class);
}
public Response moveProduct(String appid, String session, Integer subscriptionId, Integer itemId, Integer itemResourceId, Integer targetSubscriptionId, Integer targetItemId, String passphrase, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("itemResourceId", itemResourceId + "");
_params.put("targetSubscriptionId", targetSubscriptionId + "");
_params.put("targetItemId", targetItemId + "");
_params.put("passphrase", passphrase);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/moveproduct", _params, headers, Response.class);
}
public Subscription moveProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final Integer itemResourceId, final Integer targetSubscriptionId, final Integer targetItemId, final String passphrase, final Callback callback){
new Thread(() -> {
Response response = moveProduct(appid, session, subscriptionId, itemId, itemResourceId, targetSubscriptionId, targetItemId, passphrase);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription moveProduct(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final Integer itemResourceId, final Integer targetSubscriptionId, final Integer targetItemId, final String passphrase, final Map headers, final Callback callback){
new Thread(() -> {
Response response = moveProduct(appid, session, subscriptionId, itemId, itemResourceId, targetSubscriptionId, targetItemId, passphrase);
callback.fire(response);
}, "callback").start();
return this;
}
public Response moveProduct(String session, Integer subscriptionId, Integer itemId, Integer itemResourceId, Integer targetSubscriptionId, Integer targetItemId, String passphrase){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("itemResourceId", itemResourceId + "");
_params.put("targetSubscriptionId", targetSubscriptionId + "");
_params.put("targetItemId", targetItemId + "");
_params.put("passphrase", passphrase);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/moveproduct", _params, Response.class);
}
public Response moveProduct(String session, Integer subscriptionId, Integer itemId, Integer itemResourceId, Integer targetSubscriptionId, Integer targetItemId, String passphrase, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("itemResourceId", itemResourceId + "");
_params.put("targetSubscriptionId", targetSubscriptionId + "");
_params.put("targetItemId", targetItemId + "");
_params.put("passphrase", passphrase);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/moveproduct", _params, headers, Response.class);
}
public Subscription moveProduct(final String session, final Integer subscriptionId, final Integer itemId, final Integer itemResourceId, final Integer targetSubscriptionId, final Integer targetItemId, final String passphrase, final Callback callback){
new Thread(() -> {
Response response = moveProduct(session, subscriptionId, itemId, itemResourceId, targetSubscriptionId, targetItemId, passphrase);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription moveProduct(final String session, final Integer subscriptionId, final Integer itemId, final Integer itemResourceId, final Integer targetSubscriptionId, final Integer targetItemId, final String passphrase, final Map headers, final Callback callback){
new Thread(() -> {
Response response = moveProduct(session, subscriptionId, itemId, itemResourceId, targetSubscriptionId, targetItemId, passphrase);
callback.fire(response);
}, "callback").start();
return this;
}
public Response moveProduct(Integer subscriptionId, Integer itemId, Integer itemResourceId, Integer targetSubscriptionId, Integer targetItemId, String passphrase){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("itemResourceId", itemResourceId + "");
_params.put("targetSubscriptionId", targetSubscriptionId + "");
_params.put("targetItemId", targetItemId + "");
_params.put("passphrase", passphrase);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/moveproduct", _params, Response.class);
}
public Response moveProduct(Integer subscriptionId, Integer itemId, Integer itemResourceId, Integer targetSubscriptionId, Integer targetItemId, String passphrase, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("itemResourceId", itemResourceId + "");
_params.put("targetSubscriptionId", targetSubscriptionId + "");
_params.put("targetItemId", targetItemId + "");
_params.put("passphrase", passphrase);
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/moveproduct", _params, headers, Response.class);
}
public Subscription moveProduct(final Integer subscriptionId, final Integer itemId, final Integer itemResourceId, final Integer targetSubscriptionId, final Integer targetItemId, final String passphrase, final Callback callback){
new Thread(() -> {
Response response = moveProduct(subscriptionId, itemId, itemResourceId, targetSubscriptionId, targetItemId, passphrase);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription moveProduct(final Integer subscriptionId, final Integer itemId, final Integer itemResourceId, final Integer targetSubscriptionId, final Integer targetItemId, final String passphrase, final Map headers, final Callback callback){
new Thread(() -> {
Response response = moveProduct(subscriptionId, itemId, itemResourceId, targetSubscriptionId, targetItemId, passphrase);
callback.fire(response);
}, "callback").start();
return this;
}
public Response moveProduct(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/moveproduct", _params, Response.class);
}
public Response moveProduct(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/moveproduct", _params, headers, Response.class);
}
public ArrayItemResponse updateSubscription(String appid, String session, Integer subscriptionId, Integer itemId, Integer quantity, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("quantity", quantity + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/updatesubscription", _params, ArrayItemResponse.class);
}
public ArrayItemResponse updateSubscription(String appid, String session, Integer subscriptionId, Integer itemId, Integer quantity, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("quantity", quantity + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/updatesubscription", _params, headers, ArrayItemResponse.class);
}
public Subscription updateSubscription(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final Integer quantity, final String expandFields, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = updateSubscription(appid, session, subscriptionId, itemId, quantity, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription updateSubscription(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final Integer quantity, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = updateSubscription(appid, session, subscriptionId, itemId, quantity, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse updateSubscription(String appid, String session, Integer subscriptionId, Integer itemId, Integer quantity){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("quantity", quantity + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/updatesubscription", _params, ArrayItemResponse.class);
}
public ArrayItemResponse updateSubscription(String appid, String session, Integer subscriptionId, Integer itemId, Integer quantity, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("quantity", quantity + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/updatesubscription", _params, headers, ArrayItemResponse.class);
}
public Subscription updateSubscription(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final Integer quantity, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = updateSubscription(appid, session, subscriptionId, itemId, quantity);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription updateSubscription(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final Integer quantity, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = updateSubscription(appid, session, subscriptionId, itemId, quantity);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse updateSubscription(String session, Integer subscriptionId, Integer itemId, Integer quantity, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("quantity", quantity + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/updatesubscription", _params, ArrayItemResponse.class);
}
public ArrayItemResponse updateSubscription(String session, Integer subscriptionId, Integer itemId, Integer quantity, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("quantity", quantity + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/updatesubscription", _params, headers, ArrayItemResponse.class);
}
public Subscription updateSubscription(final String session, final Integer subscriptionId, final Integer itemId, final Integer quantity, final String expandFields, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = updateSubscription(session, subscriptionId, itemId, quantity, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription updateSubscription(final String session, final Integer subscriptionId, final Integer itemId, final Integer quantity, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = updateSubscription(session, subscriptionId, itemId, quantity, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse updateSubscription(Integer subscriptionId, Integer itemId, Integer quantity, String expandFields){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("quantity", quantity + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/updatesubscription", _params, ArrayItemResponse.class);
}
public ArrayItemResponse updateSubscription(Integer subscriptionId, Integer itemId, Integer quantity, String expandFields, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("quantity", quantity + "");
_params.put("expandFields", expandFields);
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/updatesubscription", _params, headers, ArrayItemResponse.class);
}
public Subscription updateSubscription(final Integer subscriptionId, final Integer itemId, final Integer quantity, final String expandFields, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = updateSubscription(subscriptionId, itemId, quantity, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription updateSubscription(final Integer subscriptionId, final Integer itemId, final Integer quantity, final String expandFields, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = updateSubscription(subscriptionId, itemId, quantity, expandFields);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse updateSubscription(String session, Integer subscriptionId, Integer itemId, Integer quantity){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("quantity", quantity + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/updatesubscription", _params, ArrayItemResponse.class);
}
public ArrayItemResponse updateSubscription(String session, Integer subscriptionId, Integer itemId, Integer quantity, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("quantity", quantity + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/updatesubscription", _params, headers, ArrayItemResponse.class);
}
public Subscription updateSubscription(final String session, final Integer subscriptionId, final Integer itemId, final Integer quantity, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = updateSubscription(session, subscriptionId, itemId, quantity);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription updateSubscription(final String session, final Integer subscriptionId, final Integer itemId, final Integer quantity, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = updateSubscription(session, subscriptionId, itemId, quantity);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse updateSubscription(Integer subscriptionId, Integer itemId, Integer quantity){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("quantity", quantity + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/updatesubscription", _params, ArrayItemResponse.class);
}
public ArrayItemResponse updateSubscription(Integer subscriptionId, Integer itemId, Integer quantity, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("quantity", quantity + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/updatesubscription", _params, headers, ArrayItemResponse.class);
}
public Subscription updateSubscription(final Integer subscriptionId, final Integer itemId, final Integer quantity, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = updateSubscription(subscriptionId, itemId, quantity);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription updateSubscription(final Integer subscriptionId, final Integer itemId, final Integer quantity, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = updateSubscription(subscriptionId, itemId, quantity);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse updateSubscription(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/updatesubscription", _params, ArrayItemResponse.class);
}
public ArrayItemResponse updateSubscription(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/updatesubscription", _params, headers, ArrayItemResponse.class);
}
public ArrayItemResponse upcomingInvoice(String appid, String session, Integer subscriptionId, Integer itemId, Integer quantity){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("quantity", quantity + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/upcominginvoice", _params, ArrayItemResponse.class);
}
public ArrayItemResponse upcomingInvoice(String appid, String session, Integer subscriptionId, Integer itemId, Integer quantity, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("quantity", quantity + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/upcominginvoice", _params, headers, ArrayItemResponse.class);
}
public Subscription upcomingInvoice(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final Integer quantity, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = upcomingInvoice(appid, session, subscriptionId, itemId, quantity);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription upcomingInvoice(final String appid, final String session, final Integer subscriptionId, final Integer itemId, final Integer quantity, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = upcomingInvoice(appid, session, subscriptionId, itemId, quantity);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse upcomingInvoice(String session, Integer subscriptionId, Integer itemId, Integer quantity){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("quantity", quantity + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/upcominginvoice", _params, ArrayItemResponse.class);
}
public ArrayItemResponse upcomingInvoice(String session, Integer subscriptionId, Integer itemId, Integer quantity, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("quantity", quantity + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/upcominginvoice", _params, headers, ArrayItemResponse.class);
}
public Subscription upcomingInvoice(final String session, final Integer subscriptionId, final Integer itemId, final Integer quantity, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = upcomingInvoice(session, subscriptionId, itemId, quantity);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription upcomingInvoice(final String session, final Integer subscriptionId, final Integer itemId, final Integer quantity, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = upcomingInvoice(session, subscriptionId, itemId, quantity);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse upcomingInvoice(Integer subscriptionId, Integer itemId, Integer quantity){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("quantity", quantity + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/upcominginvoice", _params, ArrayItemResponse.class);
}
public ArrayItemResponse upcomingInvoice(Integer subscriptionId, Integer itemId, Integer quantity, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("itemId", itemId + "");
_params.put("quantity", quantity + "");
_params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/upcominginvoice", _params, headers, ArrayItemResponse.class);
}
public Subscription upcomingInvoice(final Integer subscriptionId, final Integer itemId, final Integer quantity, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = upcomingInvoice(subscriptionId, itemId, quantity);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription upcomingInvoice(final Integer subscriptionId, final Integer itemId, final Integer quantity, final Map headers, final Callback callback){
new Thread(() -> {
ArrayItemResponse response = upcomingInvoice(subscriptionId, itemId, quantity);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayItemResponse upcomingInvoice(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/upcominginvoice", _params, ArrayItemResponse.class);
}
public ArrayItemResponse upcomingInvoice(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayItemResponse) _call(appid, serviceUrl + "rest/upcominginvoice", _params, headers, ArrayItemResponse.class);
}
public Response discardUpdateSubscription(String appid, String session, Integer subscriptionId){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/discardupdatesubscription", _params, Response.class);
}
public Response discardUpdateSubscription(String appid, String session, Integer subscriptionId, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/discardupdatesubscription", _params, headers, Response.class);
}
public Subscription discardUpdateSubscription(final String appid, final String session, final Integer subscriptionId, final Callback callback){
new Thread(() -> {
Response response = discardUpdateSubscription(appid, session, subscriptionId);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription discardUpdateSubscription(final String appid, final String session, final Integer subscriptionId, final Map headers, final Callback callback){
new Thread(() -> {
Response response = discardUpdateSubscription(appid, session, subscriptionId);
callback.fire(response);
}, "callback").start();
return this;
}
public Response discardUpdateSubscription(String session, Integer subscriptionId){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/discardupdatesubscription", _params, Response.class);
}
public Response discardUpdateSubscription(String session, Integer subscriptionId, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/discardupdatesubscription", _params, headers, Response.class);
}
public Subscription discardUpdateSubscription(final String session, final Integer subscriptionId, final Callback callback){
new Thread(() -> {
Response response = discardUpdateSubscription(session, subscriptionId);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription discardUpdateSubscription(final String session, final Integer subscriptionId, final Map headers, final Callback callback){
new Thread(() -> {
Response response = discardUpdateSubscription(session, subscriptionId);
callback.fire(response);
}, "callback").start();
return this;
}
public Response discardUpdateSubscription(Integer subscriptionId){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/discardupdatesubscription", _params, Response.class);
}
public Response discardUpdateSubscription(Integer subscriptionId, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("subscriptionId", subscriptionId + "");
_params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/discardupdatesubscription", _params, headers, Response.class);
}
public Subscription discardUpdateSubscription(final Integer subscriptionId, final Callback callback){
new Thread(() -> {
Response response = discardUpdateSubscription(subscriptionId);
callback.fire(response);
}, "callback").start();
return this;
}
public Subscription discardUpdateSubscription(final Integer subscriptionId, final Map headers, final Callback callback){
new Thread(() -> {
Response response = discardUpdateSubscription(subscriptionId);
callback.fire(response);
}, "callback").start();
return this;
}
public Response discardUpdateSubscription(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/discardupdatesubscription", _params, Response.class);
}
public Response discardUpdateSubscription(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (Response) _call(appid, serviceUrl + "rest/discardupdatesubscription", _params, headers, Response.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy