VirtualCardsConfig
public struct VirtualCardsConfig : 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]
-
Whether or not the sudoplatform.virtual-cards.bankAccountFundingSourceExpendable entitlement is required to provision a bank account funding source
Declaration
Swift
public var bankAccountFundingSourceExpendableEnabled: Bool
-
Flag determining whether bank account funding source creation flows are enabled. Mainly used to test edge cases around bank account funding.
Declaration
Swift
public var bankAccountFundingSourceCreationEnabled: Bool?
-
The funding source client configuration.
Declaration
Swift
public var fundingSourceClientConfiguration: [FundingSourceClientConfiguration]
-
The client application configuration keyed by application name.
Declaration
Swift
public var clientApplicationConfiguration: [String : ClientApplicationConfiguration]
-
The pricing policy for each funding source provider.
Declaration
Swift
public var pricingPolicy: PricingPolicy?
-
init(maxFundingSourceVelocity:
maxFundingSourceFailureVelocity: maxFundingSourcePendingVelocity: maxCardCreationVelocity: maxTransactionVelocity: maxTransactionAmount: virtualCardCurrencies: fundingSourceSupportInfo: bankAccountFundingSourceExpendableEnabled: bankAccountFundingSourceCreationEnabled: fundingSourceClientConfiguration: clientApplicationConfiguration: 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], bankAccountFundingSourceExpendableEnabled: Bool, bankAccountFundingSourceCreationEnabled: Bool, fundingSourceClientConfiguration: [FundingSourceClientConfiguration], clientApplicationConfiguration: [String: ClientApplicationConfiguration], pricingPolicy: PricingPolicy )