GlobalVariables class

Constructors

GlobalVariables()
factory
GlobalVariables.internal()

Properties

amount num
getter/setter pair
customerEmail String
getter/setter pair
customerFirstName String
getter/setter pair
customerLastName String
getter/setter pair
customerMerchantProfileId String
getter/setter pair
customerMobile String
getter/setter pair
description String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isfeesOnCustomer bool
getter/setter pair
logoStringUrl String?
getter/setter pair
merchantCode String
getter/setter pair
merchantHashCode String
getter/setter pair
merchantMobile String
getter/setter pair
merchantReferenceId String
getter/setter pair
getter/setter pair
onClosedByUser Function
getter/setter pair
onError ↔ dynamic Function(CowpayErrorModel error)
getter/setter pair
onSuccess ↔ dynamic Function(PaymentSuccessModel error)
getter/setter pair
pluginContext BuildContext
getter/setter pair
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
setGlobalVariables({required Function onClosedByUser, required dynamic onError(CowpayErrorModel error), required dynamic onSuccess(PaymentSuccessModel success), required BuildContext pluginContext, required String merchantCode, required String merchantHashCode, required String description, required String merchantReferenceId, required String merchantMobile, required String customerEmail, required String customerLastName, required String customerFirstName, required String customerMobile, required String customerMerchantProfileId, required num amount, required bool isfeesOnCustomer, String? logoStringUrl}) → void
toString() String
A string representation of this object.
inherited

Operators

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