Skip to main content
Version: 23.2.x

Class: Subsidies

api/entities/Subsidies.Subsidies

Handles all Account Subsidies related functionality

Hierarchy

Methods

getBeneficiaries

getBeneficiaries(): Promise<SubsidyWithAllowance[]>

Get the list of Subsidy relationship along with their subsidized amount for which this Account is the subsidizer

Returns

Promise<SubsidyWithAllowance[]>

Defined in

api/entities/Subsidies.ts:12


getSubsidizer

getSubsidizer(): Promise<null | SubsidyWithAllowance>

Get the Subsidy relationship along with the subsidized amount for this Account is the beneficiary. If this Account isn't being subsidized, return null

Returns

Promise<null | SubsidyWithAllowance>

Note

can be subscribed to

Defined in

api/entities/Subsidies.ts:61

getSubsidizer(callback): Promise<UnsubCallback>

Parameters

NameType
callbackSubCallback<null | SubsidyWithAllowance>

Returns

Promise<UnsubCallback>

Defined in

api/entities/Subsidies.ts:62