From 226468eb24ae279d19dd53f216d7b72bcb6c304d Mon Sep 17 00:00:00 2001 From: SoloJr Date: Thu, 12 May 2022 12:21:31 +0300 Subject: [PATCH] Version Bump 2.22.0 --- CHANGELOG.md | 22 +++++++++++++++++++ build.gradle | 4 ++-- .../com/mangopay/core/mangopay.properties | 4 ++-- 3 files changed, 26 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d6389da..f314dae6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/build.gradle b/build.gradle index 73beb97b..9aecb42a 100644 --- a/build.gradle +++ b/build.gradle @@ -40,7 +40,7 @@ task javadocJar(type: Jar) { } group = 'com.mangopay' -version = '2.21.0' +version = '2.22.0' sourceCompatibility = '1.7' publishing { @@ -49,7 +49,7 @@ publishing { pom { groupId 'com.mangopay' artifactId 'mangopay2-java-sdk' - version '2.21.0' + version '2.22.0' from(components.java) diff --git a/src/main/resources/com/mangopay/core/mangopay.properties b/src/main/resources/com/mangopay/core/mangopay.properties index 4df7d809..bef62d68 100644 --- a/src/main/resources/com/mangopay/core/mangopay.properties +++ b/src/main/resources/com/mangopay/core/mangopay.properties @@ -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