public static class PaymentEnginePayment.APIRequestCreateRefund extends APIRequest<PaymentEnginePayment>
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 |
|---|
APIRequestCreateRefund(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 APIRequestCreateRefund(String nodeId, APIContext context)
public PaymentEnginePayment getLastResponse()
getLastResponse in class APIRequest<PaymentEnginePayment>public PaymentEnginePayment parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<PaymentEnginePayment>APIExceptionpublic PaymentEnginePayment execute() throws APIException
execute in class APIRequest<PaymentEnginePayment>APIExceptionpublic PaymentEnginePayment execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<PaymentEnginePayment>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<PaymentEnginePayment> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<PaymentEnginePayment> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic PaymentEnginePayment.APIRequestCreateRefund setParam(String param, Object value)
setParam in class APIRequest<PaymentEnginePayment>public PaymentEnginePayment.APIRequestCreateRefund setParams(Map<String,Object> params)
setParams in class APIRequest<PaymentEnginePayment>public PaymentEnginePayment.APIRequestCreateRefund setAmount(Double amount)
public PaymentEnginePayment.APIRequestCreateRefund setAmount(String amount)
public PaymentEnginePayment.APIRequestCreateRefund setCurrency(String currency)
public PaymentEnginePayment.APIRequestCreateRefund setReason(PaymentEnginePayment.EnumReason reason)
public PaymentEnginePayment.APIRequestCreateRefund setReason(String reason)
public PaymentEnginePayment.APIRequestCreateRefund requestAllFields()
public PaymentEnginePayment.APIRequestCreateRefund requestAllFields(boolean value)
public PaymentEnginePayment.APIRequestCreateRefund requestFields(List<String> fields)
requestFields in class APIRequest<PaymentEnginePayment>public PaymentEnginePayment.APIRequestCreateRefund requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<PaymentEnginePayment>public PaymentEnginePayment.APIRequestCreateRefund requestField(String field)
requestField in class APIRequest<PaymentEnginePayment>public PaymentEnginePayment.APIRequestCreateRefund requestField(String field, boolean value)
requestField in class APIRequest<PaymentEnginePayment>Copyright © 2024. All rights reserved.