Package com.adyen.service
Class Resource
- java.lang.Object
-
- com.adyen.service.Resource
-
- Direct Known Subclasses:
AccountHolderBalance,AccountHolderTransactionList,AdjustAuthorisation,AssignTerminals,Async,Authorise,Authorise3D,Authorise3DS2,Cancel,CancelOrRefund,Cancels,Capture,ChangeStatus,CheckAccountHolder,CheckBalance,CloseAccount,CloseAccountHolder,CloseStores,ConfirmThirdParty,ConnectedTerminals,CreateAccount,CreateAccountHolder,CreateNotificationConfiguration,DebitAccountHolder,DeclineThirdParty,DeleteBankAccount,DeleteNotificationConfigurations,DeletePayoutMethod,DeleteShareholder,DeleteSignatories,Disable,Donate,FindTerminal,Get3dsAvailability,GetAccountHolder,GetAuthenticationResult,GetCostEstimate,GetNotificationConfiguration,GetNotificationConfigurationList,GetOnboardingUrl,GetStoresUnderAccount,GetTaxForm,GetTerminalDetails,GetTerminalsUnderAccount,GetUploadedDocuments,Issue,ListRecurringDetails,Load,LocalRequest,MergeBalance,NotifyShopper,Orders,OrdersCancel,OriginKeys,PaymentLink,PaymentLinks,PaymentMethods,Payments,PaymentsAmountUpdates,PaymentsCancels,PaymentsCaptures,PaymentsDetails,PaymentSession,PaymentsRefunds,PaymentsResult,PaymentsReversals,Payout,PayoutAccountHolder,Refund,RefundFundsTransfer,RefundNotPaidOutTransfers,RequestSubjectErasure,Retrieve3DS2Result,ScheduleAccountUpdater,Sessions,SetupBeneficiary,StoreDetail,StoreDetailAndSubmitThirdParty,StoredPaymentsMethods,StoreToken,SubmitThirdParty,SuspendAccountHolder,Sync,TechnicalCancel,TestNotificationConfiguration,TransferFunds,UnSuspendAccountHolder,UpdateAccount,UpdateAccountHolder,UpdateAccountHolderState,UpdateNotificationConfiguration,UploadDocument,VoidPendingRefund,VoidTransaction
public class Resource extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringrequest(String json)Request using json StringStringrequest(String json, RequestOptions requestOptions)Request using json String with additional request parameters like idempotency-keyStringrequest(String json, RequestOptions requestOptions, ApiConstants.HttpMethod httpMethod, Map<String,String> params)Request using json String with additional request parameters like idempotency-key
-
-
-
Method Detail
-
request
public String request(String json) throws ApiException, IOException
Request using json String- Parameters:
json- request json- Returns:
- request
- Throws:
ApiException- ApiExceptionIOException- IOException
-
request
public String request(String json, RequestOptions requestOptions) throws ApiException, IOException
Request using json String with additional request parameters like idempotency-key- Parameters:
json- jsonrequestOptions- request options- Returns:
- request
- Throws:
ApiException- apiExceptionIOException- IOException
-
request
public String request(String json, RequestOptions requestOptions, ApiConstants.HttpMethod httpMethod, Map<String,String> params) throws ApiException, IOException
Request using json String with additional request parameters like idempotency-key- Parameters:
json- jsonrequestOptions- request optionshttpMethod- http methodparams- request parameters- Returns:
- request
- Throws:
ApiException- apiExceptionIOException- IOException
-
-