subtopia-js-sdk
    Preparing search index...

    Interface RegistryCreateProductParams

    Parameters required for creating a product.

    interface RegistryCreateProductParams {
        coinID?: number;
        duration?: Duration;
        imageUrl?: string;
        lockerID: number;
        maxSubs?: number;
        parseWholeUnits?: boolean;
        price: number;
        productName: string;
        productType: TOKEN_BASED;
        subscriptionName: string;
        unitName?: string;
    }
    Index

    Properties

    coinID?: number

    Optional coin ID

    duration?: Duration

    Optional duration of the product

    imageUrl?: string

    Optional image URL

    lockerID: number

    ID of the locker

    maxSubs?: number

    Optional maximum number of subscriptions

    parseWholeUnits?: boolean

    Optional flag to parse whole units

    price: number

    Price of the product

    productName: string

    Name of the product

    productType: TOKEN_BASED

    Type of the product

    subscriptionName: string

    Name of the subscription

    unitName?: string

    Optional unit name