GratuityMode

Entries

Link copied to clipboard

No tipping prompt is shown. Use this when tipping is disabled or when managing the tipping flow yourself via MPI extensibility.

Link copied to clipboard

The SDK shows a tipping menu using sensible percentage defaults. No additional configuration required. Only percentage-based options are supported in this mode.

Link copied to clipboard

The SDK builds a tipping menu from the amounts or percentages you supply in services.cabcard.toro.core.model.GratuityConfig. Mixing both is not supported. An "Other Amount" option is included automatically; pressing Cancel on the amount entry screen applies a £0.00 tip without cancelling the transaction.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.