ODWApplePayLauncherError

@objc
public enum ODWApplePayLauncherError : Int, CustomStringConvertible, Error

An enum representing ODWApplePayLauncher specific errors

  • The configuration has not been set

    Declaration

    Swift

    case configurationNotSet
  • The delegate has not been set

    Declaration

    Swift

    case delegateNotSet
  • The merchant id is empty

    Declaration

    Swift

    case emptyMerchantId
  • The company label is empty

    Declaration

    Swift

    case emptyCompanyLabel
  • The country code is not of length 2

    Declaration

    Swift

    case invalidCountryCode
  • The currency code is not of length 3

    Declaration

    Swift

    case invalidCurrencyCode
  • The transaction amount is a negative number

    Declaration

    Swift

    case negativeAmount
  • The device is not set up for Apple Pay payments

    Declaration

    Swift

    case applePayNotSupported
  • The line items sum total does not equal the total amount

    Declaration

    Swift

    case lineItemTotalMismatch
  • A string representation of this enum

    Declaration

    Swift

    public var description: String { get }