From bb8fa5786022bc37224995e1f22a88cb41a6cb1c Mon Sep 17 00:00:00 2001 From: avinashp-plivo Date: Tue, 17 Mar 2026 13:09:51 +0530 Subject: [PATCH 1/2] feat: add ein, einIssuingCountry, altBusinessId, altBusinessIdType to profile update --- .../api/models/profile/ProfileUpdater.java | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/src/main/java/com/plivo/api/models/profile/ProfileUpdater.java b/src/main/java/com/plivo/api/models/profile/ProfileUpdater.java index ad79989c..94e1b40d 100644 --- a/src/main/java/com/plivo/api/models/profile/ProfileUpdater.java +++ b/src/main/java/com/plivo/api/models/profile/ProfileUpdater.java @@ -13,6 +13,10 @@ public class ProfileUpdater extends MessagingProfileUpdater { private String vertical; private ProfileAuthorizedContact authorizedContact; private String businessContactEmail; + private String ein; + private String einIssuingCountry; + private String altBusinessId; + private String altBusinessIdType; public ProfileUpdater(String id) { super(id); @@ -76,6 +80,42 @@ public String getBusinessContactEmail(){ return businessContactEmail; } + public ProfileUpdater ein (String ein) { + this.ein = ein; + return this; + } + + public String getEin(){ + return ein; + } + + public ProfileUpdater einIssuingCountry (String einIssuingCountry) { + this.einIssuingCountry = einIssuingCountry; + return this; + } + + public String getEinIssuingCountry(){ + return einIssuingCountry; + } + + public ProfileUpdater altBusinessId (String altBusinessId) { + this.altBusinessId = altBusinessId; + return this; + } + + public String getAltBusinessId(){ + return altBusinessId; + } + + public ProfileUpdater altBusinessIdType (String altBusinessIdType) { + this.altBusinessIdType = altBusinessIdType; + return this; + } + + public String getAltBusinessIdType(){ + return altBusinessIdType; + } + @Override protected Call obtainCall() { return client().getApiService().profileUpdate(client().getAuthId(), id, this); From 122b87df92be3d00344a6e59804f3c709ff032f3 Mon Sep 17 00:00:00 2001 From: avinashp-plivo Date: Tue, 17 Mar 2026 13:10:38 +0530 Subject: [PATCH 2/2] chore: bump version to 5.46.7 and update changelog --- CHANGELOG.md | 4 ++++ src/main/resources/com/plivo/api/version.txt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 69b679c7..76404fe3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## [5.46.7](https://github.com/plivo/plivo-java/tree/v5.46.7) (2026-03-17) +**Feature - Profile Update API additional fields support** +- Added `ein`, `einIssuingCountry`, `altBusinessId`, `altBusinessIdType` parameters to Profile `update` method + ## [5.46.6](https://github.com/plivo/plivo-java/tree/v5.46.6) (2026-02-18) **Feature - Campaign API optional fields support** - Added `sample3`, `sample4`, `sample5` optional sample message fields to Campaign `creator` and `updater` methods diff --git a/src/main/resources/com/plivo/api/version.txt b/src/main/resources/com/plivo/api/version.txt index 3892f927..c31fb1e4 100644 --- a/src/main/resources/com/plivo/api/version.txt +++ b/src/main/resources/com/plivo/api/version.txt @@ -1 +1 @@ -5.46.6 +5.46.7