Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
614 changes: 389 additions & 225 deletions openapi.json

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions src/main/java/com/sumup/sdk/clients/CheckoutsAsyncClient.java
Original file line numberDiff line numberDiff line change
Expand Up@@ -108,7 +108,7 @@ public CompletableFuture<com.sumup.sdk.models.Checkout> create(
*
* <p>Operation ID: CreateApplePaySession
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* @param request The data needed to create an apple pay session for a checkout.
* <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
* request timeout.
Expand All@@ -132,7 +132,7 @@ public CompletableFuture<java.util.Map<String, Object>> createApplePaySession(
*
* <p>Operation ID: CreateApplePaySession
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* @param request The data needed to create an apple pay session for a checkout.
* @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
* {@code null} to use client defaults.
Expand DownExpand Up@@ -166,7 +166,7 @@ public CompletableFuture<java.util.Map<String, Object>> createApplePaySession(
*
* <p>Operation ID: DeactivateCheckout
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
* request timeout.
* @return CompletableFuture resolved with com.sumup.sdk.models.Checkout parsed response.
Expand All@@ -185,7 +185,7 @@ public CompletableFuture<com.sumup.sdk.models.Checkout> deactivate(String checko
*
* <p>Operation ID: DeactivateCheckout
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
* {@code null} to use client defaults.
* @return CompletableFuture resolved with com.sumup.sdk.models.Checkout parsed response.
Expand DownExpand Up@@ -215,7 +215,7 @@ public CompletableFuture<com.sumup.sdk.models.Checkout> deactivate(
*
* <p>Operation ID: GetCheckout
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
* request timeout.
* @return CompletableFuture resolved with com.sumup.sdk.models.CheckoutSuccess parsed response.
Expand All@@ -234,7 +234,7 @@ public CompletableFuture<com.sumup.sdk.models.CheckoutSuccess> get(String checko
*
* <p>Operation ID: GetCheckout
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
* {@code null} to use client defaults.
* @return CompletableFuture resolved with com.sumup.sdk.models.CheckoutSuccess parsed response.
Expand DownExpand Up@@ -333,7 +333,7 @@ public CompletableFuture<java.util.List<com.sumup.sdk.models.CheckoutSuccess>> l
*
* <p>Operation ID: GetPaymentMethods
*
* @param merchantCode The SumUp merchant code.
* @param merchantCode Short unique identifier for the merchant.
* <p>Call the overload that accepts optional parameter objects or RequestOptions to customize
* headers, authorization, query values, or timeouts.
* @return CompletableFuture resolved with com.sumup.sdk.models.GetPaymentMethodsResponse parsed
Expand All@@ -352,7 +352,7 @@ public CompletableFuture<java.util.List<com.sumup.sdk.models.CheckoutSuccess>> l
*
* <p>Operation ID: GetPaymentMethods
*
* @param merchantCode The SumUp merchant code.
* @param merchantCode Short unique identifier for the merchant.
* @param getPaymentMethods Optional query parameters for this request.
* <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
* request timeout.
Expand All@@ -373,7 +373,7 @@ public CompletableFuture<java.util.List<com.sumup.sdk.models.CheckoutSuccess>> l
*
* <p>Operation ID: GetPaymentMethods
*
* @param merchantCode The SumUp merchant code.
* @param merchantCode Short unique identifier for the merchant.
* @param getPaymentMethods Optional query parameters for this request.
* @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
* {@code null} to use client defaults.
Expand DownExpand Up@@ -416,7 +416,7 @@ public CompletableFuture<java.util.List<com.sumup.sdk.models.CheckoutSuccess>> l
*
* <p>Operation ID: ProcessCheckout
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* @param request Details of the payment instrument for processing the checkout.
* <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
* request timeout.
Expand All@@ -437,7 +437,7 @@ public CompletableFuture<com.sumup.sdk.models.CheckoutSuccess> process(
*
* <p>Operation ID: ProcessCheckout
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* @param request Details of the payment instrument for processing the checkout.
* @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
* {@code null} to use client defaults.
Expand DownExpand Up@@ -471,7 +471,7 @@ public CompletableFuture<com.sumup.sdk.models.CheckoutSuccess> process(
*
* <p>Operation ID: UpdateCheckout
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* @param request Details for updating a checkout resource.
* <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
* request timeout.
Expand All@@ -490,7 +490,7 @@ public CompletableFuture<com.sumup.sdk.models.Checkout> update(
*
* <p>Operation ID: UpdateCheckout
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* @param request Details for updating a checkout resource.
* @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
* {@code null} to use client defaults.
Expand DownExpand Up@@ -524,7 +524,7 @@ public static final class ListCheckoutsQueryParams {
/**
* Sets the checkout_reference query parameter.
*
* @param value Filters the list of checkout resources by the unique ID of the checkout.
* @param value Filters the list of checkout resources by the unique reference of the checkout.
* @return This ListCheckoutsQueryParams instance.
*/
public ListCheckoutsQueryParams checkoutReference(String value) {
Expand Down
28 changes: 14 additions & 14 deletions src/main/java/com/sumup/sdk/clients/CheckoutsClient.java
Original file line numberDiff line numberDiff line change
Expand Up@@ -107,7 +107,7 @@ public com.sumup.sdk.models.Checkout create(
*
* <p>Operation ID: CreateApplePaySession
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* @param request The data needed to create an apple pay session for a checkout.
* <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
* request timeout.
Expand All@@ -131,7 +131,7 @@ public java.util.Map<String, Object> createApplePaySession(
*
* <p>Operation ID: CreateApplePaySession
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* @param request The data needed to create an apple pay session for a checkout.
* @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
* {@code null} to use client defaults.
Expand DownExpand Up@@ -165,7 +165,7 @@ public java.util.Map<String, Object> createApplePaySession(
*
* <p>Operation ID: DeactivateCheckout
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
* request timeout.
* @return com.sumup.sdk.models.Checkout parsed response.
Expand All@@ -183,7 +183,7 @@ public com.sumup.sdk.models.Checkout deactivate(String checkoutId) throws ApiExc
*
* <p>Operation ID: DeactivateCheckout
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
* {@code null} to use client defaults.
* @return com.sumup.sdk.models.Checkout parsed response.
Expand DownExpand Up@@ -213,7 +213,7 @@ public com.sumup.sdk.models.Checkout deactivate(String checkoutId, RequestOption
*
* <p>Operation ID: GetCheckout
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
* request timeout.
* @return com.sumup.sdk.models.CheckoutSuccess parsed response.
Expand All@@ -231,7 +231,7 @@ public com.sumup.sdk.models.CheckoutSuccess get(String checkoutId) throws ApiExc
*
* <p>Operation ID: GetCheckout
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
* {@code null} to use client defaults.
* @return com.sumup.sdk.models.CheckoutSuccess parsed response.
Expand DownExpand Up@@ -326,7 +326,7 @@ public java.util.List<com.sumup.sdk.models.CheckoutSuccess> list(
*
* <p>Operation ID: GetPaymentMethods
*
* @param merchantCode The SumUp merchant code.
* @param merchantCode Short unique identifier for the merchant.
* <p>Call the overload that accepts optional parameter objects or RequestOptions to customize
* headers, authorization, query values, or timeouts.
* @return com.sumup.sdk.models.GetPaymentMethodsResponse parsed response.
Expand All@@ -344,7 +344,7 @@ public com.sumup.sdk.models.GetPaymentMethodsResponse listAvailablePaymentMethod
*
* <p>Operation ID: GetPaymentMethods
*
* @param merchantCode The SumUp merchant code.
* @param merchantCode Short unique identifier for the merchant.
* @param getPaymentMethods Optional query parameters for this request.
* <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
* request timeout.
Expand All@@ -363,7 +363,7 @@ public com.sumup.sdk.models.GetPaymentMethodsResponse listAvailablePaymentMethod
*
* <p>Operation ID: GetPaymentMethods
*
* @param merchantCode The SumUp merchant code.
* @param merchantCode Short unique identifier for the merchant.
* @param getPaymentMethods Optional query parameters for this request.
* @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
* {@code null} to use client defaults.
Expand DownExpand Up@@ -404,7 +404,7 @@ public com.sumup.sdk.models.GetPaymentMethodsResponse listAvailablePaymentMethod
*
* <p>Operation ID: ProcessCheckout
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* @param request Details of the payment instrument for processing the checkout.
* <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
* request timeout.
Expand All@@ -425,7 +425,7 @@ public com.sumup.sdk.models.CheckoutSuccess process(
*
* <p>Operation ID: ProcessCheckout
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* @param request Details of the payment instrument for processing the checkout.
* @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
* {@code null} to use client defaults.
Expand DownExpand Up@@ -459,7 +459,7 @@ public com.sumup.sdk.models.CheckoutSuccess process(
*
* <p>Operation ID: UpdateCheckout
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* @param request Details for updating a checkout resource.
* <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
* request timeout.
Expand All@@ -478,7 +478,7 @@ public com.sumup.sdk.models.Checkout update(
*
* <p>Operation ID: UpdateCheckout
*
* @param checkoutId Unique ID of the checkout resource.
* @param checkoutId Unique identifier of the checkout resource.
* @param request Details for updating a checkout resource.
* @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
* {@code null} to use client defaults.
Expand DownExpand Up@@ -512,7 +512,7 @@ public static final class ListCheckoutsQueryParams {
/**
* Sets the checkout_reference query parameter.
*
* @param value Filters the list of checkout resources by the unique ID of the checkout.
* @param value Filters the list of checkout resources by the unique reference of the checkout.
* @return This ListCheckoutsQueryParams instance.
*/
public ListCheckoutsQueryParams checkoutReference(String value) {
Expand Down
16 changes: 8 additions & 8 deletions src/main/java/com/sumup/sdk/clients/CustomersAsyncClient.java
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,7 +14,7 @@
*
* <p>Allow your regular customers to save their information with the Customers model. This will
* prevent re-entering payment instrument information for recurring payments on your platform.
* Depending on the needs you can allow, creating, listing or deactivating payment instruments &

Check warning on line 17 in src/main/java/com/sumup/sdk/clients/CustomersAsyncClient.java

View workflow job for this annotation

GitHub Actions/ generate

invalid input: '&'

Check warning on line 17 in src/main/java/com/sumup/sdk/clients/CustomersAsyncClient.java

View workflow job for this annotation

GitHub Actions/ java (25)

invalid input: '&'

Check warning on line 17 in src/main/java/com/sumup/sdk/clients/CustomersAsyncClient.java

View workflow job for this annotation

GitHub Actions/ java (21)

invalid input: '&'

Check warning on line 17 in src/main/java/com/sumup/sdk/clients/CustomersAsyncClient.java

View workflow job for this annotation

GitHub Actions/ java (17)

invalid input: '&'
* creating, retrieving and updating customers.
*/
public final class CustomersAsyncClient {
Expand DownExpand Up@@ -84,7 +84,7 @@
*
* <p>Operation ID: DeactivatePaymentInstrument
*
* @param customerId Unique ID of the saved customer resource.
* @param customerId Unique identifier of the saved customer resource.
* @param token Unique token identifying the card saved as a payment instrument resource.
* <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
* request timeout.
Expand All@@ -103,7 +103,7 @@
*
* <p>Operation ID: DeactivatePaymentInstrument
*
* @param customerId Unique ID of the saved customer resource.
* @param customerId Unique identifier of the saved customer resource.
* @param token Unique token identifying the card saved as a payment instrument resource.
* @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
* {@code null} to use client defaults.
Expand All@@ -130,7 +130,7 @@
*
* <p>Operation ID: GetCustomer
*
* @param customerId Unique ID of the saved customer resource.
* @param customerId Unique identifier of the saved customer resource.
* <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
* request timeout.
* @return CompletableFuture resolved with com.sumup.sdk.models.Customer parsed response.
Expand All@@ -149,7 +149,7 @@
*
* <p>Operation ID: GetCustomer
*
* @param customerId Unique ID of the saved customer resource.
* @param customerId Unique identifier of the saved customer resource.
* @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
* {@code null} to use client defaults.
* @return CompletableFuture resolved with com.sumup.sdk.models.Customer parsed response.
Expand DownExpand Up@@ -178,7 +178,7 @@
*
* <p>Operation ID: ListPaymentInstruments
*
* @param customerId Unique ID of the saved customer resource.
* @param customerId Unique identifier of the saved customer resource.
* <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
* request timeout.
* @return CompletableFuture resolved with {@code
Expand All@@ -197,7 +197,7 @@
*
* <p>Operation ID: ListPaymentInstruments
*
* @param customerId Unique ID of the saved customer resource.
* @param customerId Unique identifier of the saved customer resource.
* @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
* {@code null} to use client defaults.
* @return CompletableFuture resolved with {@code
Expand DownExpand Up@@ -229,7 +229,7 @@
*
* <p>Operation ID: UpdateCustomer
*
* @param customerId Unique ID of the saved customer resource.
* @param customerId Unique identifier of the saved customer resource.
* @param request Customer fields to update.
* <p>Call the overload that accepts RequestOptions to customize headers, authorization, or
* request timeout.
Expand All@@ -250,7 +250,7 @@
*
* <p>Operation ID: UpdateCustomer
*
* @param customerId Unique ID of the saved customer resource.
* @param customerId Unique identifier of the saved customer resource.
* @param request Customer fields to update.
* @param requestOptions Request-specific overrides (headers, authorization, or timeout). Pass
* {@code null} to use client defaults.
Expand Down
Loading
Loading