popbill 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/popbill/cashbill.rb +16 -2
- 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: 0863e63ca810479028c4d9910dcf9d8720b64317
|
4
|
+
data.tar.gz: 788093aab638f2a0a0ea7f45bd8dc52bcdf094a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cef0423520705551d7df86dd858ed90551f595182ac035e2212268940a1be2f812e7fc5ec58711af76dd0b867450c31bd8e13ff20c1263fe45b8719e2ac14d6
|
7
|
+
data.tar.gz: 4e453a89d832a2ee50e4e6b78cc7d4aecc9fb396314bf32c9d123bf3ac059c80ccdd3546b470fd0c7827df373fcc2a3f6f27b75b866d5dc20ce121f75011d15f
|
data/lib/popbill/cashbill.rb
CHANGED
@@ -76,7 +76,8 @@ class CashbillService < BaseService
|
|
76
76
|
end
|
77
77
|
|
78
78
|
# 취소현금영수증 즉시발행 추가. 2017/08/18
|
79
|
-
def revokeRegistIssue(corpNum, mgtKey, orgConfirmNum, orgTradeDate, smssendYN = false, memo =
|
79
|
+
def revokeRegistIssue(corpNum, mgtKey, orgConfirmNum, orgTradeDate, smssendYN = false, memo = "", userID = "",
|
80
|
+
isPartCancel = false, cancelType = nil, supplyCost = nil, tax = nil, serviceFee = nil, totalAmount = nil)
|
80
81
|
|
81
82
|
postData = {}
|
82
83
|
postData["mgtKey"] = mgtKey
|
@@ -84,6 +85,12 @@ class CashbillService < BaseService
|
|
84
85
|
postData["orgTradeDate"] = orgTradeDate
|
85
86
|
postData["smssendYN"] = smssendYN
|
86
87
|
postData["memo"] = memo
|
88
|
+
postData["isPartCancel"] = isPartCancel
|
89
|
+
postData["cancelType"] = cancelType
|
90
|
+
postData["supplyCost"] = supplyCost
|
91
|
+
postData["tax"] = tax
|
92
|
+
postData["serviceFee"] = serviceFee
|
93
|
+
postData["totalAmount"] = totalAmount
|
87
94
|
|
88
95
|
postData = postData.to_json
|
89
96
|
|
@@ -91,13 +98,20 @@ class CashbillService < BaseService
|
|
91
98
|
end
|
92
99
|
|
93
100
|
# 취소현금영수증 임시저장 추가. 2017/08/18
|
94
|
-
def revokeRegister(corpNum, mgtKey, orgConfirmNum, orgTradeDate, smssendYN = false, userID = ''
|
101
|
+
def revokeRegister(corpNum, mgtKey, orgConfirmNum, orgTradeDate, smssendYN = false, userID = '',
|
102
|
+
isPartCancel = false, cancelType = nil, supplyCost = nil, tax = nil, serviceFee = nil, totalAmount = nil)
|
95
103
|
|
96
104
|
postData = {}
|
97
105
|
postData["mgtKey"] = mgtKey
|
98
106
|
postData["orgConfirmNum"] = orgConfirmNum
|
99
107
|
postData["orgTradeDate"] = orgTradeDate
|
100
108
|
postData["smssendYN"] = smssendYN
|
109
|
+
postData["isPartCancel"] = isPartCancel
|
110
|
+
postData["cancelType"] = cancelType
|
111
|
+
postData["supplyCost"] = supplyCost
|
112
|
+
postData["tax"] = tax
|
113
|
+
postData["serviceFee"] = serviceFee
|
114
|
+
postData["totalAmount"] = totalAmount
|
101
115
|
|
102
116
|
postData = postData.to_json
|
103
117
|
|
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.5.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-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: linkhub
|