aguas-kapital
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -11,6 +11,4 @@ var Client = require('./lib') | ||
module.exports = { | ||
createCems: createCems | ||
} |
@@ -14,3 +14,5 @@ let axios = require('axios') | ||
this.consultaPagoRango = this.options.consultaPagoRango | ||
this.consultaPago = this.options.consultaPago | ||
this.consultaPago = this.options.consultaPago | ||
this.consultaCupon = this.options.consultaCupon | ||
this.pagoCupon = this.options.pagoCupon | ||
this.usuario = this.options.usuario | ||
@@ -54,3 +56,3 @@ this.clave =this.options.clave | ||
Client.prototype.getConsultaPago = function(data,callback){ | ||
Client.prototype.getConsultaPago = function(data,callback) { | ||
let datos = {} | ||
@@ -109,5 +111,2 @@ datos.contrato = data.contrato | ||
datos.clave = this.clave | ||
this._requestAxios(datos,this.consultaPago, callback) | ||
@@ -117,3 +116,24 @@ } | ||
/**6).CONSULTA POR CUPON */ | ||
Client.prototype.getConsultaCoupon = function(data,callback){ | ||
let datos = {} | ||
datos.cupon = data.cupon | ||
datos.usuario = this.usuario | ||
datos.clave = this.clave | ||
this._requestAxios(datos,this.consultaCupon, callback) | ||
} | ||
/**7).PAGAR X CUPON */ | ||
Client.prototype.getPagarByCoupon = function(data,callback){ | ||
let datos = {} | ||
datos.cupon = data.cupon | ||
datos.usuario = this.usuario | ||
datos.clave = this.clave | ||
this._requestAxiosPOST(datos,this.pagoCupon, callback) | ||
} | ||
module.exports = Client |
{ | ||
"name": "aguas-kapital", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
3963
105