Skip to content

Commit d3a57ec

Browse files
authored
Fix: Add Payment Cancelled Transaction (#51)
1 parent 6067cb6 commit d3a57ec

File tree

821 files changed

+1380
-824
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

821 files changed

+1380
-824
lines changed

api/openapi.yaml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.2
22
info:
33
description: An OpenAPI specifications for unit-sdk clients
44
title: Unit OpenAPI specifications
5-
version: 0.2.2
5+
version: 0.2.3
66
servers:
77
- url: https://api.s.unit.sh
88
security:
@@ -6854,6 +6854,7 @@ components:
68546854
cardReversalTransaction: '#/components/schemas/CardReversalTransaction'
68556855
feeReversalTransaction: '#/components/schemas/FeeReversalTransaction'
68566856
pushToCardReversalTransaction: '#/components/schemas/PushToCardReversalTransaction'
6857+
paymentCanceledTransaction: '#/components/schemas/PaymentCanceledTransaction'
68576858
propertyName: type
68586859
properties:
68596860
id:
@@ -6895,6 +6896,7 @@ components:
68956896
- cardReversalTransaction
68966897
- feeReversalTransaction
68976898
- pushToCardReversalTransaction
6899+
- paymentCanceledTransaction
68986900
type: string
68996901
title: Transaction Resource
69006902
type: object
@@ -7774,6 +7776,31 @@ components:
77747776
type: object
77757777
title: Card Reversal Transaction
77767778
type: object
7779+
PaymentCanceledTransactionRelationships:
7780+
allOf:
7781+
- required:
7782+
- account
7783+
- org
7784+
- relatedTransaction
7785+
type: object
7786+
- $ref: '#/components/schemas/DefaultTransactionRelationships'
7787+
- $ref: '#/components/schemas/OrgRelationship'
7788+
- $ref: '#/components/schemas/RelatedTransactionRelationship'
7789+
PaymentCanceledTransaction:
7790+
allOf:
7791+
- $ref: '#/components/schemas/Transaction'
7792+
- additionalProperties: false
7793+
properties:
7794+
attributes:
7795+
$ref: '#/components/schemas/ReturnedCheckDepositTransaction_allOf_attributes'
7796+
relationships:
7797+
$ref: '#/components/schemas/PaymentCanceledTransactionRelationships'
7798+
required:
7799+
- attributes
7800+
- relationships
7801+
type: object
7802+
title: Payment Canceled Transaction
7803+
type: object
77777804
ReturnedRelationship:
77787805
properties:
77797806
returned:
@@ -14740,6 +14767,8 @@ components:
1474014767
properties:
1474114768
data:
1474214769
$ref: '#/components/schemas/Receive_Payment_Transaction_Relationship_data'
14770+
required:
14771+
- data
1474314772
title: Related Transaction Relationship
1474414773
type: object
1474514774
FeeTransaction_allOf_attributes:

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ apply plugin: 'java'
1919
apply plugin: 'com.diffplug.spotless'
2020

2121
group = 'co.unit'
22-
version = '0.2.3'
22+
version = '0.2.4'
2323

2424
repositories {
2525
mavenCentral()

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>openapi-java-client</artifactId>
66
<packaging>jar</packaging>
77
<name>openapi-java-client</name>
8-
<version>0.2.3</version>
8+
<version>0.2.4</version>
99
<url>https://github.com/openapitools/openapi-generator</url>
1010
<description>OpenAPI Java</description>
1111
<scm>

src/main/java/unit/java/sdk/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Unit OpenAPI specifications
33
* An OpenAPI specifications for unit-sdk clients
44
*
5-
* The version of the OpenAPI document: 0.2.2
5+
* The version of the OpenAPI document: 0.2.3
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/unit/java/sdk/ApiException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Unit OpenAPI specifications
33
* An OpenAPI specifications for unit-sdk clients
44
*
5-
* The version of the OpenAPI document: 0.2.2
5+
* The version of the OpenAPI document: 0.2.3
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/unit/java/sdk/ApiResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Unit OpenAPI specifications
33
* An OpenAPI specifications for unit-sdk clients
44
*
5-
* The version of the OpenAPI document: 0.2.2
5+
* The version of the OpenAPI document: 0.2.3
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/unit/java/sdk/Configuration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Unit OpenAPI specifications
33
* An OpenAPI specifications for unit-sdk clients
44
*
5-
* The version of the OpenAPI document: 0.2.2
5+
* The version of the OpenAPI document: 0.2.3
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15,7 +15,7 @@
1515

1616
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0")
1717
public class Configuration {
18-
public static final String VERSION = "0.2.2";
18+
public static final String VERSION = "0.2.3";
1919

2020
private static ApiClient defaultApiClient = new ApiClient();
2121

src/main/java/unit/java/sdk/JSON.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Unit OpenAPI specifications
33
* An OpenAPI specifications for unit-sdk clients
44
*
5-
* The version of the OpenAPI document: 0.2.2
5+
* The version of the OpenAPI document: 0.2.3
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/unit/java/sdk/Pair.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Unit OpenAPI specifications
33
* An OpenAPI specifications for unit-sdk clients
44
*
5-
* The version of the OpenAPI document: 0.2.2
5+
* The version of the OpenAPI document: 0.2.3
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/unit/java/sdk/RFC3339DateFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Unit OpenAPI specifications
33
* An OpenAPI specifications for unit-sdk clients
44
*
5-
* The version of the OpenAPI document: 0.2.2
5+
* The version of the OpenAPI document: 0.2.3
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)