Enumerations

The following enumerations are available globally.

  • Address type.

    • residential: Residential address.
    • commercial: Commercial address.
    See more

    Declaration

    Swift

    @objc
    public enum AddressType : Int
  • Amount modificator type.

    • percentBased: Percent-based modification.
    • fixedAmount: Fixed amount modification.
    See more

    Declaration

    Swift

    @objc
    public enum AmountModificatorType : Int, CaseIterable
  • Status of the automatic scheduled action after successful charge authorization.

    See more

    Declaration

    Swift

    @objc
    public enum AuthorizeActionStatus : Int
  • Status of the charge or authorize.

    See more

    Declaration

    Swift

    @objc
    public enum ChargeStatus : Int
  • All possible error codes.

    See more

    Declaration

    Swift

    @objc
    public enum ErrorCode : Int, Codable
  • Area measurement unit.

    See more

    Declaration

    Swift

    @objc(MeasurementArea)
    public enum Area : Int, CaseIterable
  • Duration measurement unit.

    See more

    Declaration

    Swift

    @objc(MeasurementDuration)
    public enum Duration : Int, CaseIterable
  • Electric charge measurement unit.

    See more

    Declaration

    Swift

    @objc(MeasurementElectricCharge)
    public enum ElectricCharge : Int, CaseIterable
  • Electric current mesurement unit.

    See more

    Declaration

    Swift

    @objc(MeasurementElectricCurrent)
    public enum ElectricCurrent : Int, CaseIterable
  • Energy measurement unit.

    See more

    Declaration

    Swift

    @objc(MeasurementEnergy)
    public enum Energy : Int, CaseIterable
  • Length measurement unit.

    See more

    Declaration

    Swift

    @objc(MeasurementLength)
    public enum Length : Int, CaseIterable
  • Mass measurement unit.

    See more

    Declaration

    Swift

    @objc(MeasurementMass)
    public enum Mass : Int, CaseIterable
  • Power measurement unit.

    See more

    Declaration

    Swift

    @objc(MeasurementPower)
    public enum Power : Int, CaseIterable
  • Volume measurement unit.

    See more

    Declaration

    Swift

    @objc(MeasurementVolume)
    public enum Volume : Int, CaseIterable
  • Enum defining SDK mode.

    See more

    Declaration

    Swift

    @objc
    public enum SDKMode : Int, CaseIterable
  • Enum describing error type.

    • api: API error.
    • network: Network error.
    • serialization: Serialization error.
    • unknown: Unknown error.
    See more

    Declaration

    Swift

    @objc
    public enum TapSDKErrorType : Int
  • Token type.

    • card: Card token.
    • savedCard: Saved card token.
    See more

    Declaration

    Swift

    @objc
    public enum TokenType : Int
  • Transaction mode.

    See more

    Declaration

    Swift

    @objc
    public enum TransactionMode : Int, CaseIterable
  • SDK appearance mode.

    • fullscreen: SDK UI will appear fullscreen.
    • windowed: SDK UI will try to take as little space on the screen as possible.
    • default: Default mode is fullscreen for Payment and Authorization and windowed for saving the card.
    See more

    Declaration

    Swift

    @objc
    public enum SDKAppearanceMode : Int, CaseIterable