Contents

init(amount:balanceType:)

Initializes a balance amount object with a customizable type of information.

Declaration

init?(amount: NSDecimalNumber, balanceType: INBalanceType)

Parameters

  • amount:

    The numerical amount associated with the balance.

  • balanceType:

    The type that indicates what the balance represents. For a list of possible values, see Inbalancetype.

Return Value

An initialized INBalanceAmount object.

Discussion

Use this method when initializing balance amounts that do not involve money.

See Also

Initializing a Balance Amount Object