Preparing search index...
The search index is not available
@lacagnottedesproches/lcdp-js
@lacagnottedesproches/lcdp-js
LCDP
Interface LCDP
Represents available features from Afina API.
interface
LCDP
{
createDonation
:
(
payload
:
PayloadDonation
)
=>
Promise
<
DonationResult
>
;
createTokenAccount
:
(
payload
:
PayloadAccount
)
=>
Promise
<
TokenObject
>
;
createTokenAccountAndPot
:
(
payload
:
PayloadAccountAndPot
,
)
=>
Promise
<
TokenObject
>
;
createTokenPot
:
(
payload
:
PayloadPot
)
=>
Promise
<
TokenObject
>
;
getAvailableCountries
:
()
=>
Promise
<
Country
[]
>
;
getCategories
:
()
=>
Promise
<
Category
[]
>
;
getPot
:
(
potId
:
string
)
=>
Promise
<
Pot
>
;
getPots
:
(
params
?:
ParamsPagination
)
=>
Promise
<
PotsPagination
>
;
getStatsDashboard
:
(
ts_start
?:
number
,
ts_end
?:
number
,
)
=>
Promise
<
StatDashboard
>
;
getStatsPots
:
(
ts_start
?:
number
,
ts_end
?:
number
,
page
?:
number
,
per_page
?:
number
,
)
=>
Promise
<
StatsPotsPagination
>
;
init
:
()
=>
Promise
<
LCDP
>
;
stripe
:
undefined
|
null
|
Stripe
;
}
Index
Properties
create
Donation
create
Token
Account
create
Token
Account
And
Pot
create
Token
Pot
get
Available
Countries
get
Categories
get
Pot
get
Pots
get
Stats
Dashboard
get
Stats
Pots
init
stripe
Properties
create
Donation
createDonation
:
(
payload
:
PayloadDonation
)
=>
Promise
<
DonationResult
>
create
Token
Account
createTokenAccount
:
(
payload
:
PayloadAccount
)
=>
Promise
<
TokenObject
>
create
Token
Account
And
Pot
createTokenAccountAndPot
:
(
payload
:
PayloadAccountAndPot
,
)
=>
Promise
<
TokenObject
>
create
Token
Pot
createTokenPot
:
(
payload
:
PayloadPot
)
=>
Promise
<
TokenObject
>
get
Available
Countries
getAvailableCountries
:
()
=>
Promise
<
Country
[]
>
get
Categories
getCategories
:
()
=>
Promise
<
Category
[]
>
get
Pot
getPot
:
(
potId
:
string
)
=>
Promise
<
Pot
>
get
Pots
getPots
:
(
params
?:
ParamsPagination
)
=>
Promise
<
PotsPagination
>
get
Stats
Dashboard
getStatsDashboard
:
(
ts_start
?:
number
,
ts_end
?:
number
,
)
=>
Promise
<
StatDashboard
>
get
Stats
Pots
getStatsPots
:
(
ts_start
?:
number
,
ts_end
?:
number
,
page
?:
number
,
per_page
?:
number
,
)
=>
Promise
<
StatsPotsPagination
>
init
init
:
()
=>
Promise
<
LCDP
>
stripe
stripe
:
undefined
|
null
|
Stripe
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
create
Donation
create
Token
Account
create
Token
Account
And
Pot
create
Token
Pot
get
Available
Countries
get
Categories
get
Pot
get
Pots
get
Stats
Dashboard
get
Stats
Pots
init
stripe
@lacagnottedesproches/lcdp-js
Loading...
Represents available features from Afina API.