bgcs-chargebee-plugin
v1.0.35
Published
plugin implementation between chargebee to bgcs framework
Downloads
6
Readme
Install plugin
// node script install plugin
$>_ npm install knack-connection-plugin
// package.json
{
"dependencies": {
"knack-connection-plugin": "^1.0.1"
}
}
include plugin in your projects
let knackMT = require('knack-connection-plugin').knackMT;
example usage method : create
knackMT.create({
url : "{knack-url-path}",
filters : false,
data : {knack-payload},
success : function(response){
// code
},
error : function(error, xhr){
// error code execute after retry
}
}).retry({retry_integer_num});
example usage method : update
let _filters = JSON.stringify({});
knackMT.update({
url : "{knack-url-path}",
filters : _filters,
data : {knack-payload},
success : function(response){
// code
},
error : function(error, xhr){
// error code execute after retry
}
}).retry({retry_integer_num});
example usage method : render
let _filters = JSON.stringify({});
knackMT.render({
url : "{knack-url-path}",
filters : _filters,
data : {knack-payload},
success : function(response){
// code
},
error : function(error, xhr){
// error code execute after retry
}
}).retry({retry_integer_num});
example usage method : get
let _filters = JSON.stringify({});
knackMT.get({
url : "{knack-url-path}",
filters : _filters,
data : {knack-payload},
success : function(response){
// code
},
error : function(error, xhr){
// error code execute after retry
}
}).retry({retry_integer_num});