Class PayoutsServiceImpl
- All Implemented Interfaces:
PayoutsService
PayoutsServiceImpl
-
Field Summary
Fields inherited from class vn.payos.core.APIService
client -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbatch()BatchServicecreate(PayoutRequests payoutData) Create a new payout.create(PayoutRequests payoutData, String idempotencyKey) Create a new payout.create(PayoutRequests payoutData, String idempotencyKey, RequestOptions<PayoutRequests> options) Create a new payout.create(PayoutRequests payoutData, RequestOptions<PayoutRequests> options) Create a new payout.estimateCredit(PayoutBatchRequest payoutData) Estimate credit required for batch payout.estimateCredit(PayoutBatchRequest payoutData, RequestOptions<PayoutBatchRequest> options) Estimate credit required for batch payout.estimateCredit(PayoutRequests payoutData) Estimate credit required for one payout.estimateCredit(PayoutRequests payoutData, RequestOptions<PayoutRequests> options) Estimate credit required for one payout.Retrieves detailed information about a specific payout.get(String payoutId, RequestOptions<Void> options) Retrieves detailed information about a specific payout.list(GetPayoutListParams params) Retrieves a paginated list of payouts filtered by the given criteria.list(GetPayoutListParams params, RequestOptions<Void> options) Retrieves a paginated list of payouts filtered by the given criteria.
-
Constructor Details
-
PayoutsServiceImpl
PayoutsServiceImpl- Parameters:
client- client
-
-
Method Details
-
create
public Payout create(PayoutRequests payoutData, String idempotencyKey, RequestOptions<PayoutRequests> options) Description copied from interface:PayoutsServiceCreate a new payout.- Specified by:
createin interfacePayoutsService- Parameters:
payoutData- The details of the payout to be created.idempotencyKey- A unique key for ensuring idempotency. Use a UUID or other high-entropy string so that retries of the same request are recognized and duplicated payouts are prevented.options- Additional options.- Returns:
- Payout detail.
-
create
Description copied from interface:PayoutsServiceCreate a new payout.- Specified by:
createin interfacePayoutsService- Parameters:
payoutData- The details of the payout to be created.options- Additional options.- Returns:
- Payout detail.
-
create
Description copied from interface:PayoutsServiceCreate a new payout.- Specified by:
createin interfacePayoutsService- Parameters:
payoutData- The details of the payout to be created.idempotencyKey- A unique key for ensuring idempotency. Use a UUID or other high-entropy string so that retries of the same request are recognized and duplicated payouts are prevented.- Returns:
- Payout detail.
-
create
Description copied from interface:PayoutsServiceCreate a new payout.- Specified by:
createin interfacePayoutsService- Parameters:
payoutData- The details of the payout to be created.- Returns:
- Payout detail.
-
get
Description copied from interface:PayoutsServiceRetrieves detailed information about a specific payout.- Specified by:
getin interfacePayoutsService- Parameters:
payoutId- The unique identifier of the payout to retrieve.options- Additional options.- Returns:
- Payout detail.
-
get
Description copied from interface:PayoutsServiceRetrieves detailed information about a specific payout.- Specified by:
getin interfacePayoutsService- Parameters:
payoutId- The unique identifier of the payout to retrieve.- Returns:
- Payout detail.
-
estimateCredit
public EstimateCredit estimateCredit(PayoutRequests payoutData, RequestOptions<PayoutRequests> options) Description copied from interface:PayoutsServiceEstimate credit required for one payout.- Specified by:
estimateCreditin interfacePayoutsService- Parameters:
payoutData- The details of the payout to be estimated.options- Additional options.- Returns:
- The estimate result.
-
estimateCredit
Description copied from interface:PayoutsServiceEstimate credit required for one payout.- Specified by:
estimateCreditin interfacePayoutsService- Parameters:
payoutData- The details of the payout to be estimated.- Returns:
- The estimate result.
-
estimateCredit
public EstimateCredit estimateCredit(PayoutBatchRequest payoutData, RequestOptions<PayoutBatchRequest> options) Description copied from interface:PayoutsServiceEstimate credit required for batch payout.- Specified by:
estimateCreditin interfacePayoutsService- Parameters:
payoutData- The details of the payout to be estimated.options- Additional options.- Returns:
- The estimate result.
-
estimateCredit
Description copied from interface:PayoutsServiceEstimate credit required for batch payout.- Specified by:
estimateCreditin interfacePayoutsService- Parameters:
payoutData- The details of the payout to be estimated.- Returns:
- The estimate result.
-
list
Description copied from interface:PayoutsServiceRetrieves a paginated list of payouts filtered by the given criteria.- Specified by:
listin interfacePayoutsService- Parameters:
params- The filtering options including pagination parameters.options- Additional options.- Returns:
- Payouts detail.
-
list
Description copied from interface:PayoutsServiceRetrieves a paginated list of payouts filtered by the given criteria.- Specified by:
listin interfacePayoutsService- Parameters:
params- The filtering options including pagination parameters.- Returns:
- Payouts detail.
-
batch
Description copied from interface:PayoutsServiceBatchService- Specified by:
batchin interfacePayoutsService- Returns:
- BatchService
-