New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More β†’
Socket
Sign inDemoInstall
Socket

popbill

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

popbill - npm Package Compare versions

Comparing version 1.52.0 to 1.53.0

66

CashbillTest.js

@@ -28,3 +28,39 @@ var popbill = require('./');

// QString = '01012345678';
//
var SubmitID = 'Node-bulk02';
var cashbillList = [];
for (var i =0; i < 50; i++){
var cashbill = {
mgtKey : SubmitID + '-' + i,
tradeType : '승인거래',
tradeUsage : 'μ†Œλ“κ³΅μ œμš©',
taxationType : 'κ³Όμ„Έ',
identityNum : '0101112222',
//orgConfirmNum : '820116333',
//orgTradeDate : '20170710',
franchiseCorpNum : '1234567890',
franchiseCorpName : 'λ°œν–‰μž μƒν˜Έ_μˆ˜μ •',
franchiseCEOName : 'λ°œν–‰μž λŒ€ν‘œμž μ„±λͺ…',
franchiseAddr : 'λ°œν–‰μž μ£Όμ†Œ',
franchiseTEL : '07075103710',
smssendYN : false,
customerName : '고객λͺ…',
itemName : 'μƒν’ˆλͺ…',
orderNumber : '주문번호',
email : 'code@text.com',
hp : '000111222',
fax : '07075103710',
supplyCost : '10000',
tax : '1000',
serviceFee : '0',
totalAmount : '11000',
};
cashbillList.push(cashbill);
}
// cashbillService.search('1234567890', 'R', '20180901', '20180931', State, TradeType, TradeUsage, TradeOpt, TaxationType, QString, 'D', 1, 50,

@@ -74,2 +110,18 @@ // function(response){

// });
cashbillService.bulkSubmit('1234567890', SubmitID, cashbillList,
function(response){
console.log(response);
},
function(error){
console.log(error);
});
cashbillService.getBulkResult('1234567890', SubmitID,
function(response){
console.log(response);
},
function(error){
console.log(error);
});
//

@@ -326,8 +378,8 @@ // cashbillService.getBalance('1234567890',

cashbillService.getViewURL('1234567890', '20210720PHP001','testkorea',
function(response){
console.log(response);
}, function(error){
console.log(error);
});
// cashbillService.getViewURL('1234567890', '20210720PHP001','testkorea',
// function(response){
// console.log(response);
// }, function(error){
// console.log(error);
// });

@@ -334,0 +386,0 @@ // cashbillService.getPDF('1234567890', '20201117-PS003','',

@@ -638,3 +638,55 @@ var Util = require('util');

BaseService.addMethod(CashbillService.prototype, 'bulkSubmit', function(CorpNum, SubmitID, cashbillList, success, error){
this.bulkSubmit(CorpNum, SubmitID, cashbillList, '' , success, error)
});
BaseService.addMethod(CashbillService.prototype, 'bulkSubmit', function(CorpNum, SubmitID, cashbillList, UserID, success, error){
if(!SubmitID || 0 === SubmitID.length) {
this._throwError(-99999999,'μ œμΆœμ•„μ΄λ””κ°€ μž…λ ₯λ˜μ§€ μ•Šμ•˜μŠ΅λ‹ˆλ‹€.',error);
return;
}
if(!cashbillList || 0 === cashbillList.length){
this._throwError(-99999999,'ν˜„κΈˆμ˜μˆ˜μ¦ 정보가 μž…λ ₯λ˜μ§€ μ•Šμ•˜μŠ΅λ‹ˆλ‹€.',error);
return;
}
var bulkRequest = {};
bulkRequest.cashbills = cashbillList;
var postData = this._stringify(bulkRequest);
this._executeAction({
uri : '/Cashbill',
Method : 'BULKISSUE',
CorpNum : CorpNum,
SubmitID : SubmitID,
UserID : UserID,
Data : postData,
success : function(response){
if(success) success(response);
},
error : error
});
});
BaseService.addMethod(CashbillService.prototype, 'getBulkResult', function(CorpNum, SubmitID, success, error){
this.getBulkResult(CorpNum, SubmitID, '', success, error);
});
BaseService.addMethod(CashbillService.prototype, 'getBulkResult', function(CorpNum, SubmitID, UserID, success, error){
if(!SubmitID || 0 === SubmitID.length) {
this._throwError(-99999999,'μ œμΆœμ•„μ΄λ””κ°€ μž…λ ₯λ˜μ§€ μ•Šμ•˜μŠ΅λ‹ˆλ‹€.',error);
return;
}
this._executeAction({
uri : '/Cashbill/BULK/' + SubmitID + '/State',
Method : 'GET',
CorpNum : CorpNum,
UserID : UserID,
success : function(response){
if(success) success(response);
},
error : error
});
});
// μ·¨μ†Œν˜„κΈˆμ˜μˆ˜μ¦ μ¦‰μ‹œλ°œν–‰ API μΆ”κ°€. 2017/08/17

@@ -641,0 +693,0 @@ BaseService.addMethod(CashbillService.prototype, "revokeRegistIssue", function(CorpNum, mgtKey, orgConfirmNum, orgTradeDate, success, error){

4

package.json
{
"name": "popbill",
"version": "1.52.0",
"version": "1.53.0",
"description": "Popbill API SDK for node. see www.popbill.com",

@@ -13,3 +13,3 @@ "author": "Kim Seongjun <pallet027@gmail.com>",

"name": "JeongYohan",
"email": "code@linkhub.co.kr"
"email": "code@linkhubcorp.com"
}

@@ -16,0 +16,0 @@ ],

# node-popbill
팝빌 node.js SDK v1.52.0
팝빌 node.js SDK v1.53.0

@@ -4,0 +4,0 @@ ## Install

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc