Class BatchServiceImpl
- All Implemented Interfaces:
BatchService
BatchServiceImpl
-
Field Summary
Fields inherited from class vn.payos.core.APIService
client -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(PayoutBatchRequest payoutData) Create a batch payout.create(PayoutBatchRequest payoutData, String idempotencyKey) Create a batch payout.create(PayoutBatchRequest payoutData, String idempotencyKey, RequestOptions<PayoutBatchRequest> options) Create a batch payout.create(PayoutBatchRequest payoutData, RequestOptions<PayoutBatchRequest> options) Create a batch payout.
-
Constructor Details
-
BatchServiceImpl
BatchServiceImpl- Parameters:
client- HTTP client
-
-
Method Details
-
create
public CompletableFuture<Payout> create(PayoutBatchRequest payoutData, String idempotencyKey, RequestOptions<PayoutBatchRequest> options) Description copied from interface:BatchServiceCreate a batch payout.- Specified by:
createin interfaceBatchService- Parameters:
payoutData- The details of batch payout to be created.idempotencyKey- A unique key to ensure idempotency.options- Additional options.- Returns:
- Payout detail.
-
create
Description copied from interface:BatchServiceCreate a batch payout.- Specified by:
createin interfaceBatchService- Parameters:
payoutData- The details of batch payout to be created.idempotencyKey- A unique key to ensure idempotency.- Returns:
- Payout detail.
-
create
public CompletableFuture<Payout> create(PayoutBatchRequest payoutData, RequestOptions<PayoutBatchRequest> options) Description copied from interface:BatchServiceCreate a batch payout.- Specified by:
createin interfaceBatchService- Parameters:
payoutData- The details of batch payout to be created.options- Additional options.- Returns:
- Payout detail.
-
create
Description copied from interface:BatchServiceCreate a batch payout.- Specified by:
createin interfaceBatchService- Parameters:
payoutData- The details of batch payout to be created.- Returns:
- Payout detail.
-