ReadyRemitConfiguration

The options available for customizing a branded experience

Definition

public struct ReadyRemitConfiguration: Sendable {
    public init(
        defaultCountry: DefaultCountry? = .none,
        environment: ReadyRemitEnvironment = .default,
        fixedRemittanceServiceProvider: RemittanceServiceProvider? = .none,
        fixedTransferMethod: TransferMethod? = .none,
        idleTimeoutInterval: TimeInterval? = .none,
        localization: Localization = .default,
        supportedAppearance: SupportedAppearance = .default,
        virtualSenderAccounts: [SourceAccount]? = .none
    ) {
        ...
    }
}

Properties

PropertyTypeDescription
defaultCountryDefaultCountry?(Optional) The pre-selected destination country for a transfer
environmentReadyRemitEnvironmentA configured space that includes infrastructure, settings, and data to support a specific stage of the development lifecycle
fixedRemittanceServiceProviderRemittanceServiceProvider?A specific remittance service provider to be used for transfers
fixedTransferMethodTransferMethod?A specific transfer method to be used for transfers
idleTimeoutIntervalTimeInterval?(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.
localizationLocalizationThe language and region that determine how localized content is presented
supportedAppearanceSupportedAppearanceControls whether the SDK uses light, dark, or device appearance
virtualSenderAccounts[SourceAccount]?A list of accounts a sender may choose from to fund a transfer

Sample Usage

private let configuration: ReadyRemitConfiguration = .init(
    defaultCountry: .none,
    environment: .default,
    fixedRemittanceServiceProvider: .none,
    fixedTransferMethod: .none,
    idleTimeoutInterval: .none,
    localization: .default,
    supportedAppearance: .default,
    virtualSenderAccounts: .none
)