@midia-simples/simetra-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Debito
constructor
cadastrar
Conta
call
Api
consultar
Conta
process
Response
Hierarchy
Resource
Debito
Index
Constructors
constructor
Methods
cadastrar
Conta
call
Api
consultar
Conta
process
Response
Constructors
constructor
new
Debito
(
config
:
IConfig
)
:
Debito
Parameters
config:
IConfig
Returns
Debito
Methods
cadastrar
Conta
cadastrar
Conta
(
__namedParameters
:
{
AGENCIA_DIGITO
:
string
;
AGENCIA_NRO
:
string
;
COD_CLIE
:
string
|
number
;
CONTA_DIGITO
:
string
;
CONTA_NRO
:
string
;
NOME_BANCO
:
string
}
)
:
Promise
<
IDebitoCadastrarContaResponse
>
Parameters
__namedParameters:
{
AGENCIA_DIGITO
:
string
;
AGENCIA_NRO
:
string
;
COD_CLIE
:
string
|
number
;
CONTA_DIGITO
:
string
;
CONTA_NRO
:
string
;
NOME_BANCO
:
string
}
AGENCIA_
DIGITO
:
string
AGENCIA_
NRO
:
string
COD_
CLIE
:
string
|
number
CONTA_
DIGITO
:
string
CONTA_
NRO
:
string
NOME_
BANCO
:
string
Returns
Promise
<
IDebitoCadastrarContaResponse
>
Protected
call
Api
call
Api
(
__namedParameters
:
{
data
:
any
;
method
:
"get"
|
"GET"
|
"delete"
|
"DELETE"
|
"head"
|
"HEAD"
|
"options"
|
"OPTIONS"
|
"post"
|
"POST"
|
"put"
|
"PUT"
|
"patch"
|
"PATCH"
|
"link"
|
"LINK"
|
"unlink"
|
"UNLINK"
;
params
:
any
}
)
:
Promise
<
IApiResponse
>
Parameters
__namedParameters:
{
data
:
any
;
method
:
"get"
|
"GET"
|
"delete"
|
"DELETE"
|
"head"
|
"HEAD"
|
"options"
|
"OPTIONS"
|
"post"
|
"POST"
|
"put"
|
"PUT"
|
"patch"
|
"PATCH"
|
"link"
|
"LINK"
|
"unlink"
|
"UNLINK"
;
params
:
any
}
data
:
any
method
:
"get"
|
"GET"
|
"delete"
|
"DELETE"
|
"head"
|
"HEAD"
|
"options"
|
"OPTIONS"
|
"post"
|
"POST"
|
"put"
|
"PUT"
|
"patch"
|
"PATCH"
|
"link"
|
"LINK"
|
"unlink"
|
"UNLINK"
params
:
any
Returns
Promise
<
IApiResponse
>
consultar
Conta
consultar
Conta
(
__namedParameters
:
{
COD_CLIE
:
string
|
number
}
)
:
Promise
<
IDebitoConsultarContaResponse
>
Parameters
__namedParameters:
{
COD_CLIE
:
string
|
number
}
COD_
CLIE
:
string
|
number
Returns
Promise
<
IDebitoConsultarContaResponse
>
Protected
process
Response
process
Response
(
response
:
IApiResponse
)
:
IApiResponse
Parameters
response:
IApiResponse
Returns
IApiResponse
Generated using
TypeDoc