@japofc/baileys - v2.4.7
GitHub
npm
Preparing search index...
proto
SyncActionValue
CustomPaymentMethod
Class CustomPaymentMethod
Implements
ICustomPaymentMethod
Index
Constructors
constructor
Properties
country
credential
Id
metadata
type
Methods
to
JSON
create
decode
encode
from
Object
get
Type
Url
to
Object
Constructors
constructor
new
CustomPaymentMethod
(
p
?:
ICustomPaymentMethod
)
:
CustomPaymentMethod
Parameters
Optional
p
:
ICustomPaymentMethod
Returns
CustomPaymentMethod
Properties
country
country
:
string
credential
Id
credentialId
:
string
metadata
metadata
:
ICustomPaymentMethodMetadata
[]
type
type
:
string
Methods
to
JSON
toJSON
()
:
{
[
k
:
string
]:
any
}
Returns
{
[
k
:
string
]:
any
}
Static
create
create
(
properties
?:
ICustomPaymentMethod
)
:
CustomPaymentMethod
Parameters
Optional
properties
:
ICustomPaymentMethod
Returns
CustomPaymentMethod
Static
decode
decode
(
r
:
Reader
|
Uint8Array
<
ArrayBufferLike
>
,
l
?:
number
)
:
CustomPaymentMethod
Parameters
r
:
Reader
|
Uint8Array
<
ArrayBufferLike
>
Optional
l
:
number
Returns
CustomPaymentMethod
Static
encode
encode
(
m
:
ICustomPaymentMethod
,
w
?:
Writer
)
:
Writer
Parameters
m
:
ICustomPaymentMethod
Optional
w
:
Writer
Returns
Writer
Static
from
Object
fromObject
(
d
:
{
[
k
:
string
]:
any
}
)
:
CustomPaymentMethod
Parameters
d
:
{
[
k
:
string
]:
any
}
Returns
CustomPaymentMethod
Static
get
Type
Url
getTypeUrl
(
typeUrlPrefix
?:
string
)
:
string
Parameters
Optional
typeUrlPrefix
:
string
Returns
string
Static
to
Object
toObject
(
m
:
CustomPaymentMethod
,
o
?:
IConversionOptions
)
:
{
[
k
:
string
]:
any
}
Parameters
m
:
CustomPaymentMethod
Optional
o
:
IConversionOptions
Returns
{
[
k
:
string
]:
any
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
country
credential
Id
metadata
type
Methods
to
JSON
create
decode
encode
from
Object
get
Type
Url
to
Object
GitHub
npm
@japofc/baileys - v2.4.7
Loading...