diff --git a/CHANGELOG.md b/CHANGELOG.md index 3eeca77f..17f571f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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** diff --git a/src/main/java/com/plivo/api/models/brand/Brand.java b/src/main/java/com/plivo/api/models/brand/Brand.java index ab9e58a4..651d4dc9 100644 --- a/src/main/java/com/plivo/api/models/brand/Brand.java +++ b/src/main/java/com/plivo/api/models/brand/Brand.java @@ -18,7 +18,7 @@ public class Brand extends BaseResource { private AuthorizedContact authorizedContact; private BrandResponse brand; private String createdAt; - private List declineReasons; + private List 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); @@ -121,10 +121,10 @@ public String getCreatedAt() { } /** - * @return TCRErrorDetail[] return the getDeclineReasons + * @return TCRErrorDetail[] return the getDeclinedReasons */ - public List getDeclineReasons() { - return declineReasons; + public List getDeclinedReasons() { + return declinedReasons; } public BrandResponse getBrand() { diff --git a/src/main/java/com/plivo/api/models/brand/BrandResponse.java b/src/main/java/com/plivo/api/models/brand/BrandResponse.java index 531f466d..cb6e23c7 100644 --- a/src/main/java/com/plivo/api/models/brand/BrandResponse.java +++ b/src/main/java/com/plivo/api/models/brand/BrandResponse.java @@ -17,7 +17,7 @@ public class BrandResponse extends BaseResource { private Address address; private String createdAt; private AuthorizedContact authorizedContact; - private List declineReasons; + private List declinedReasons; /** * @return String return the getBrandID @@ -93,10 +93,10 @@ public AuthorizedContact getAuthorizedContact() { } /** - * @return TCRErrorDetail[] return the getDeclineReasons + * @return TCRErrorDetail[] return the getDeclinedReasons */ - public List getDeclineReasons() { - return declineReasons; + public List getDeclinedReasons() { + return declinedReasons; } @Override