VirtualCardsConfig
public struct VirtualCardsConfig : Sendable, Equatable
Representation of a Virtual Card Config
-
The maximum number of funding sources that can be successfully created within a defined period.
Declaration
Swift
public var maxFundingSourceVelocity: [String] -
The maximum number of failed funding source creations that can be performed within a defined period.
Declaration
Swift
public var maxFundingSourceFailureVelocity: [String] -
The maximum number of pending funding source creations that can be performed within a defined period.
Declaration
Swift
public var maxFundingSourcePendingVelocity: [String] -
The maximum number of virtual cards that can be created within a defined period.
Declaration
Swift
public var maxCardCreationVelocity: [String] -
The maximum number of transactions that can be created within a defined period.
Declaration
Swift
public var maxTransactionVelocity: [CurrencyVelocity] -
The maximum transaction amount per currency.
Declaration
Swift
public var maxTransactionAmount: [CurrencyAmount] -
The list of supported virtual card currencies.
Declaration
Swift
public var virtualCardCurrencies: [String] -
The funding source support info.
Declaration
Swift
public var fundingSourceSupportInfo: [FundingSourceSupportInfo] -
The funding source client configuration.
Declaration
Swift
public var fundingSourceClientConfiguration: [FundingSourceClientConfiguration] -
The pricing policy for each funding source provider.
Declaration
Swift
public var pricingPolicy: PricingPolicy?
-
init(maxFundingSourceVelocity:maxFundingSourceFailureVelocity: maxFundingSourcePendingVelocity: maxCardCreationVelocity: maxTransactionVelocity: maxTransactionAmount: virtualCardCurrencies: fundingSourceSupportInfo: fundingSourceClientConfiguration: pricingPolicy: ) Initialise an instance of
VirtualCardConfig.Declaration
Swift
public init( maxFundingSourceVelocity: [String], maxFundingSourceFailureVelocity: [String], maxFundingSourcePendingVelocity: [String], maxCardCreationVelocity: [String], maxTransactionVelocity: [CurrencyVelocity], maxTransactionAmount: [CurrencyAmount], virtualCardCurrencies: [String], fundingSourceSupportInfo: [FundingSourceSupportInfo], fundingSourceClientConfiguration: [FundingSourceClientConfiguration], pricingPolicy: PricingPolicy )
VirtualCardsConfig Structure Reference