UNPKG

paga-collect

Version:

The Paga Collect API allows anyone (payment request initiator) to initiate a payment request to a third party and automatically get notified when the payment request is fulfilled

34 lines (24 loc) 563 B
const PagaCollect = require('./PagaCollect'); class PagaCollectClient { constructor() {} setClientId(clientId) { this.clientId = clientId; return this; } setPassword(password) { this.password = password; return this; } setApiKey(apiKey) { this.apiKey = apiKey; return this; } setTest(test) { this.test = test; return this; } build() { return new PagaCollect(this); } } module.exports = PagaCollectClient;