teleproto - v1.230.0
GitHub
npm
Issues
Preparing search index...
Api
OnrampAvailability
Class OnrampAvailability
Hierarchy (
View Summary
)
VirtualClass
<
{
allowed
?:
boolean
;
buyAllowed
?:
boolean
;
countryCode
:
string
;
methods
:
TypeOnrampMethodAvailability
[]
;
state
?:
string
;
}
,
>
OnrampAvailability
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
allowed?
buy
Allowed?
class
Name
class
Type
CONSTRUCTOR_
ID
country
Code
methods
original
Args
state?
SUBCLASS_
OF_
ID
Constructors
constructor
new
OnrampAvailability
(
args
:
{
allowed
?:
boolean
;
buyAllowed
?:
boolean
;
countryCode
:
string
;
methods
:
OnrampMethodAvailability
[]
;
state
?:
string
;
}
,
)
:
OnrampAvailability
Parameters
args
:
{
allowed
?:
boolean
;
buyAllowed
?:
boolean
;
countryCode
:
string
;
methods
:
OnrampMethodAvailability
[]
;
state
?:
string
;
}
Returns
OnrampAvailability
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
OnrampAvailability
Parameters
reader
:
any
Returns
OnrampAvailability
Static
serialize
Bytes
serializeBytes
(
data
:
string
|
Buffer
<
ArrayBufferLike
>
)
:
Buffer
Parameters
data
:
string
|
Buffer
<
ArrayBufferLike
>
Returns
Buffer
Static
serialize
Date
serializeDate
(
date
:
number
|
Date
)
:
Buffer
Parameters
date
:
number
|
Date
Returns
Buffer
get
Bytes
getBytes
()
:
Buffer
Returns
Buffer
to
JSON
toJSON
()
:
{
allowed
?:
boolean
;
buyAllowed
?:
boolean
;
countryCode
:
string
;
methods
:
OnrampMethodAvailability
[]
;
state
?:
string
;
}
Returns
{
allowed
?:
boolean
;
buyAllowed
?:
boolean
;
countryCode
:
string
;
methods
:
OnrampMethodAvailability
[]
;
state
?:
string
;
}
Properties
Static
class
Name
className
:
string
Static
class
Type
classType
:
"constructor"
|
"request"
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
number
Optional
allowed
allowed
?:
boolean
Optional
buy
Allowed
buyAllowed
?:
boolean
class
Name
className
:
"OnrampAvailability"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
4190652787
country
Code
countryCode
:
string
methods
methods
:
OnrampMethodAvailability
[]
original
Args
originalArgs
:
{
allowed
?:
boolean
;
buyAllowed
?:
boolean
;
countryCode
:
string
;
methods
:
OnrampMethodAvailability
[]
;
state
?:
string
;
}
Optional
state
state
?:
string
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
1739292786
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
allowed
buy
Allowed
class
Name
class
Type
CONSTRUCTOR_
ID
country
Code
methods
original
Args
state
SUBCLASS_
OF_
ID
GitHub
npm
Issues
teleproto - v1.230.0
Loading...