Comparing version 1.5.0 to 1.6.0
@@ -78,3 +78,2 @@ var popbill = require('./'); | ||
PBOX(매출), TBOX(임시), WRITE(현금영수증 작성) | ||
cashbillService.getURL('1234567890','WRITE', 'testkorea', | ||
@@ -324,3 +323,3 @@ function(response){ | ||
cashbillService.revokeRegistIssue('1234567890', '20170818-03', '820116333', '20170711', | ||
cashbillService.revokeRegistIssue('1234567890', '20171113-47', '664483163', '20171113', false, '', 'testkorea', true, '1', '3000', '0', '0', '3000', | ||
function(response){ | ||
@@ -332,3 +331,3 @@ console.log(response); | ||
cashbillService.revokeRegister('1234567890', '20170818-06', '820116333', '20170711', | ||
cashbillService.revokeRegister('1234567890', '20171113-42', '820116333', '20170711', false, '', true, '1', '3000', '300', '0', '3300', | ||
function(response){ | ||
@@ -338,2 +337,2 @@ console.log(response); | ||
console.log(error); | ||
}); | ||
}); |
@@ -570,15 +570,25 @@ var Util = require('util'); | ||
BaseService.addMethod(CashbillService.prototype, "revokeRegistIssue", function(CorpNum, mgtKey, orgConfirmNum, orgTradeDate, success, error){ | ||
this.revokeRegistIssue(CorpNum,mgtKey,orgConfirmNum,orgTradeDate,false,'','',success,error); | ||
this.revokeRegistIssue(CorpNum,mgtKey,orgConfirmNum,orgTradeDate,false,'','',false,'','','','','',success,error); | ||
}); | ||
BaseService.addMethod(CashbillService.prototype, "revokeRegistIssue", function(CorpNum, mgtKey, orgConfirmNum, orgTradeDate, smssendYN, success, error){ | ||
this.revokeRegistIssue(CorpNum,mgtKey,orgConfirmNum,orgTradeDate,smssendYN,'','',success,error); | ||
this.revokeRegistIssue(CorpNum,mgtKey,orgConfirmNum,orgTradeDate,smssendYN,'','',false,'','','','','',success,error); | ||
}); | ||
BaseService.addMethod(CashbillService.prototype, "revokeRegistIssue", function(CorpNum, mgtKey, orgConfirmNum, orgTradeDate, smssendYN, memo, success, error){ | ||
this.revokeRegistIssue(CorpNum,mgtKey,orgConfirmNum,orgTradeDate,smssendYN,memo,'',success,error); | ||
this.revokeRegistIssue(CorpNum,mgtKey,orgConfirmNum,orgTradeDate,smssendYN,memo,'',false,'','','','','',success,error); | ||
}); | ||
BaseService.addMethod(CashbillService.prototype, "revokeRegistIssue", function(CorpNum, mgtKey, orgConfirmNum, orgTradeDate, smssendYN, memo, UserID, success, error){ | ||
this.revokeRegistIssue(CorpNum,mgtKey,orgConfirmNum,orgTradeDate,smssendYN,memo,'',false,'','','','','',success,error); | ||
}); | ||
BaseService.addMethod(CashbillService.prototype, "revokeRegistIssue", function(CorpNum, mgtKey, orgConfirmNum, orgTradeDate, smssendYN, memo, | ||
isPartCancel, cancelType, supplyCost, tax, serviceFee, totalAmount, success, error){ | ||
this.revokeRegistIssue(CorpNum,mgtKey,orgConfirmNum,orgTradeDate,smssendYN,memo,'',isPartCancel,cancelType,supplyCost,tax,serviceFee,totalAmount,success,error); | ||
}); | ||
BaseService.addMethod(CashbillService.prototype, "revokeRegistIssue", function(CorpNum, mgtKey, orgConfirmNum, orgTradeDate, smssendYN, memo, UserID, | ||
isPartCancel, cancelType, supplyCost, tax, serviceFee, totalAmount, success, error){ | ||
var req = { | ||
@@ -590,2 +600,8 @@ mgtKey : mgtKey, | ||
memo : memo, | ||
isPartCancel : isPartCancel, | ||
cancelType : cancelType, | ||
supplyCost : supplyCost, | ||
tax : tax, | ||
serviceFee : serviceFee, | ||
totalAmount : totalAmount, | ||
}; | ||
@@ -611,10 +627,16 @@ | ||
BaseService.addMethod(CashbillService.prototype, "revokeRegister", function(CorpNum, mgtKey, orgConfirmNum, orgTradeDate, success, error){ | ||
this.revokeRegister(CorpNum,mgtKey,orgConfirmNum,orgTradeDate,false,'',success,error); | ||
this.revokeRegister(CorpNum,mgtKey,orgConfirmNum,orgTradeDate,false,'',false, '', '', '', '', '', success,error); | ||
}); | ||
BaseService.addMethod(CashbillService.prototype, "revokeRegister", function(CorpNum, mgtKey, orgConfirmNum, orgTradeDate, smssendYN, success, error){ | ||
this.revokeRegister(CorpNum,mgtKey,orgConfirmNum,orgTradeDate,smssendYN,'',success,error); | ||
this.revokeRegister(CorpNum,mgtKey,orgConfirmNum,orgTradeDate,smssendYN,'',false, '', '', '', '', '', success,error); | ||
}); | ||
BaseService.addMethod(CashbillService.prototype, "revokeRegister", function(CorpNum, mgtKey, orgConfirmNum, orgTradeDate, smssendYN, UserID, success, error){ | ||
BaseService.addMethod(CashbillService.prototype, "revokeRegister", function(CorpNum, mgtKey, orgConfirmNum, orgTradeDate, smssendYN, UserID, | ||
isPartCancel, cancelType, supplyCost, tax, serviceFee, totalAmount, success, error){ | ||
this.revokeRegister(CorpNum,mgtKey,orgConfirmNum,orgTradeDate,smssendYN, '', false, '', '', '', '', '', success, error); | ||
}); | ||
BaseService.addMethod(CashbillService.prototype, "revokeRegister", function(CorpNum, mgtKey, orgConfirmNum, orgTradeDate, smssendYN, UserID, | ||
isPartCancel, cancelType, supplyCost, tax, serviceFee, totalAmount, success, error){ | ||
var req = { | ||
@@ -625,2 +647,8 @@ mgtKey : mgtKey, | ||
smssendYN : smssendYN, | ||
isPartCancel : isPartCancel, | ||
cancelType : cancelType, | ||
supplyCost : supplyCost, | ||
tax : tax, | ||
serviceFee : serviceFee, | ||
totalAmount : totalAmount, | ||
}; | ||
@@ -627,0 +655,0 @@ |
{ | ||
"name": "popbill", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"description": "Popbill API SDK for node. see www.popbill.com", | ||
@@ -5,0 +5,0 @@ "author": "Kim Seongjun <pallet027@gmail.com>", |
# node-popbill | ||
팝빌 node.js SDK v1.5.0 | ||
팝빌 node.js SDK v1.6.0 | ||
@@ -4,0 +4,0 @@ ## Install |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
231418
5660