Skip to content

Commit 6aebc21

Browse files
Merge pull request #310 from plivo/feature/profile-update-ein-fields
Feature/profile update ein fields
2 parents f6861bf + 48dcbbe commit 6aebc21

4 files changed

Lines changed: 46 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## [5.46.7](https://github.com/plivo/plivo-java/tree/v5.46.7) (2026-03-18)
4+
**Feature - Profile Update API additional fields support**
5+
- Added `ein`, `einIssuingCountry`, `altBusinessId`, `altBusinessIdType` parameters to Profile `update` method
6+
37
## [5.46.6](https://github.com/plivo/plivo-java/tree/v5.46.6) (2026-02-18)
48
**Feature - Campaign API optional fields support**
59
- Added `sample3`, `sample4`, `sample5` optional sample message fields to Campaign `creator` and `updater` methods

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.plivo</groupId>
66
<artifactId>plivo-java</artifactId>
7-
<version>5.46.5</version>
7+
<version>5.46.7</version>
88
<name>plivo-java</name>
99
<description>A Java SDK to make voice calls &amp; send SMS using Plivo and to generate Plivo XML</description>
1010
<licenses>

src/main/java/com/plivo/api/models/profile/ProfileUpdater.java

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ public class ProfileUpdater extends MessagingProfileUpdater<Profile> {
1313
private String vertical;
1414
private ProfileAuthorizedContact authorizedContact;
1515
private String businessContactEmail;
16+
private String ein;
17+
private String einIssuingCountry;
18+
private String altBusinessId;
19+
private String altBusinessIdType;
1620

1721
public ProfileUpdater(String id) {
1822
super(id);
@@ -76,6 +80,42 @@ public String getBusinessContactEmail(){
7680
return businessContactEmail;
7781
}
7882

83+
public ProfileUpdater ein (String ein) {
84+
this.ein = ein;
85+
return this;
86+
}
87+
88+
public String getEin(){
89+
return ein;
90+
}
91+
92+
public ProfileUpdater einIssuingCountry (String einIssuingCountry) {
93+
this.einIssuingCountry = einIssuingCountry;
94+
return this;
95+
}
96+
97+
public String getEinIssuingCountry(){
98+
return einIssuingCountry;
99+
}
100+
101+
public ProfileUpdater altBusinessId (String altBusinessId) {
102+
this.altBusinessId = altBusinessId;
103+
return this;
104+
}
105+
106+
public String getAltBusinessId(){
107+
return altBusinessId;
108+
}
109+
110+
public ProfileUpdater altBusinessIdType (String altBusinessIdType) {
111+
this.altBusinessIdType = altBusinessIdType;
112+
return this;
113+
}
114+
115+
public String getAltBusinessIdType(){
116+
return altBusinessIdType;
117+
}
118+
79119
@Override
80120
protected Call<Profile> obtainCall() {
81121
return client().getApiService().profileUpdate(client().getAuthId(), id, this);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.46.6
1+
5.46.7

0 commit comments

Comments
 (0)