LokotroPayConfigs class

Per-checkout configuration for the LokotroPayCheckout widget.

Process-wide concerns — environment, publishable key, timeouts, native-pay merchant IDs — live on LokotroPayConfig and are set once via LokotroPay.init. This class carries only the per-transaction context.

Constructors

LokotroPayConfigs({required String token, Duration? timeout, String acceptLanguage = 'fr', String? googlePayMerchantId, String? googlePayGatewayMerchantId, String? applePayMerchantId})

Properties

acceptLanguage String
Accept-Language header for this checkout. When null, the SDK uses LokotroPay.instance.config.defaultLocale.
final
applePayMerchantId String?
final
googlePayGatewayMerchantId String?
final
googlePayMerchantId String?
Per-checkout overrides for native-pay merchant IDs. These fall back to LokotroPayConfig when null.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout Duration?
Optional per-checkout HTTP timeout override. When null, the SDK uses LokotroPay.instance.config.effectiveTimeout.
final
token String
Per-checkout authentication token issued by the merchant backend.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited