Environment

public struct Environment

Struct that defines the environment to retrieve resources from.

  • Adyen’s test environment.

    Declaration

    Swift

    public static let test: Environment
  • Adyen’s default live environment.

    Declaration

    Swift

    public static let live: Environment
  • Adyen’s European live environment.

    Declaration

    Swift

    public static let liveEurope: Environment
  • Adyen’s Australian live environment.

    Declaration

    Swift

    public static let liveAustralia: Environment
  • Adyen’s United States live environment.

    Declaration

    Swift

    public static let liveUnitedStates: Environment
  • Base URL for the logos.

    Declaration

    Swift

    public var baseURL: URL
  • Base URL for fetching a card public key with token.

    Declaration

    Swift

    public var cardPublicKeyBaseURL: URL
  • Declaration

    Swift

    public init(baseURL: URL? = nil, cardPublicKeyBaseURL: URL? = nil)