Interface ChargebeeNodeParameters

Source
interface ChargebeeNodeParameters {
    endOfTerm?: boolean;
    filters?: {
        date: {
            operation?: "is" | "is_not" | "after" | "before";
            value?: string;
        }[];
        total: {
            operation?: | "is"
            | "is_not"
            | "gte"
            | "gt"
            | "lte"
            | "lt";
            value?: number;
        }[];
    };
    invoiceId?: string;
    maxResults?: number;
    operation?: | "create"
    | "list"
    | "delete"
    | "pdfUrl"
    | "cancel";
    properties?: {
        company?: string;
        customProperties?: {
            property: { name?: string; value?: string }[];
        };
        email?: string;
        first_name?: string;
        id?: string;
        last_name?: string;
        phone?: string;
    };
    resource?: "customer"
    | "invoice"
    | "subscription";
    subscriptionId?: string;
}

Properties§

§readonly endOfTerm?: boolean

Whether it will not cancel it directly in will instead schedule the cancelation for the end of the term

§readonly filters?: { ... }

Filter for invoices Default: {} Type options: {"multipleValues":true}

§readonly invoiceId?: string

The ID of the invoice to get

§readonly maxResults?: number

Max. amount of results to return(< 100). Default: 10 Type options: {"minValue":1,"maxValue":100}

§readonly operation?: "create" | "list" | "delete" | "pdfUrl" | "cancel"

Default: "create"

§readonly properties?: { ... }

Properties to set on the new user Default: {}

§readonly resource?: "customer" | "invoice" | "subscription"

Default: "invoice"

§readonly subscriptionId?: string

The ID of the subscription to cancel