UNPKG

asaaas

Version:

Unofficial Asaas Payment Gateway SDK

12 lines (11 loc) 566 B
import { ICreateBillParams, IListBillsResponse, IBillResponse, IListBillsParams, ISimulateBillResponse } from '@/types/BillTypes'; import { AxiosInstance } from 'axios'; export declare class BillAPI { private apiClient; constructor(apiClient: AxiosInstance); 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>; }