Skip to content
Open
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
76 changes: 18 additions & 58 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "012345",
"internal_id": 0
"auth_code": "012345"
}
]
}
Expand Down Expand Up @@ -278,8 +277,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "012345",
"internal_id": 0
"auth_code": "012345"
}
]
}
Expand Down Expand Up @@ -314,8 +312,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "012345",
"internal_id": 0
"auth_code": "012345"
}
]
}
Expand Down Expand Up @@ -748,8 +745,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "053201",
"internal_id": 1763892018
"auth_code": "053201"
}
],
"transaction_code": "TEENSK4W2K",
Expand Down Expand Up @@ -789,8 +785,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "053201",
"internal_id": 1763892018
"auth_code": "053201"
}
]
}
Expand Down Expand Up @@ -826,8 +821,7 @@
"status": "PENDING",
"payment_type": "BOLETO",
"entry_mode": "BOLETO",
"installments_count": 1,
"internal_id": 1763892018
"installments_count": 1
}
]
}
Expand Down Expand Up @@ -1984,7 +1978,7 @@
"get": {
"operationId": "GetTransactionV2.1",
"summary": "Retrieve a transaction",
"description": "Retrieves the full details of an identified transaction. The transaction resource is identified by a query parameter and *one* of following parameters is required:\n- `id`\n- `internal_id`\n- `transaction_code`\n- `foreign_transaction_id`\n- `client_transaction_id`",
"description": "Retrieves the full details of an identified transaction. The transaction resource is identified by a query parameter and *one* of following parameters is required:\n- `id`\n- `transaction_code`\n- `foreign_transaction_id`\n- `client_transaction_id`",
"parameters": [
{
"name": "merchant_code",
Expand All @@ -2005,15 +1999,6 @@
"type": "string"
}
},
{
"name": "internal_id",
"in": "query",
"description": "Retrieves the transaction resource with the specified internal transaction ID (the `internal_id` parameter in the transaction resource).",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "transaction_code",
"in": "query",
Expand Down Expand Up @@ -2061,8 +2046,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "053201",
"internal_id": 1763892018
"auth_code": "053201"
}
}
}
Expand Down Expand Up @@ -2134,7 +2118,7 @@
"get": {
"operationId": "GetTransaction",
"summary": "Retrieve a transaction",
"description": "Retrieves the full details of an identified transaction. The transaction resource is identified by a query parameter and *one* of following parameters is required:\n- `id`\n- `internal_id`\n- `transaction_code`\n- `foreign_transaction_id`\n- `client_transaction_id`",
"description": "Retrieves the full details of an identified transaction. The transaction resource is identified by a query parameter and *one* of following parameters is required:\n- `id`\n- `transaction_code`\n- `foreign_transaction_id`\n- `client_transaction_id`",
"parameters": [
{
"name": "id",
Expand All @@ -2145,15 +2129,6 @@
"type": "string"
}
},
{
"name": "internal_id",
"in": "query",
"description": "Retrieves the transaction resource with the specified internal transaction ID (the `internal_id` parameter in the transaction resource).",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "transaction_code",
"in": "query",
Expand Down Expand Up @@ -2185,8 +2160,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "053201",
"internal_id": 1763892018
"auth_code": "053201"
}
}
}
Expand Down Expand Up @@ -6736,8 +6710,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "012345",
"internal_id": 0
"auth_code": "012345"
}
],
"uniqueItems": true
Expand Down Expand Up @@ -8033,12 +8006,6 @@
"description": "Authorization code for the transaction sent by the payment card issuer or bank. Applicable only to card payments.",
"type": "string",
"example": "053201"
},
"internal_id": {
"description": "Internal unique ID of the transaction on the SumUp platform.",
"type": "integer",
"format": "int64",
"example": 1763892018
}
},
"title": "Transaction Checkout Info"
Expand Down Expand Up @@ -10670,8 +10637,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "012345",
"internal_id": 0
"auth_code": "012345"
}
]
}
Expand Down Expand Up @@ -10704,8 +10670,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "012345",
"internal_id": 0
"auth_code": "012345"
}
]
}
Expand Down Expand Up @@ -10740,8 +10705,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "012345",
"internal_id": 0
"auth_code": "012345"
}
]
}
Expand Down Expand Up @@ -10838,8 +10802,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "053201",
"internal_id": 1763892018
"auth_code": "053201"
}
],
"transaction_code": "TEENSK4W2K",
Expand Down Expand Up @@ -10879,8 +10842,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "053201",
"internal_id": 1763892018
"auth_code": "053201"
}
]
}
Expand Down Expand Up @@ -10916,8 +10878,7 @@
"status": "PENDING",
"payment_type": "BOLETO",
"entry_mode": "BOLETO",
"installments_count": 1,
"internal_id": 1763892018
"installments_count": 1
}
]
}
Expand Down Expand Up @@ -11015,8 +10976,7 @@
"vat_amount": 6,
"tip_amount": 3,
"entry_mode": "CUSTOMER_ENTRY",
"auth_code": "053201",
"internal_id": 1763892018
"auth_code": "053201"
}
}
}
Expand Down
36 changes: 6 additions & 30 deletions src/main/java/com/sumup/sdk/clients/TransactionsAsyncClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public TransactionsAsyncClient(ApiClient apiClient) {
*
* <p>Retrieves the full details of an identified transaction. The transaction resource is
* identified by a query parameter and *one* of following parameters is required: - `id` -
* `internal_id` - `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
* `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
*
* <p>Operation ID: GetTransaction
*
Expand All @@ -68,7 +68,7 @@ public CompletableFuture<com.sumup.sdk.models.TransactionFull> getTransaction()
*
* <p>Retrieves the full details of an identified transaction. The transaction resource is
* identified by a query parameter and *one* of following parameters is required: - `id` -
* `internal_id` - `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
* `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
*
* <p>Operation ID: GetTransaction
*
Expand All @@ -88,7 +88,7 @@ public CompletableFuture<com.sumup.sdk.models.TransactionFull> getTransaction(
*
* <p>Retrieves the full details of an identified transaction. The transaction resource is
* identified by a query parameter and *one* of following parameters is required: - `id` -
* `internal_id` - `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
* `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
*
* <p>Operation ID: GetTransaction
*
Expand Down Expand Up @@ -121,7 +121,7 @@ public CompletableFuture<com.sumup.sdk.models.TransactionFull> getTransaction(
*
* <p>Retrieves the full details of an identified transaction. The transaction resource is
* identified by a query parameter and *one* of following parameters is required: - `id` -
* `internal_id` - `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
* `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
*
* <p>Operation ID: GetTransactionV2.1
*
Expand All @@ -141,7 +141,7 @@ public CompletableFuture<com.sumup.sdk.models.TransactionFull> getTransactionV21
*
* <p>Retrieves the full details of an identified transaction. The transaction resource is
* identified by a query parameter and *one* of following parameters is required: - `id` -
* `internal_id` - `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
* `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
*
* <p>Operation ID: GetTransactionV2.1
*
Expand All @@ -162,7 +162,7 @@ public CompletableFuture<com.sumup.sdk.models.TransactionFull> getTransactionV21
*
* <p>Retrieves the full details of an identified transaction. The transaction resource is
* identified by a query parameter and *one* of following parameters is required: - `id` -
* `internal_id` - `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
* `transaction_code` - `foreign_transaction_id` - `client_transaction_id`
*
* <p>Operation ID: GetTransactionV2.1
*
Expand Down Expand Up @@ -406,18 +406,6 @@ public GetTransactionQueryParams id(String value) {
return this;
}

/**
* Sets the internal_id query parameter.
*
* @param value Retrieves the transaction resource with the specified internal transaction ID
* (the `internal_id` parameter in the transaction resource).
* @return This GetTransactionQueryParams instance.
*/
public GetTransactionQueryParams internalId(String value) {
this.values.put("internal_id", Objects.requireNonNull(value, "internalId"));
return this;
}

/**
* Sets the transaction_code query parameter.
*
Expand Down Expand Up @@ -479,18 +467,6 @@ public GetTransactionV21QueryParams id(String value) {
return this;
}

/**
* Sets the internal_id query parameter.
*
* @param value Retrieves the transaction resource with the specified internal transaction ID
* (the `internal_id` parameter in the transaction resource).
* @return This GetTransactionV21QueryParams instance.
*/
public GetTransactionV21QueryParams internalId(String value) {
this.values.put("internal_id", Objects.requireNonNull(value, "internalId"));
return this;
}

/**
* Sets the transaction_code query parameter.
*
Expand Down
Loading
Loading