pCon.basket - Plugin Development
    Preparing search index...

    Interface CreateBasketOptions

    interface CreateBasketOptions {
        importForeignCalculation?: boolean;
        migrateLegacyProjectData?: boolean;
        projectInfo?: ProjectInfo;
    }
    Index
    importForeignCalculation?: boolean

    If true and the project was last edited using a different pricing procedure than the current default one, the user will be asked if he wants to import the calculation.

    false
    
    migrateLegacyProjectData?: boolean

    If true, legacy data (e.g. header or address data) will be loaded and migrated. Should be used when loading obk files of older applications.

    false
    
    projectInfo?: ProjectInfo

    Optional pre - created ProjectInfo instance. Will be ignored if basket session and projectInfo.session are not equal.