diff --git a/CHANGELOG.md b/CHANGELOG.md index 65bb45d..beb6138 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,18 @@ + +# [](https://github.com/moip/moip-sdk-java/compare/v3.1.0...v3.2.0) (2017-09-28) + +### Features + +* **BankAccount:** Added accountCheckNumber property to BankAccount([8ab448b](https://github.com/moip/moip-sdk-java/commit/8ab448b)) + + -# [](https://github.com/caiogaspar/moip-sdk-java/compare/v3.0.0...v3.1.0) (2017-09-18) +# [](https://github.com/moip/moip-sdk-java/compare/v3.0.0...v3.1.0) (2017-09-18) ### Bug Fixes -* **ConnectAPI:** Fix a bug in method to generate authorize URL ([851aa2a](https://github.com/caiogaspar/moip-sdk-java/commit/851aa2a)) +* **ConnectAPI:** Fix a bug in method to generate authorize URL ([851aa2a](https://github.com/moip/moip-sdk-java/commit/851aa2a)) ### Features diff --git a/README.md b/README.md index 5477f6c..0e9963e 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ Adicionar no seu pom.xml: br.com.moip java-sdk - 3.1.0 + 3.2.0 ``` diff --git a/build.gradle b/build.gradle index e3f01e1..9ac0dd9 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'signing' group = 'br.com.moip' archivesBaseName = "java-sdk" -version = '3.1.0' +version = '3.2.0' description = "Moip v2 SDK" diff --git a/src/main/java/br/com/moip/resource/BankAccount.java b/src/main/java/br/com/moip/resource/BankAccount.java index 712dc94..f1aeba4 100644 --- a/src/main/java/br/com/moip/resource/BankAccount.java +++ b/src/main/java/br/com/moip/resource/BankAccount.java @@ -10,6 +10,7 @@ public class BankAccount { private String bankName; private String bankNumber; private String accountNumber; + private String accountCheckNumber; private Holder holder; private Type type; private String status; @@ -40,6 +41,10 @@ public String getAccountNumber() { return accountNumber; } + public String getAccountCheckNumber() { + return accountCheckNumber; + } + public Holder getHolder() { return holder; } @@ -74,18 +79,19 @@ private enum Type { @Override public String toString() { - return "BankAccount{" + - "id='" + id + '\'' + - ", agencyNumber='" + agencyNumber + '\'' + - ", agencyCheckNumber='" + agencyCheckNumber + '\'' + - ", bankName='" + bankName + '\'' + - ", bankNumber='" + bankNumber + '\'' + - ", accountNumber='" + accountNumber + '\'' + - ", holder=" + holder + - ", type=" + type + - ", status='" + status + '\'' + - ", createdAt=" + createdAt + - ", _links=" + links + - '}'; - } -} + return new StringBuilder("BankAccount{") + .append("id='").append(id).append('\'') + .append(", agencyNumber='").append(agencyNumber).append('\'') + .append(", agencyCheckNumber='").append(agencyCheckNumber).append('\'') + .append(", bankName='").append(bankName).append('\'') + .append(", bankNumber='").append(bankNumber).append('\'') + .append(", accountNumber='").append(accountNumber).append('\'') + .append(", accountCheckNumber='").append(accountCheckNumber).append('\'') + .append(", holder=").append(holder) + .append(", type=").append(type) + .append(", status='").append(status).append('\'') + .append(", createdAt=").append(createdAt) + .append(", _links=").append(links) + .append('}').toString(); + } +} \ No newline at end of file