Capabilities

data class Capabilities(val allCapabilities: Set<String>)

Actions that can be performed on a payment, e.g. modifying the tip amount up or down.

  • Use canCapabilityName methods for convenient true/false check for capability, e.g. canEditTipUp.

  • Use allCapabilities property to get all capabilities of a Payment.

Constructors

Link copied to clipboard
constructor(allCapabilities: Set<String>)

Types

Link copied to clipboard
object Companion

Constants for capability names.

Properties

Link copied to clipboard

Functions

Link copied to clipboard

The tip amount can be edited down.

Link copied to clipboard

The tip amount can be edited up.