yajsapi / Exports / rest/market / Agreement
rest/market.Agreement
• new Agreement(api
, subscription
, agreement_id
)
Parameters
Name | Type |
---|---|
api |
RequestorApi |
subscription |
Subscription |
agreement_id |
string |
Defined in
• Private
_api: any
Defined in
• Private
_id: any
Defined in
• Private
_subscription: any
Defined in
▸ confirm(): Promise
Returns
Promise
Defined in
▸ details(): Promise
Returns
Promise
Defined in
▸ id(): string
Returns
string
Defined in
▸ terminate(reason?
): Promise
Parameters
Name | Type | Default value |
---|---|---|
reason |
string |
"Finished" |
Returns
Promise
Defined in