subtopia-js-sdk
    Preparing search index...

    Interface ProductState

    Interface for the product state.

    interface ProductState {
        coinID: number;
        createdAt: number;
        discount?: DiscountRecord;
        duration: Duration;
        imageURL: string;
        lifecycle: number;
        manager: Address;
        maxSubs: number;
        oracleID: number;
        price: number;
        productName: string;
        productType: TOKEN_BASED;
        subscriptionName: string;
        totalSubs: number;
        unitName: string;
    }

    Hierarchy

    • ProductGlobalState
      • ProductState
    Index

    Properties

    coinID: number
    createdAt: number
    discount?: DiscountRecord
    duration: Duration
    imageURL: string
    lifecycle: number
    manager: Address
    maxSubs: number
    oracleID: number
    price: number
    productName: string
    productType: TOKEN_BASED
    subscriptionName: string
    totalSubs: number
    unitName: string