Typescript SDK Type Docs
    Preparing search index...

    Type Alias ServiceBuilderInstance

    type ServiceBuilderInstance = {
        byCartId: (id: string) => Object;
        byCustomerId: (id: string) => Object;
        byId: (id: string) => Object;
        byKey: (key: string) => Object;
        expand: (string: string) => Object;
        page: (page: number) => Object;
        perPage: (amount: number) => Object;
        sort: (option: string) => Object;
        where: (predicate: string) => Object;
        whereOperator: (option: string) => Object;
        withVersion: (version: number) => Object;
        build(): string;
        parse(): string;
        withFullDataErasure(): Object;
        withTotal(value: boolean): Object;
    }
    Index

    Properties

    byCartId: (id: string) => Object
    byCustomerId: (id: string) => Object
    byId: (id: string) => Object
    byKey: (key: string) => Object
    expand: (string: string) => Object
    page: (page: number) => Object
    perPage: (amount: number) => Object
    sort: (option: string) => Object
    where: (predicate: string) => Object
    whereOperator: (option: string) => Object
    withVersion: (version: number) => Object

    Methods

    • Parameters

      • value: boolean

      Returns Object