TipMode

public enum TipMode : String

enum for indicating the mode for aquiring a tip

  • the tipAmount must not be null or negative

    Declaration

    Swift

    case TIP_PROVIDED = "TIP_PROVIDED"
  • the tip screen will display before taking the payment

    Declaration

    Swift

    case ON_SCREEN_BEFORE_PAYMENT = "ON_SCREEN_BEFORE_PAYMENT"
  • the tip is 0, and no tip screen is displayed

    Declaration

    Swift

    case NO_TIP = "NO_TIP"