Class PayoutsClient
java.lang.Object
com.onlinepayments.ApiResource
com.onlinepayments.merchant.payouts.PayoutsClient
- All Implemented Interfaces:
PayoutsClientInterface
Payouts client. Thread-safe.
-
Field Summary
Fields inherited from class com.onlinepayments.ApiResource
clientMetaInfo, communicator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionResource /v2/{merchantId}/payouts - Create payoutcreatePayout(CreatePayoutRequest body, CallContext context) Resource /v2/{merchantId}/payouts - Create payoutResource /v2/{merchantId}/payouts/{payoutId} - Get payoutgetPayout(String payoutId, CallContext context) Resource /v2/{merchantId}/payouts/{payoutId} - Get payoutMethods inherited from class com.onlinepayments.ApiResource
getClientHeaders, instantiateUri
-
Constructor Details
-
PayoutsClient
-
-
Method Details
-
getPayout
Resource /v2/{merchantId}/payouts/{payoutId} - Get payout- Specified by:
getPayoutin interfacePayoutsClientInterface- Parameters:
payoutId- String- Returns:
- PayoutResponse
-
getPayout
Resource /v2/{merchantId}/payouts/{payoutId} - Get payout- Specified by:
getPayoutin interfacePayoutsClientInterface- Parameters:
payoutId- Stringcontext- CallContext- Returns:
- PayoutResponse
-
createPayout
Resource /v2/{merchantId}/payouts - Create payout- Specified by:
createPayoutin interfacePayoutsClientInterface- Parameters:
body- CreatePayoutRequest- Returns:
- PayoutResponse
-
createPayout
Resource /v2/{merchantId}/payouts - Create payout- Specified by:
createPayoutin interfacePayoutsClientInterface- Parameters:
body- CreatePayoutRequestcontext- CallContext- Returns:
- PayoutResponse
-