UNPKG

asaas

Version:

Unofficial Asaas Payment Gateway SDK

13 lines (12 loc) 667 B
import { ICreateBillParams, IListBillsResponse, IBillResponse, IListBillsParams, ISimulateBillResponse } from '@/types/BillTypes'; import { AxiosInstance } from 'axios'; import { BaseAPI } from './BaseAPI'; import { APIOptions } from '@/types/AsaasTypes'; export declare class BillAPI extends BaseAPI { constructor(apiClient: AxiosInstance, options?: APIOptions); create(params?: ICreateBillParams): Promise<IBillResponse>; list(params?: IListBillsParams): Promise<IListBillsResponse>; simulate(params?: ISimulateBillResponse): Promise<IBillResponse>; getById(id: string): Promise<IBillResponse>; cancel(id: string): Promise<IBillResponse>; }