PeachPaymentsParams class
A class representing hyper parameters.
Both native SDKs replace the whole hyperParams object with their own
device/session values before it reaches the payment sheet, so nothing set
here arrives. Both of its options moved to Configuration, which is where
the native side actually reads them from; this class is retained only so
existing code keeps compiling, and its values are forwarded for you.
Constructors
- PeachPaymentsParams({@Deprecated('Use Configuration.disableBranding instead.') bool? disableBranding, @Deprecated('Use Configuration.defaultView instead.') bool? defaultView})
-
PeachPaymentsParams.fromJson(Map<
String, dynamic> json) -
factory
Properties
- defaultView ↔ bool?
-
Moved to Configuration.defaultView.
getter/setter pair
- disableBranding ↔ bool?
-
Moved to Configuration.disableBranding.
getter/setter pair
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited