From cb89317c3e4953f753331be68c668991eb323d5a Mon Sep 17 00:00:00 2001 From: jang Date: Thu, 5 Sep 2019 11:02:14 +0900 Subject: [PATCH] phone, carrier --- README.md | 2 +- pom.xml | 2 +- .../siot/IamportRestClient/response/Certification.java | 10 ++++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c8bebe6..5807eab 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ pom.xml에 아래의 내용을 추가해주세요. com.github.iamport iamport-rest-client-java - 0.2.3 + 0.2.4 ``` diff --git a/pom.xml b/pom.xml index cbb144d..253a7f2 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ com.github.iamport iamport-rest-client - 0.2.3 + 0.2.4 jar IamportRestClient diff --git a/src/main/java/com/siot/IamportRestClient/response/Certification.java b/src/main/java/com/siot/IamportRestClient/response/Certification.java index 0705f0d..95bd128 100644 --- a/src/main/java/com/siot/IamportRestClient/response/Certification.java +++ b/src/main/java/com/siot/IamportRestClient/response/Certification.java @@ -26,6 +26,12 @@ public class Certification { @SerializedName("birth") int birth; + + @SerializedName("phone") + String phone; + + @SerializedName("carrier") + String carrier; @SerializedName("certified") boolean certified; @@ -67,6 +73,10 @@ public Date getBirth() { return new Date( birth * 1000L ); } + public String getPhone() { return phone; } + + public String getCarrier() { return carrier; } + public boolean isCertified() { return certified; }