UNPKG

paytm-pg-node-sdk

Version:
46 lines (45 loc) 801 B
"use strict"; /** * Copyright (C) 2019 Paytm. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.PaymentMode = void 0; /* class: PaymentMode */ class PaymentMode { /** * PaymentMode constructor. */ constructor() { /** * @var array */ this.channels = []; } /** * @return string */ getMode() { return this.mode; } /** * @param string mode * @return void */ setMode(mode) { this.mode = mode; } /** * @return array */ getChannels() { return this.channels; } /** * @param array channels * @return void */ setChannels(channels) { this.channels = channels; } } exports.PaymentMode = PaymentMode;