FundingSource
public struct FundingSource : Hashable
Representation of a Funding Source used in Platform SDK.
-
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
See moreFundingSource
.Declaration
Swift
public enum Network : Hashable
-
Identifier generated by the Virtual Cards Service.
Declaration
Swift
public var id: String
-
Owner identifier of the funding source. Typically the user id.
Declaration
Swift
public var owner: String
-
Version assigned by the service.
Declaration
Swift
public var version: Int
-
Current state of the funding source.
Declaration
Swift
public var state: State
-
Currency of the funding source.
Declaration
Swift
public var currency: String
-
Effective transaction velocity, if any, applied to virtual card transactions funded by this funding source. This is the combined result of all velocity policies (global and funding source specific) as at the time this funding source was retrieved.
Declaration
Swift
public var transactionVelocity: TransactionVelocity?
-
Last 4 digits of the card of the funding source.
Declaration
Swift
public var last4: String
-
Payment Method network of the funding source.
Declaration
Swift
public var network: Network
-
Type of card represented by this funding source
Declaration
Swift
public var cardType: CardType
-
VirtualCards service timestamp to when the funding source record was created.
Declaration
Swift
public var createdAt: Date
-
VirtualCards service timestamp to when the funding source record was last updated.
Declaration
Swift
public var updatedAt: Date