Provisioning

public struct Provisioning : Decodable, Identifiable, Equatable, Hashable

Represents a provisioning of payment sources.

  • id

    The ID of the provisioning.

    Declaration

    Swift

    public let id: String
  • The ID of the consumer PSP.

    Declaration

    Swift

    public let consumerPspId: String
  • The payment sources associated with the provisioning.

    Declaration

    Swift

    public let paymentSources: [PaymentSource]
  • HAL links related to the provisioning.

    Declaration

    Swift

    public let links: Links?
  • The embedded consumer PSP.

    Declaration

    Swift

    public let embedded: Embedded?
  • Initializes a new Provisioning instance.

    Declaration

    Swift

    public init(
        id: String,
        consumerPspId: String,
        paymentSources: [PaymentSource],
        links: Links? = nil,
        embedded: Embedded? = nil
    )

    Parameters

    id

    The ID of the provisioning.

    consumerPspId

    The ID of the consumer PSP.

    paymentSources

    The payment sources associated with the provisioning.

    links

    HAL links related to the provisioning.

    embedded

    The embedded consumer PSP.

  • HAL links related to a provisioning.

    See more

    Declaration

    Swift

    struct Links : Decodable, Equatable, Hashable
  • The embedded consumer PSP.

    See more

    Declaration

    Swift

    struct Embedded : Decodable, Equatable, Hashable
  • A stub instance of Provisioning for testing purposes.

    Declaration

    Swift

    static let stub: Provisioning