PayMittoConfiguration.swift
public struct PayMittoConfiguration: Sendable {
public init(
defaultCountry: DefaultCountry? = .none,
environment: PayMittoEnvironment = .default,
fixedRemittanceServiceProvider: RemittanceServiceProvider? = .none,
fixedTransferMethod: TransferMethod? = .none,
idleTimeoutInterval: TimeInterval? = .none,
localization: Localization = .default,
supportedAppearance: SupportedAppearance = .default,
virtualSenderAccounts: [SourceAccount]? = .none
) {
...
}
}
Property Type Description defaultCountry DefaultCountry ?(Optional) The pre-selected destination country for a transfer environment PayMittoEnvironment A configured space that includes infrastructure, settings, and data to support a specific stage of the development lifecycle fixedRemittanceServiceProvider RemittanceServiceProvider ?A specific remittance service provider to be used for transfers fixedTransferMethod TransferMethod ?A specific transfer method to be used for transfers idleTimeoutInterval TimeInterval ?(Optional) The threshold, in seconds, a session may remain inactive prior to closing the SDK. If specified, the minimum allowed value is 61 seconds; values below this will be ignored. localization Localization The language and region that determine how localized content is presented supportedAppearance SupportedAppearance Controls whether the SDK uses light, dark, or device appearance virtualSenderAccounts [SourceAccount ]? A list of accounts a sender may choose from to fund a transfer
Playground.swift
private let configuration: PayMittoConfiguration = .init(
defaultCountry: .none,
environment: .default,
fixedRemittanceServiceProvider: .none,
fixedTransferMethod: .none,
idleTimeoutInterval: .none,
localization: .default,
supportedAppearance: .default,
virtualSenderAccounts: .none
)