Class PaymentInstrumentGroupsApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.balanceplatform.PaymentInstrumentGroupsApi
-
public class PaymentInstrumentGroupsApi extends Service
-
-
Constructor Summary
Constructors Constructor Description PaymentInstrumentGroupsApi(Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentInstrumentGroupcreatePaymentInstrumentGroup(PaymentInstrumentGroupInfo paymentInstrumentGroupInfo)Create a payment instrument groupPaymentInstrumentGroupcreatePaymentInstrumentGroup(PaymentInstrumentGroupInfo paymentInstrumentGroupInfo, RequestOptions requestOptions)Create a payment instrument groupTransactionRulesResponsegetAllTransactionRulesForPaymentInstrumentGroup(String id)Get all transaction rules for a payment instrument groupTransactionRulesResponsegetAllTransactionRulesForPaymentInstrumentGroup(String id, RequestOptions requestOptions)Get all transaction rules for a payment instrument groupPaymentInstrumentGroupgetPaymentInstrumentGroup(String id)Get a payment instrument groupPaymentInstrumentGroupgetPaymentInstrumentGroup(String id, RequestOptions requestOptions)Get a payment instrument group-
Methods inherited from class com.adyen.Service
createBaseURL, getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Constructor Detail
-
PaymentInstrumentGroupsApi
public PaymentInstrumentGroupsApi(Client client)
-
-
Method Detail
-
getPaymentInstrumentGroup
public PaymentInstrumentGroup getPaymentInstrumentGroup(String id) throws ApiException, IOException
Get a payment instrument group- Parameters:
id-StringThe unique identifier of the payment instrument group. (required)- Returns:
PaymentInstrumentGroup- Throws:
ApiException- if fails to make API callIOException
-
getPaymentInstrumentGroup
public PaymentInstrumentGroup getPaymentInstrumentGroup(String id, RequestOptions requestOptions) throws ApiException, IOException
Get a payment instrument group- Parameters:
id-StringThe unique identifier of the payment instrument group. (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
PaymentInstrumentGroup- Throws:
ApiException- if fails to make API callIOException
-
getAllTransactionRulesForPaymentInstrumentGroup
public TransactionRulesResponse getAllTransactionRulesForPaymentInstrumentGroup(String id) throws ApiException, IOException
Get all transaction rules for a payment instrument group- Parameters:
id-StringThe unique identifier of the payment instrument group. (required)- Returns:
TransactionRulesResponse- Throws:
ApiException- if fails to make API callIOException
-
getAllTransactionRulesForPaymentInstrumentGroup
public TransactionRulesResponse getAllTransactionRulesForPaymentInstrumentGroup(String id, RequestOptions requestOptions) throws ApiException, IOException
Get all transaction rules for a payment instrument group- Parameters:
id-StringThe unique identifier of the payment instrument group. (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
TransactionRulesResponse- Throws:
ApiException- if fails to make API callIOException
-
createPaymentInstrumentGroup
public PaymentInstrumentGroup createPaymentInstrumentGroup(PaymentInstrumentGroupInfo paymentInstrumentGroupInfo) throws ApiException, IOException
Create a payment instrument group- Parameters:
paymentInstrumentGroupInfo-PaymentInstrumentGroupInfo(required)- Returns:
PaymentInstrumentGroup- Throws:
ApiException- if fails to make API callIOException
-
createPaymentInstrumentGroup
public PaymentInstrumentGroup createPaymentInstrumentGroup(PaymentInstrumentGroupInfo paymentInstrumentGroupInfo, RequestOptions requestOptions) throws ApiException, IOException
Create a payment instrument group- Parameters:
paymentInstrumentGroupInfo-PaymentInstrumentGroupInfo(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
PaymentInstrumentGroup- Throws:
ApiException- if fails to make API callIOException
-
-