Skip to content

Commit a30f4e4

Browse files
committed
현금영수증 노출옵션 반영
1 parent 5780af0 commit a30f4e4

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

bootpay/src/main/java/kr/co/bootpay/model/BootExtra.java

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public final class BootExtra {
1515
private String app_scheme; //app2app 결제시 return 받을 intent scheme
1616
private String app_scheme_host; //app2app 결제시 return 받을 intent scheme host
1717
private String ux; //다양한 결제시나리오를 지원하기 위한 용도로 사용됨
18+
private String disp_cash_result = "Y"; // 현금영수증 보일지 말지.. 가상계좌 KCP 옵션
1819

1920

2021
public final String getApp_scheme() {
@@ -135,6 +136,10 @@ private String ux() {
135136
return String.format(Locale.KOREA, "ux: '%s'", this.ux);
136137
}
137138

139+
private String dispCashResult() {
140+
return String.format(Locale.KOREA, "disp_cash_result: '%s'", this.disp_cash_result);
141+
}
142+
138143
public final String toJson() {
139144
return extra(
140145
startAt(),
@@ -143,12 +148,21 @@ public final String toJson() {
143148
vbankResult(),
144149
quotas(),
145150
ux(),
146-
appScheme()
151+
appScheme(),
152+
dispCashResult()
147153
);
148154
}
149155

150156
public final String toGson() {
151157
if(this == null) return "";
152158
return new Gson().toJson(this);
153159
}
160+
161+
public String getDisp_cash_result() {
162+
return disp_cash_result;
163+
}
164+
165+
public void setDisp_cash_result(String disp_cash_result) {
166+
this.disp_cash_result = disp_cash_result;
167+
}
154168
}

sample/sample.iml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,5 +123,6 @@
123123
<orderEntry type="module" module-name="bootpay" />
124124
<orderEntry type="module" module-name="bootpay" />
125125
<orderEntry type="module" module-name="bootpay" />
126+
<orderEntry type="module" module-name="bootpay" />
126127
</component>
127128
</module>

0 commit comments

Comments
 (0)