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
| Property | Type | Description |
|---|---|---|
| defaultCountry | DefaultCountry? | (Optional) The pre-selected destination country for a transfer |
| environment | ReadyRemitEnvironment | 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 |
Sample Usage
private let configuration: ReadyRemitConfiguration = .init(
defaultCountry: .none,
environment: .default,
fixedRemittanceServiceProvider: .none,
fixedTransferMethod: .none,
idleTimeoutInterval: .none,
localization: .default,
supportedAppearance: .default,
virtualSenderAccounts: .none
)Updated 8 days ago
