UNPKG

@shopify/shopify-api

Version:

Shopify API Library for Node - accelerate development with support for authentication, graphql proxy, webhooks

65 lines 2.35 kB
/*********************************************************************************************************************** * This file is auto-generated. If you have an issue, please create a GitHub issue. * ***********************************************************************************************************************/ import { Base, FindAllResponse } from '../../base'; import { ResourcePath, ResourceNames } from '../../types'; import { Session } from '../../../lib/session/session'; import { ApiVersion } from '../../../lib/types'; import { Currency } from './currency'; interface FindArgs { session: Session; id: number | string; fields?: unknown; } interface DeleteArgs { session: Session; id: number | string; } interface AllArgs { [key: string]: unknown; session: Session; since_id?: unknown; fields?: unknown; } interface CustomizeArgs { [key: string]: unknown; body?: { [key: string]: unknown; } | null; } export declare class RecurringApplicationCharge extends Base { static apiVersion: ApiVersion; protected static hasOne: { [key: string]: typeof Base; }; protected static hasMany: { [key: string]: typeof Base; }; protected static paths: ResourcePath[]; protected static resourceNames: ResourceNames[]; static find({ session, id, fields }: FindArgs): Promise<RecurringApplicationCharge | null>; static delete({ session, id }: DeleteArgs): Promise<unknown>; static all({ session, since_id, fields, ...otherArgs }: AllArgs): Promise<FindAllResponse<RecurringApplicationCharge>>; customize({ body, ...otherArgs }: CustomizeArgs): Promise<unknown>; activated_on: string | null; billing_on: string | null; cancelled_on: string | null; capped_amount: string | number | null; confirmation_url: string | null; created_at: string | null; currency: Currency | null | { [key: string]: any; }; id: string | null; name: string | null; price: string | number | null; return_url: string | null; status: string | null; terms: string | null; test: boolean | null; trial_days: number | null; trial_ends_on: string | null; updated_at: string | null; } export {}; //# sourceMappingURL=recurring_application_charge.d.ts.map