ConsumerPsp
public struct ConsumerPsp : Codable, Hashable, Equatable, Identifiable
Represents a Consumer Payment Service Provider (PSP).
-
The ID of the consumer PSP.
Declaration
Swift
public let id: String
-
The name of the consumer PSP.
Declaration
Swift
public let name: String
-
The list of country codes associated with the consumer PSP.
Declaration
Swift
public let countryCodeList: [String]
-
The embedded metadata of the consumer PSP.
Declaration
Swift
public let embedded: Embedded
-
Initializes a new instance of the ConsumerPsp struct.
Declaration
Swift
public init(id: String, name: String, countryCodeList: [String], embedded: Embedded)
Parameters
id
The ID of the consumer PSP.
name
The name of the consumer PSP.
countryCodeList
The list of country codes associated with the consumer PSP.
embedded
The embedded metadata of the consumer PSP.
-
Represents the profile image of a consumer PSP.
See moreDeclaration
Swift
struct ProfileImage : Codable, Hashable, Equatable
-
Represents the metadata of a consumer PSP.
See moreDeclaration
Swift
struct Meta : Codable, Hashable, Equatable
-
Represents the embedded metadata of a consumer PSP.
See moreDeclaration
Swift
struct Embedded : Codable, Hashable, Equatable
-
A stub instance of
ConsumerPsp
for testing purposes.Declaration
Swift
static let stub: ConsumerPsp