popbill 1.4.0 → 1.5.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 +16 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e345e901cc9ed5e2b35de2420c8a5efe653a9274
4
- data.tar.gz: 48b1c7bfec5d44072e45507a765a4c716eef77a9
3
+ metadata.gz: 0863e63ca810479028c4d9910dcf9d8720b64317
4
+ data.tar.gz: 788093aab638f2a0a0ea7f45bd8dc52bcdf094a1
5
5
  SHA512:
6
- metadata.gz: 92803f30d04a76b6bc7b641d697f6d586567d3974ae9f7e87a719898a2a80bb9218f22dbef4e7037b8c97a2e3d4c49f332a83de578113ff62af77f197692d693
7
- data.tar.gz: 55e01a2ffb419cbf791bd9f8788c4c441801d334d11584ab1b6e69c1ada53f7c3b07f577fb7b1939666cadcb2ba92e7eb218a2f99854b23b2ce03e6375ce8bf0
6
+ metadata.gz: 7cef0423520705551d7df86dd858ed90551f595182ac035e2212268940a1be2f812e7fc5ec58711af76dd0b867450c31bd8e13ff20c1263fe45b8719e2ac14d6
7
+ data.tar.gz: 4e453a89d832a2ee50e4e6b78cc7d4aecc9fb396314bf32c9d123bf3ac059c80ccdd3546b470fd0c7827df373fcc2a3f6f27b75b866d5dc20ce121f75011d15f
@@ -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 = '', userID = '')
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.0
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-08-29 00:00:00.000000000 Z
11
+ date: 2017-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: linkhub