UNPKG

@apicart/store-sdk

Version:

Apicart SDK for integrating store into any web application

31 lines (22 loc) 457 B
export default class CustomerParameter { private _key: string; private _value: string | boolean | number | []; constructor(key: string, value: string | boolean | number | []) { this._key = key; this._value = value; } public getKey(): string { return this._key; } public getValue(): string | boolean | number | [] { return this._value; } public setValue(value: string | boolean | number | []): void { this._value = value; } }