Skip to content

Commit

Permalink
changig field name of decline_reason to declined_reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
Sajal Singhal authored and Sajal Singhal committed Apr 2, 2024
1 parent 213ce81 commit f296f5d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Change Log


## [5.39.1](https://github.com/plivo/plivo-java/tree/v5.39.1) (2024-04-02)
## [5.39.1](https://github.com/plivo/plivo-java/tree/v5.39.1) (2024-04-04)
**Feature - add new response fields for LIST and GET brand**
- Added new response params `decline_reasons` for LIST / GET Brand APIs
- Added new response params `declined_reasons` for LIST / GET Brand APIs

## [5.39.0](https://github.com/plivo/plivo-java/tree/v5.39.0) (2024-03-13)
**Feature - Import Campaign API**
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/com/plivo/api/models/brand/Brand.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class Brand extends BaseResource {
private AuthorizedContact authorizedContact;
private BrandResponse brand;
private String createdAt;
private List<TCRErrorDetail> declineReasons;
private List<TCRErrorDetail> declinedReasons;

public static BrandCreator creator(String brandAlias,String profileUUID,String brandType,Boolean secondaryVetting,String url,String method) {
return new BrandCreator(brandAlias,profileUUID,brandType,secondaryVetting,url,method);
Expand Down Expand Up @@ -121,10 +121,10 @@ public String getCreatedAt() {
}

/**
* @return TCRErrorDetail[] return the getDeclineReasons
* @return TCRErrorDetail[] return the getDeclinedReasons
*/
public List<TCRErrorDetail> getDeclineReasons() {
return declineReasons;
public List<TCRErrorDetail> getDeclinedReasons() {
return declinedReasons;
}

public BrandResponse getBrand() {
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/com/plivo/api/models/brand/BrandResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class BrandResponse extends BaseResource {
private Address address;
private String createdAt;
private AuthorizedContact authorizedContact;
private List<TCRErrorDetail> declineReasons;
private List<TCRErrorDetail> declinedReasons;

/**
* @return String return the getBrandID
Expand Down Expand Up @@ -93,10 +93,10 @@ public AuthorizedContact getAuthorizedContact() {
}

/**
* @return TCRErrorDetail[] return the getDeclineReasons
* @return TCRErrorDetail[] return the getDeclinedReasons
*/
public List<TCRErrorDetail> getDeclineReasons() {
return declineReasons;
public List<TCRErrorDetail> getDeclinedReasons() {
return declinedReasons;
}

@Override
Expand Down

0 comments on commit f296f5d

Please sign in to comment.