popbill 1.2.2 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/popbill/cashbill.rb +28 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 351ebe41294e2f18f10256e10b54eecc35c90349
4
- data.tar.gz: 69ce820fd05d1a5e4c4d31383463269001aa6a49
3
+ metadata.gz: 18bebb5b83d4ef02309f7916ae65525000da19c5
4
+ data.tar.gz: 9e82e8f6a65f36be93d2fa9ebac36071bd854b4e
5
5
  SHA512:
6
- metadata.gz: 9fb44d0f578dd26c93c27c7574cf3e710d89a82a1ff29605a273f2d49f21495e5b8b5d098f3176e213e4b373d326a9f86c13449789cd6b22eb878a49eecadc2c
7
- data.tar.gz: e13dd85367c68d846c21478f1d97e7029a1f77bb822c424d15715c4b008a0465e58aef953a3e1e0e141ec964c6ae604645def536001cb5b2fcd84753f05cee82
6
+ metadata.gz: e7965181c4975d58abc11834287eda25be7b2bd5e935bca48f18f1f9cb444f2b248553550efd3ac705a25c9c5e99440b9026a1da9d7886435c0b1c631ff27af9
7
+ data.tar.gz: a18ee09d8d917276a19611cad8ccfdc0ce0d781f82612b2e51f5ec37fc3a5ac9108f0bf06566d689bbc48d11e72a86752063e055a4266e5719a4c971d7d03baa
@@ -75,6 +75,34 @@ class CashbillService < BaseService
75
75
  httppost("/Cashbill", corpNum, postData, "", userID)
76
76
  end
77
77
 
78
+ # 취소현금영수증 즉시발행 추가. 2017/08/18
79
+ def revokeRegistIssue(corpNum, mgtKey, orgConfirmNum, orgTradeDate, smssendYN = false, memo = '', userID = '')
80
+
81
+ postData = {}
82
+ postData["mgtKey"] = mgtKey
83
+ postData["orgConfirmNum"] = orgConfirmNum
84
+ postData["orgTradeDate"] = orgTradeDate
85
+ postData["smssendYN"] = smssendYN
86
+ postData["memo"] = memo
87
+
88
+ postData = postData.to_json
89
+
90
+ httppost("/Cashbill", corpNum, postData, "REVOKEISSUE", userID)
91
+ end
92
+
93
+ # 취소현금영수증 임시저장 추가. 2017/08/18
94
+ def revokeRegister(corpNum, mgtKey, orgConfirmNum, orgTradeDate, smssendYN = false, userID = '')
95
+
96
+ postData = {}
97
+ postData["mgtKey"] = mgtKey
98
+ postData["orgConfirmNum"] = orgConfirmNum
99
+ postData["orgTradeDate"] = orgTradeDate
100
+ postData["smssendYN"] = smssendYN
101
+
102
+ postData = postData.to_json
103
+
104
+ httppost("/Cashbill", corpNum, postData, "REVOKE", userID)
105
+ end
78
106
 
79
107
  def update(corpNum, mgtKey, cashbill, userID = '')
80
108
  if corpNum.length != 10
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: popbill
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Linkhub Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-18 00:00:00.000000000 Z
11
+ date: 2017-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: linkhub