UNPKG

@shopify/shopify-api

Version:

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

44 lines 1.82 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; recurring_application_charge_id?: number | string | null; fields?: unknown; } interface AllArgs { [key: string]: unknown; session: Session; recurring_application_charge_id?: number | string | null; fields?: unknown; } export declare class UsageCharge 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, recurring_application_charge_id, fields }: FindArgs): Promise<UsageCharge | null>; static all({ session, recurring_application_charge_id, fields, ...otherArgs }: AllArgs): Promise<FindAllResponse<UsageCharge>>; created_at: string | null; currency: Currency | null | { [key: string]: any; }; description: string | null; id: string | null; price: string | null; recurring_application_charge_id: string | null; updated_at: string | null; } export {}; //# sourceMappingURL=usage_charge.d.ts.map