LazerPayData class

Constructors

LazerPayData({required String publicKey, required String name, required String email, required String amount, String reference = '', bool acceptPartialPayment = false, LazerPayCurency currency = LazerPayCurency.NGN, Map<String, dynamic> metadata = const {}})
LazerPayData.fromJson(String source)
factory
LazerPayData.fromMap(Map<String, dynamic> map)
factory

Properties

acceptPartialPayment bool
Unique transaction reference
final
amount String
The amount
final
Your business' businessLogo
final
currency LazerPayCurency
Lazerpay currency type
final
currencyString String
Lazerpay currency type as String
no setter
email String
This users email
final
hashCode int
The hash code for this object.
no setterinherited
isProd bool
no setter
metadata Map<String, dynamic>
final
name String
The users name
final
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setter
publicKey String
Your public key an be found on your dashboard settings
final
reference String
Accept partial payments
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setter

Methods

copyWith({String? publicKey, String? name, String? firstName, String? amount, LazerPayCurency? currency, String? reference, bool? acceptPartialPayment, String? email, Map<String, dynamic>? metadata}) LazerPayData
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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