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.
- checksums.yaml +4 -4
- data/lib/popbill/cashbill.rb +28 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18bebb5b83d4ef02309f7916ae65525000da19c5
|
4
|
+
data.tar.gz: 9e82e8f6a65f36be93d2fa9ebac36071bd854b4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7965181c4975d58abc11834287eda25be7b2bd5e935bca48f18f1f9cb444f2b248553550efd3ac705a25c9c5e99440b9026a1da9d7886435c0b1c631ff27af9
|
7
|
+
data.tar.gz: a18ee09d8d917276a19611cad8ccfdc0ce0d781f82612b2e51f5ec37fc3a5ac9108f0bf06566d689bbc48d11e72a86752063e055a4266e5719a4c971d7d03baa
|
data/lib/popbill/cashbill.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2017-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: linkhub
|