@apicart/store-sdk
Version:
Apicart SDK for integrating store into any web application
30 lines (22 loc) • 462 B
text/typescript
export default class ShippingMethodParameter
{
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;
}
}