Skip to content

Commit

Permalink
Version Bump 2.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SoloJr committed May 12, 2022
1 parent 9232105 commit 226468e
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
## [2.22.0] - 2022.05.12
### Added

#### Terms and conditions acceptance parameter

The acceptance of the MANGOPAY terms and conditions by the end user can now be registered via the SDK.

This information can be managed by using the new `TermsAndConditionsAccepted` parameter added to the `User` object.

The following API endpoints have been updated to take into account the new TermsAndConditionsAccepted parameter:

[Create a Natural User](https://docs.mangopay.com/endpoints/v2.01/users#e255_create-a-natural-user)
[Update a Natural User](https://docs.mangopay.com/endpoints/v2.01/users#e260_update-a-natural-user)
[Create a Legal User](https://docs.mangopay.com/endpoints/v2.01/users#e259_create-a-legal-user)
[Update a Legal User](https://docs.mangopay.com/endpoints/v2.01/users#e261_update-a-legal-user)
[View a User](https://docs.mangopay.com/endpoints/v2.01/users#e256_view-a-user)

Please note that:

- Existing users have to be updated to include the terms and conditions acceptance information.
- Once accepted, the terms and conditions cannot be revoked.

## [2.21.0] - 2022.03.31
### Added

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ task javadocJar(type: Jar) {
}

group = 'com.mangopay'
version = '2.21.0'
version = '2.22.0'
sourceCompatibility = '1.7'

publishing {
Expand All @@ -49,7 +49,7 @@ publishing {
pom {
groupId 'com.mangopay'
artifactId 'mangopay2-java-sdk'
version '2.21.0'
version '2.22.0'

from(components.java)

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/com/mangopay/core/mangopay.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Wed May 11 14:36:24 EEST 2022
version=2.21.0
#Thu May 12 12:20:38 EEST 2022
version=2.22.0

0 comments on commit 226468e

Please sign in to comment.