Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

popbill

Package Overview
Dependencies
Maintainers
1
Versions
75
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.3.2 to 1.4.0

14

CashbillTest.js

@@ -322,1 +322,15 @@ var popbill = require('./');

});
cashbillService.revokeRegistIssue('1234567890', '20170818-03', '820116333', '20170711',
function(response){
console.log(response);
}, function(error){
console.log(error);
});
cashbillService.revokeRegister('1234567890', '20170818-06', '820116333', '20170711',
function(response){
console.log(response);
}, function(error){
console.log(error);
});

44

ClosedownTest.js

@@ -14,25 +14,25 @@ var popbill = require('./');

closedownService.getChargeInfo('1234567890', 'testkorea',
function(response){
console.log(response);
}, function(error){
console.log(error);
})
// closedownService.getChargeInfo('1234567890', 'testkorea',
// function(response){
// console.log(response);
// }, function(error){
// console.log(error);
// })
//
// closedownService.getUnitCost('1234567890',
// function(response){
// console.log('Unitcost : ' + response);
// }, function(error){
// console.log(error);
// })
//
// closedownService.getBalance('1234567890',
// function(response){
// console.log('Balance : ' + response);
// }, function(error){
// console.log(error);
// })
closedownService.getUnitCost('1234567890',
closedownService.checkCorpNum('1234567890','401-03-94930',
function(response){
console.log('Unitcost : ' + response);
}, function(error){
console.log(error);
})
closedownService.getBalance('1234567890',
function(response){
console.log('Balance : ' + response);
}, function(error){
console.log(error);
})
closedownService.checkCorpNum('1234567890','4108600477',
function(response){
console.log(response);

@@ -43,3 +43,3 @@ }, function(error){

var CorpNumList = ['1234567890','4108600477','410-86-21884']
var CorpNumList = ['1234567890','4108600477','401-03-94930']

@@ -46,0 +46,0 @@ closedownService.checkCorpNums('1234567890', CorpNumList,

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

this.ServiceID = this._config.IsTest ? 'POPBILL_TEST' : 'POPBILL';
this.ServiceURL = this._config.IsTest ? 'popbill_test.linkhub.co.kr' : 'popbill.linkhub.co.kr';
this.ServiceURL = this._config.IsTest ? 'popbill-test.linkhub.co.kr' : 'popbill.linkhub.co.kr';

@@ -20,0 +20,0 @@ linkhub.initialize({

@@ -567,2 +567,75 @@ var Util = require('util');

// 취소현금영수증 즉시발행 API 추가. 2017/08/17
BaseService.addMethod(CashbillService.prototype, "revokeRegistIssue", function(CorpNum, mgtKey, orgConfirmNum, orgTradeDate, success, error){
this.revokeRegistIssue(CorpNum,mgtKey,orgConfirmNum,orgTradeDate,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);
});
BaseService.addMethod(CashbillService.prototype, "revokeRegistIssue", function(CorpNum, mgtKey, orgConfirmNum, orgTradeDate, smssendYN, memo, success, error){
this.revokeRegistIssue(CorpNum,mgtKey,orgConfirmNum,orgTradeDate,smssendYN,memo,'',success,error);
});
BaseService.addMethod(CashbillService.prototype, "revokeRegistIssue", function(CorpNum, mgtKey, orgConfirmNum, orgTradeDate, smssendYN, memo, UserID, success, error){
var req = {
mgtKey : mgtKey,
orgConfirmNum : orgConfirmNum,
orgTradeDate : orgTradeDate,
smssendYN : smssendYN,
memo : memo,
};
var postData = this._stringify(req);
this._executeAction({
uri : '/Cashbill',
CorpNum : CorpNum,
UserID : UserID,
Method : 'REVOKEISSUE',
Data : postData,
success : function(response){
if(success) success(response);
},
error : error
});
});
// 취소현금영수증 임시저장 API 추가 2017/08/18
BaseService.addMethod(CashbillService.prototype, "revokeRegister", function(CorpNum, mgtKey, orgConfirmNum, orgTradeDate, success, error){
this.revokeRegister(CorpNum,mgtKey,orgConfirmNum,orgTradeDate,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);
});
BaseService.addMethod(CashbillService.prototype, "revokeRegister", function(CorpNum, mgtKey, orgConfirmNum, orgTradeDate, smssendYN, UserID, success, error){
var req = {
mgtKey : mgtKey,
orgConfirmNum : orgConfirmNum,
orgTradeDate : orgTradeDate,
smssendYN : smssendYN,
};
var postData = this._stringify(req);
this._executeAction({
uri : '/Cashbill',
CorpNum : CorpNum,
UserID : UserID,
Method : 'REVOKE',
Data : postData,
success : function(response){
if(success) success(response);
},
error : error
});
});
BaseService.addMethod(CashbillService.prototype, "search", function(CorpNum, DType, SDate, EDate, State, TradeType, TradeUsage, TaxationType, Order, Page, PerPage, success, error){

@@ -569,0 +642,0 @@ return this.search (CorpNum, DType, SDate, EDate, State, TradeType, TradeUsage, TaxationType, "", Order, Page, PerPage, success, error);

{
"name": "popbill",
"version": "1.3.2",
"version": "1.4.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.3.2
팝빌 node.js SDK v1.4.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