Skip to content

@mbanq/core-sdk-js v0.50.0


@mbanq/core-sdk-js / commands / GetAllAccountProducts

Function: GetAllAccountProducts()

GetAllAccountProducts(): Command<{ }, object[]>

Defined in: src/commands/rest/accountProduct.ts:178

Retrieves all savings account products.

Returns

Command<{ }, object[]>

A Command that when executed returns a list of all account products

Example

typescript
const listCmd = GetAllAccountProducts();
const result = await listCmd.execute(config);
result.forEach(product => console.log(product.name));

Released under the MIT License.