Interface DistributionService
-
- All Implemented Interfaces:
public interface DistributionServiceCreate and inspect fund distributions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceDistributionService.WithRawResponseA view of DistributionService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract DistributionService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract DistributionServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. Distributioncreate(DistributionCreateParams params)Stages a new fund distribution with one or more payments. abstract Distributioncreate(DistributionCreateParams params, RequestOptions requestOptions)Distributionretrieve(String id)Retrieve a distribution with aggregated payment status. Distributionretrieve(String id, DistributionRetrieveParams params, RequestOptions requestOptions)Distributionretrieve(String id, DistributionRetrieveParams params)abstract Distributionretrieve(DistributionRetrieveParams params, RequestOptions requestOptions)Distributionretrieve(DistributionRetrieveParams params)Distributionretrieve(String id, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract DistributionService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract DistributionService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
Distribution create(DistributionCreateParams params)
Stages a new fund distribution with one or more payments. Each payment targets a single receiving entity (either referenced by id or created inline) and one or more people associated with that entity.
-
create
abstract Distribution create(DistributionCreateParams params, RequestOptions requestOptions)
-
retrieve
Distribution retrieve(String id)
Retrieve a distribution with aggregated payment status.
-
retrieve
Distribution retrieve(String id, DistributionRetrieveParams params, RequestOptions requestOptions)
-
retrieve
Distribution retrieve(String id, DistributionRetrieveParams params)
-
retrieve
abstract Distribution retrieve(DistributionRetrieveParams params, RequestOptions requestOptions)
-
retrieve
Distribution retrieve(DistributionRetrieveParams params)
-
retrieve
Distribution retrieve(String id, RequestOptions requestOptions)
-
-
-
-