krapio
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

PropertyType
availableboolean
idnumber
price_refstring
real?{ price_usd: number; }
real.price_usdnumber
recurring?{ amount: number; periodicity: string; }
recurring.amountnumber
recurring.periodicitystring
typestring

On this page