JuicyWayChekoutOptions class
Constructors
-
JuicyWayChekoutOptions.new({required int amount, JuicyWayCurrency? currency, String? currencyString, required String key, required PaymentMethod paymentMethod, String? reference, String? direction, String? customerId, String? accountId, JuicywayCustomer? customer, String? appName, bool isLive = true, bool showPurchaseItems = false, String? description, Map<
String, dynamic> ? metadata, Map<String, dynamic> ? paymentMethodMap}) -
const
Properties
- accountId → String?
-
final
- amount → int
-
final
- appName → String?
-
final
- currency → JuicyWayCurrency?
-
final
- currencyString → String?
-
final
- customer → JuicywayCustomer?
-
final
- customerId → String?
-
final
- description → String?
-
final
- direction → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLive → bool
-
final
- key → String
-
final
-
metadata
→ Map<
String, dynamic> ? -
final
- paymentMethod → PaymentMethod
-
final
-
paymentMethodMap
→ Map<
String, dynamic> ? -
final
-
props
→ List<
Object> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- reference → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showPurchaseItems → bool
-
final
- stringify → bool
-
If set to
true
, the toString method will be overridden to output this instance's props.no setter
Methods
-
copyWith(
{int? amount, String? accountId, JuicyWayCurrency? currency, String? currencyString, String? reference, String? direction, String? customerId, String? description, String? key, JuicywayCustomer? customer, Map< String, dynamic> ? metadata, Map<String, dynamic> ? paymentMethodMap, PaymentMethod? paymentMethod, String? appName, bool? showPurchaseItems, bool? isLive}) → JuicyWayChekoutOptions -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, String?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited