FundingSource

public struct FundingSource : Hashable

Representation of a Funding Source used in Platform SDK.

Supplementary

  • State type associated with FundingSource.

    • active: funding source is active.
    • inactive: funding source is inactive.
    • unknown: type could not be discerned - associated value is unknown and suggests that the SDK version is out of sync with the service.

    Declaration

    Swift

    public enum State : Hashable
  • Network type associated with FundingSource.

    Declaration

    Swift

    public enum Network : Hashable

Properties

  • id

    Identifier generated by the Virtual Cards Service.

    Declaration

    Swift

    public let id: String
  • Owner identifier of the funding source. Typically the user id.

    Declaration

    Swift

    public let owner: String
  • Version assigned by the service.

    Declaration

    Swift

    public let version: Int
  • Current state of the funding source.

    Declaration

    Swift

    public let state: State
  • Currency of the funding source.

    Declaration

    Swift

    public let currency: String
  • Last 4 digits of the card of the funding source.

    Declaration

    Swift

    public let last4: String
  • Payment Method network of the funding source.

    Declaration

    Swift

    public let network: Network

Lifecycle