@adapty/capacitor
Version:
Official Adapty SDK for Capacitor
29 lines • 807 B
JavaScript
import { SimpleCoder } from './coder';
export class AdaptyPriceCoder extends SimpleCoder {
constructor() {
super(...arguments);
this.properties = {
amount: {
key: 'amount',
required: true,
type: 'number',
},
currencyCode: {
key: 'currency_code',
required: false,
type: 'string',
},
currencySymbol: {
key: 'currency_symbol',
required: false,
type: 'string',
},
localizedString: {
key: 'localized_string',
required: false,
type: 'string',
},
};
}
}
//# sourceMappingURL=adapty-price.js.map