LpeSDKConfig class

Global configuration for LPE (Learmond Pay Element).

Use LpeSDKConfig.init(...) at app startup to provide default values such as Apple Pay merchant id or a Google Pay gateway merchant id. These defaults are used when individual calls do not provide explicit values.

Constructors

LpeSDKConfig()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Properties

appleMerchantId String?
Apple merchant id used for presenting Apple Pay (e.g. 'merchant.com.example')
getter/setter pair
defaultMerchantInfo String?
Optional default merchant info (one-line) shown beneath the merchant name
getter/setter pair
defaultMerchantName String?
Optional default merchant display name shown in in-app/web paysheets
getter/setter pair
googleGatewayMerchantId String?
Google Pay gateway merchant id (gateway-specific merchant identifier) For Stripe gateway flows this may be a value you obtain from Google Pay console or your gateway configuration.
getter/setter pair

Static Methods

init({String? appleMerchantId, String? googleGatewayMerchantId, String? defaultMerchantName, String? defaultMerchantInfo}) → void
Initialize common settings. Call once at app startup.