Skip to content

Commit aa511b7

Browse files
chore: generate code
1 parent 066a83d commit aa511b7

27 files changed

Lines changed: 554 additions & 189 deletions

src/main/java/com/sumup/sdk/clients/CheckoutsAsyncClient.java

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,19 @@
1414
/**
1515
* Client for the "Checkouts" API group.
1616
*
17-
* <p>Accept payments from your end users by adding the Checkouts model to your platform. SumUp
18-
* supports standard and single payment 3DS checkout flows. The Checkout model allows creating,
19-
* listing, retrieving, processing and deactivating checkouts. A payment is completed by creating a
20-
* checkout and then processing the checkout.
17+
* <p>Checkouts represent online payment sessions that you create before attempting to charge a
18+
* payer. A checkout captures the payment intent, such as the amount, currency, merchant, and
19+
* optional customer or redirect settings, and then moves through its lifecycle as you process it.
20+
* Use this tag to: - create a checkout before collecting or confirming payment details - process
21+
* the checkout with a card, saved card, wallet, or supported alternative payment method - retrieve
22+
* or list checkouts to inspect their current state and associated payment attempts - deactivate a
23+
* checkout that should no longer be used Typical workflow: - create a checkout with the order
24+
* amount, currency, and merchant information - process the checkout through SumUp client tools such
25+
* as the [Payment Widget and Swift Checkout
26+
* SDK](https://developer.sumup.com/online-payments/checkouts) - retrieve the checkout or use the
27+
* Transactions endpoints to inspect the resulting payment record Checkouts are used to initiate and
28+
* orchestrate online payments. Transactions remain the authoritative record of the resulting
29+
* payment outcome.
2130
*/
2231
public final class CheckoutsAsyncClient {
2332
private final ApiClient apiClient;

src/main/java/com/sumup/sdk/clients/CheckoutsClient.java

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,19 @@
1313
/**
1414
* Client for the "Checkouts" API group.
1515
*
16-
* <p>Accept payments from your end users by adding the Checkouts model to your platform. SumUp
17-
* supports standard and single payment 3DS checkout flows. The Checkout model allows creating,
18-
* listing, retrieving, processing and deactivating checkouts. A payment is completed by creating a
19-
* checkout and then processing the checkout.
16+
* <p>Checkouts represent online payment sessions that you create before attempting to charge a
17+
* payer. A checkout captures the payment intent, such as the amount, currency, merchant, and
18+
* optional customer or redirect settings, and then moves through its lifecycle as you process it.
19+
* Use this tag to: - create a checkout before collecting or confirming payment details - process
20+
* the checkout with a card, saved card, wallet, or supported alternative payment method - retrieve
21+
* or list checkouts to inspect their current state and associated payment attempts - deactivate a
22+
* checkout that should no longer be used Typical workflow: - create a checkout with the order
23+
* amount, currency, and merchant information - process the checkout through SumUp client tools such
24+
* as the [Payment Widget and Swift Checkout
25+
* SDK](https://developer.sumup.com/online-payments/checkouts) - retrieve the checkout or use the
26+
* Transactions endpoints to inspect the resulting payment record Checkouts are used to initiate and
27+
* orchestrate online payments. Transactions remain the authoritative record of the resulting
28+
* payment outcome.
2029
*/
2130
public final class CheckoutsClient {
2231
private final ApiClient apiClient;

src/main/java/com/sumup/sdk/clients/PayoutsAsyncClient.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public PayoutsAsyncClient(ApiClient apiClient) {
3333
/**
3434
* List payouts
3535
*
36-
* <p>Lists ordered payouts for the merchant profile.
36+
* <p>Lists ordered payouts for the merchant account.
3737
*
3838
* <p>Operation ID: ListPayouts
3939
*
@@ -52,7 +52,7 @@ public CompletableFuture<com.sumup.sdk.models.FinancialPayouts> listPayouts(
5252
/**
5353
* List payouts
5454
*
55-
* <p>Lists ordered payouts for the merchant profile.
55+
* <p>Lists ordered payouts for the merchant account.
5656
*
5757
* <p>Operation ID: ListPayouts
5858
*
@@ -75,7 +75,7 @@ public CompletableFuture<com.sumup.sdk.models.FinancialPayouts> listPayouts(
7575
/**
7676
* List payouts
7777
*
78-
* <p>Lists ordered payouts for the merchant profile.
78+
* <p>Lists ordered payouts for the merchant account.
7979
*
8080
* <p>Operation ID: ListPayouts
8181
*
@@ -116,7 +116,7 @@ public CompletableFuture<com.sumup.sdk.models.FinancialPayouts> listPayouts(
116116
/**
117117
* List payouts
118118
*
119-
* <p>Lists ordered payouts for the merchant profile.
119+
* <p>Lists ordered payouts for the merchant account.
120120
*
121121
* <p>Operation ID: ListPayoutsV1
122122
*
@@ -137,7 +137,7 @@ public CompletableFuture<com.sumup.sdk.models.FinancialPayouts> listPayoutsV1(
137137
/**
138138
* List payouts
139139
*
140-
* <p>Lists ordered payouts for the merchant profile.
140+
* <p>Lists ordered payouts for the merchant account.
141141
*
142142
* <p>Operation ID: ListPayoutsV1
143143
*
@@ -162,7 +162,7 @@ public CompletableFuture<com.sumup.sdk.models.FinancialPayouts> listPayoutsV1(
162162
/**
163163
* List payouts
164164
*
165-
* <p>Lists ordered payouts for the merchant profile.
165+
* <p>Lists ordered payouts for the merchant account.
166166
*
167167
* <p>Operation ID: ListPayoutsV1
168168
*

src/main/java/com/sumup/sdk/clients/PayoutsClient.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public PayoutsClient(ApiClient apiClient) {
3232
/**
3333
* List payouts
3434
*
35-
* <p>Lists ordered payouts for the merchant profile.
35+
* <p>Lists ordered payouts for the merchant account.
3636
*
3737
* <p>Operation ID: ListPayouts
3838
*
@@ -51,7 +51,7 @@ public com.sumup.sdk.models.FinancialPayouts listPayouts(
5151
/**
5252
* List payouts
5353
*
54-
* <p>Lists ordered payouts for the merchant profile.
54+
* <p>Lists ordered payouts for the merchant account.
5555
*
5656
* <p>Operation ID: ListPayouts
5757
*
@@ -74,7 +74,7 @@ public com.sumup.sdk.models.FinancialPayouts listPayouts(
7474
/**
7575
* List payouts
7676
*
77-
* <p>Lists ordered payouts for the merchant profile.
77+
* <p>Lists ordered payouts for the merchant account.
7878
*
7979
* <p>Operation ID: ListPayouts
8080
*
@@ -115,7 +115,7 @@ public com.sumup.sdk.models.FinancialPayouts listPayouts(
115115
/**
116116
* List payouts
117117
*
118-
* <p>Lists ordered payouts for the merchant profile.
118+
* <p>Lists ordered payouts for the merchant account.
119119
*
120120
* <p>Operation ID: ListPayoutsV1
121121
*
@@ -136,7 +136,7 @@ public com.sumup.sdk.models.FinancialPayouts listPayoutsV1(
136136
/**
137137
* List payouts
138138
*
139-
* <p>Lists ordered payouts for the merchant profile.
139+
* <p>Lists ordered payouts for the merchant account.
140140
*
141141
* <p>Operation ID: ListPayoutsV1
142142
*
@@ -161,7 +161,7 @@ public com.sumup.sdk.models.FinancialPayouts listPayoutsV1(
161161
/**
162162
* List payouts
163163
*
164-
* <p>Lists ordered payouts for the merchant profile.
164+
* <p>Lists ordered payouts for the merchant account.
165165
*
166166
* <p>Operation ID: ListPayoutsV1
167167
*

src/main/java/com/sumup/sdk/clients/TransactionsAsyncClient.java

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,22 @@
1414
/**
1515
* Client for the "Transactions" API group.
1616
*
17-
* <p>Retrieve details for a specific transaction by it’s `id` or any other required query
18-
* parameter, or list all transactions related to the merchant account.
17+
* <p>Transactions represent completed or attempted payment operations processed for a merchant
18+
* account. A transaction contains the core payment result, such as the amount, currency, payment
19+
* method, creation time, and current high-level status. In addition to the main payment outcome, a
20+
* transaction can contain related events that describe what happened after the original payment
21+
* attempt. These events provide visibility into the financial lifecycle of the transaction, for
22+
* example: - `PAYOUT`: the payment being prepared for payout or included in a payout to the
23+
* merchant - `REFUND`: money returned to the payer - `CHARGE_BACK`: money reversed after the
24+
* original payment - `PAYOUT_DEDUCTION`: an amount deducted from a payout to cover a refund or
25+
* chargeback From an integrator's perspective, transactions are the authoritative record of payment
26+
* outcomes. Use this tag to: - list transactions for reporting, reconciliation, and customer
27+
* support workflows - retrieve a single transaction when you need the latest payment details -
28+
* inspect `simple_status` for the current merchant-facing outcome of the payment - inspect `events`
29+
* or `transaction_events` when you need refund, payout, or chargeback history Typical workflow: -
30+
* create and process payments through the Checkouts endpoints - use the Transactions endpoints to
31+
* read the resulting payment records - use the returned statuses and events to update your own
32+
* order, accounting, or support systems
1933
*/
2034
public final class TransactionsAsyncClient {
2135
private final ApiClient apiClient;
@@ -33,8 +47,8 @@ public TransactionsAsyncClient(ApiClient apiClient) {
3347
* Retrieve a transaction
3448
*
3549
* <p>Retrieves the full details of an identified transaction. The transaction resource is
36-
* identified by a query parameter and *one* of following parameters is required: * `id` *
37-
* `internal_id` * `transaction_code` * `foreign_transaction_id` * `client_transaction_id`
50+
* identified by a query parameter and *one* of following parameters is required: - `id` -
51+
* `internal_id` - `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
3852
*
3953
* <p>Operation ID: GetTransaction
4054
*
@@ -53,8 +67,8 @@ public CompletableFuture<com.sumup.sdk.models.TransactionFull> getTransaction()
5367
* Retrieve a transaction
5468
*
5569
* <p>Retrieves the full details of an identified transaction. The transaction resource is
56-
* identified by a query parameter and *one* of following parameters is required: * `id` *
57-
* `internal_id` * `transaction_code` * `foreign_transaction_id` * `client_transaction_id`
70+
* identified by a query parameter and *one* of following parameters is required: - `id` -
71+
* `internal_id` - `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
5872
*
5973
* <p>Operation ID: GetTransaction
6074
*
@@ -73,8 +87,8 @@ public CompletableFuture<com.sumup.sdk.models.TransactionFull> getTransaction(
7387
* Retrieve a transaction
7488
*
7589
* <p>Retrieves the full details of an identified transaction. The transaction resource is
76-
* identified by a query parameter and *one* of following parameters is required: * `id` *
77-
* `internal_id` * `transaction_code` * `foreign_transaction_id` * `client_transaction_id`
90+
* identified by a query parameter and *one* of following parameters is required: - `id` -
91+
* `internal_id` - `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
7892
*
7993
* <p>Operation ID: GetTransaction
8094
*
@@ -106,8 +120,8 @@ public CompletableFuture<com.sumup.sdk.models.TransactionFull> getTransaction(
106120
* Retrieve a transaction
107121
*
108122
* <p>Retrieves the full details of an identified transaction. The transaction resource is
109-
* identified by a query parameter and *one* of following parameters is required: * `id` *
110-
* `internal_id` * `transaction_code` * `foreign_transaction_id` * `client_transaction_id`
123+
* identified by a query parameter and *one* of following parameters is required: - `id` -
124+
* `internal_id` - `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
111125
*
112126
* <p>Operation ID: GetTransactionV2.1
113127
*
@@ -126,8 +140,8 @@ public CompletableFuture<com.sumup.sdk.models.TransactionFull> getTransactionV21
126140
* Retrieve a transaction
127141
*
128142
* <p>Retrieves the full details of an identified transaction. The transaction resource is
129-
* identified by a query parameter and *one* of following parameters is required: * `id` *
130-
* `internal_id` * `transaction_code` * `foreign_transaction_id` * `client_transaction_id`
143+
* identified by a query parameter and *one* of following parameters is required: - `id` -
144+
* `internal_id` - `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
131145
*
132146
* <p>Operation ID: GetTransactionV2.1
133147
*
@@ -147,8 +161,8 @@ public CompletableFuture<com.sumup.sdk.models.TransactionFull> getTransactionV21
147161
* Retrieve a transaction
148162
*
149163
* <p>Retrieves the full details of an identified transaction. The transaction resource is
150-
* identified by a query parameter and *one* of following parameters is required: * `id` *
151-
* `internal_id` * `transaction_code` * `foreign_transaction_id` * `client_transaction_id`
164+
* identified by a query parameter and *one* of following parameters is required: - `id` -
165+
* `internal_id` - `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
152166
*
153167
* <p>Operation ID: GetTransactionV2.1
154168
*

src/main/java/com/sumup/sdk/clients/TransactionsClient.java

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,22 @@
1313
/**
1414
* Client for the "Transactions" API group.
1515
*
16-
* <p>Retrieve details for a specific transaction by it’s `id` or any other required query
17-
* parameter, or list all transactions related to the merchant account.
16+
* <p>Transactions represent completed or attempted payment operations processed for a merchant
17+
* account. A transaction contains the core payment result, such as the amount, currency, payment
18+
* method, creation time, and current high-level status. In addition to the main payment outcome, a
19+
* transaction can contain related events that describe what happened after the original payment
20+
* attempt. These events provide visibility into the financial lifecycle of the transaction, for
21+
* example: - `PAYOUT`: the payment being prepared for payout or included in a payout to the
22+
* merchant - `REFUND`: money returned to the payer - `CHARGE_BACK`: money reversed after the
23+
* original payment - `PAYOUT_DEDUCTION`: an amount deducted from a payout to cover a refund or
24+
* chargeback From an integrator's perspective, transactions are the authoritative record of payment
25+
* outcomes. Use this tag to: - list transactions for reporting, reconciliation, and customer
26+
* support workflows - retrieve a single transaction when you need the latest payment details -
27+
* inspect `simple_status` for the current merchant-facing outcome of the payment - inspect `events`
28+
* or `transaction_events` when you need refund, payout, or chargeback history Typical workflow: -
29+
* create and process payments through the Checkouts endpoints - use the Transactions endpoints to
30+
* read the resulting payment records - use the returned statuses and events to update your own
31+
* order, accounting, or support systems
1832
*/
1933
public final class TransactionsClient {
2034
private final ApiClient apiClient;
@@ -32,8 +46,8 @@ public TransactionsClient(ApiClient apiClient) {
3246
* Retrieve a transaction
3347
*
3448
* <p>Retrieves the full details of an identified transaction. The transaction resource is
35-
* identified by a query parameter and *one* of following parameters is required: * `id` *
36-
* `internal_id` * `transaction_code` * `foreign_transaction_id` * `client_transaction_id`
49+
* identified by a query parameter and *one* of following parameters is required: - `id` -
50+
* `internal_id` - `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
3751
*
3852
* <p>Operation ID: GetTransaction
3953
*
@@ -51,8 +65,8 @@ public com.sumup.sdk.models.TransactionFull getTransaction() throws ApiException
5165
* Retrieve a transaction
5266
*
5367
* <p>Retrieves the full details of an identified transaction. The transaction resource is
54-
* identified by a query parameter and *one* of following parameters is required: * `id` *
55-
* `internal_id` * `transaction_code` * `foreign_transaction_id` * `client_transaction_id`
68+
* identified by a query parameter and *one* of following parameters is required: - `id` -
69+
* `internal_id` - `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
5670
*
5771
* <p>Operation ID: GetTransaction
5872
*
@@ -71,8 +85,8 @@ public com.sumup.sdk.models.TransactionFull getTransaction(
7185
* Retrieve a transaction
7286
*
7387
* <p>Retrieves the full details of an identified transaction. The transaction resource is
74-
* identified by a query parameter and *one* of following parameters is required: * `id` *
75-
* `internal_id` * `transaction_code` * `foreign_transaction_id` * `client_transaction_id`
88+
* identified by a query parameter and *one* of following parameters is required: - `id` -
89+
* `internal_id` - `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
7690
*
7791
* <p>Operation ID: GetTransaction
7892
*
@@ -104,8 +118,8 @@ public com.sumup.sdk.models.TransactionFull getTransaction(
104118
* Retrieve a transaction
105119
*
106120
* <p>Retrieves the full details of an identified transaction. The transaction resource is
107-
* identified by a query parameter and *one* of following parameters is required: * `id` *
108-
* `internal_id` * `transaction_code` * `foreign_transaction_id` * `client_transaction_id`
121+
* identified by a query parameter and *one* of following parameters is required: - `id` -
122+
* `internal_id` - `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
109123
*
110124
* <p>Operation ID: GetTransactionV2.1
111125
*
@@ -124,8 +138,8 @@ public com.sumup.sdk.models.TransactionFull getTransactionV21(String merchantCod
124138
* Retrieve a transaction
125139
*
126140
* <p>Retrieves the full details of an identified transaction. The transaction resource is
127-
* identified by a query parameter and *one* of following parameters is required: * `id` *
128-
* `internal_id` * `transaction_code` * `foreign_transaction_id` * `client_transaction_id`
141+
* identified by a query parameter and *one* of following parameters is required: - `id` -
142+
* `internal_id` - `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
129143
*
130144
* <p>Operation ID: GetTransactionV2.1
131145
*
@@ -145,8 +159,8 @@ public com.sumup.sdk.models.TransactionFull getTransactionV21(
145159
* Retrieve a transaction
146160
*
147161
* <p>Retrieves the full details of an identified transaction. The transaction resource is
148-
* identified by a query parameter and *one* of following parameters is required: * `id` *
149-
* `internal_id` * `transaction_code` * `foreign_transaction_id` * `client_transaction_id`
162+
* identified by a query parameter and *one* of following parameters is required: - `id` -
163+
* `internal_id` - `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
150164
*
151165
* <p>Operation ID: GetTransactionV2.1
152166
*

0 commit comments

Comments
 (0)