Library referenceTypes
ShopPrice
type ShopPrice = {
available: boolean;
id: number;
price_ref: string;
real?: {
price_usd: number;
};
recurring?: {
amount: number;
periodicity: string;
};
type: string;
};one price of a shop product, real money or recurring
Properties
| Property | Type |
|---|---|
available | boolean |
id | number |
price_ref | string |
real? | { price_usd: number; } |
real.price_usd | number |
recurring? | { amount: number; periodicity: string; } |
recurring.amount | number |
recurring.periodicity | string |
type | string |