public static class WhatsAppBusinessAccount.APIRequestCreatePaymentConfiguration extends APIRequest<WhatsAppBusinessAccount>
APIRequest.DefaultAsyncRequestExecutor, APIRequest.DefaultRequestExecutor, APIRequest.IAsyncRequestExecutor, APIRequest.IRequestExecutor, APIRequest.RequestHelper, APIRequest.ResponseParser<T extends APINode>, APIRequest.ResponseWrapper| Modifier and Type | Field and Description |
|---|---|
static String[] |
FIELDS |
static String[] |
PARAMS |
context, endpoint, method, nodeId, paramNames, params, parser, returnFields, USER_AGENT, useVideoEndpoint| Constructor and Description |
|---|
APIRequestCreatePaymentConfiguration(String nodeId,
APIContext context) |
addToBatch, addToBatch, addToBatch, changeAsyncRequestExecutor, changeRequestExecutor, executeAsyncBase, executeAsyncBase, executeAsyncInternal, executeAsyncInternal, executeInternal, executeInternal, getAsyncExecutor, getContext, getExecutor, joinStringList, requestFieldInternal, setContext, setOverrideUrl, setParamInternal, setParamsInternal, setUseVideoEndpointpublic APIRequestCreatePaymentConfiguration(String nodeId, APIContext context)
public WhatsAppBusinessAccount getLastResponse()
getLastResponse in class APIRequest<WhatsAppBusinessAccount>public WhatsAppBusinessAccount parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<WhatsAppBusinessAccount>APIExceptionpublic WhatsAppBusinessAccount execute() throws APIException
execute in class APIRequest<WhatsAppBusinessAccount>APIExceptionpublic WhatsAppBusinessAccount execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<WhatsAppBusinessAccount>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<WhatsAppBusinessAccount> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<WhatsAppBusinessAccount> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic WhatsAppBusinessAccount.APIRequestCreatePaymentConfiguration setParam(String param, Object value)
setParam in class APIRequest<WhatsAppBusinessAccount>public WhatsAppBusinessAccount.APIRequestCreatePaymentConfiguration setParams(Map<String,Object> params)
setParams in class APIRequest<WhatsAppBusinessAccount>public WhatsAppBusinessAccount.APIRequestCreatePaymentConfiguration setConfigurationName(String configurationName)
public WhatsAppBusinessAccount.APIRequestCreatePaymentConfiguration setMerchantCategoryCode(String merchantCategoryCode)
public WhatsAppBusinessAccount.APIRequestCreatePaymentConfiguration setMerchantVpa(String merchantVpa)
public WhatsAppBusinessAccount.APIRequestCreatePaymentConfiguration setProviderName(WhatsAppBusinessAccount.EnumProviderName providerName)
public WhatsAppBusinessAccount.APIRequestCreatePaymentConfiguration setProviderName(String providerName)
public WhatsAppBusinessAccount.APIRequestCreatePaymentConfiguration setPurposeCode(String purposeCode)
public WhatsAppBusinessAccount.APIRequestCreatePaymentConfiguration setRedirectUrl(String redirectUrl)
public WhatsAppBusinessAccount.APIRequestCreatePaymentConfiguration requestAllFields()
public WhatsAppBusinessAccount.APIRequestCreatePaymentConfiguration requestAllFields(boolean value)
public WhatsAppBusinessAccount.APIRequestCreatePaymentConfiguration requestFields(List<String> fields)
requestFields in class APIRequest<WhatsAppBusinessAccount>public WhatsAppBusinessAccount.APIRequestCreatePaymentConfiguration requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<WhatsAppBusinessAccount>public WhatsAppBusinessAccount.APIRequestCreatePaymentConfiguration requestField(String field)
requestField in class APIRequest<WhatsAppBusinessAccount>public WhatsAppBusinessAccount.APIRequestCreatePaymentConfiguration requestField(String field, boolean value)
requestField in class APIRequest<WhatsAppBusinessAccount>Copyright © 2024. All rights reserved.