Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebmaniaBR

Hierarchy

  • WebmaniaBR

Index

Constructors

constructor

  • new WebmaniaBR(consumerKey: string, consumerSecret: string, accessToken: string, accessTokenSecret: string, timeout?: number): WebmaniaBR
  • Parameters

    • consumerKey: string
    • consumerSecret: string
    • accessToken: string
    • accessTokenSecret: string
    • Default value timeout: number = 10000

    Returns WebmaniaBR

Properties

accessToken

accessToken: string

accessTokenSecret

accessTokenSecret: string

consumerKey

consumerKey: string

consumerSecret

consumerSecret: string

timeout

timeout: number

Methods

createNotaFiscal

fetch

  • fetch<T>(url: string, method?: Method, params?: AxiosRequestConfig["params"], data?: AxiosRequestConfig["data"]): Promise<T>
  • 📨 Fetch in the WebmaniaBR API

    Type parameters

    • T

    Parameters

    • url: string
    • Default value method: Method = "GET"
    • Default value params: AxiosRequestConfig["params"] = {}
    • Default value data: AxiosRequestConfig["data"] = {}

    Returns Promise<T>

verifyExpirationCertificado

verifyStatusSefaz

Generated using TypeDoc