Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
40 changes: 40 additions & 0 deletions src/main/java/com/plivo/api/models/profile/ProfileUpdater.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ public class ProfileUpdater extends MessagingProfileUpdater<Profile> {
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);
Expand Down Expand Up @@ -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<Profile> obtainCall() {
return client().getApiService().profileUpdate(client().getAuthId(), id, this);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/com/plivo/api/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.46.6
5.46.7
Loading