Payment class
Payment class. This class includes all Payment entries.
Constructors
-
Payment({required int id, required String orderId, required String type, required int amount, required int captured, required int refunded, required String currency, required String state, required String facilitator, required String reference, required bool testmode, required bool autocapture, required String? link, required String? callbackUrl, required String successUrl, required String cancelUrl, required List<
Order> order, required List variables, required String expiresAt, required String createdAt, required String updatedAt}) - Payment.fromMap(Map map)
-
Mapping from map to Payment.
factory
Properties
- amount → int
-
final
- autocapture → bool
-
final
- callbackUrl → String?
-
final
- cancelUrl → String
-
final
- captured → int
-
final
- createdAt → String
-
final
- currency → String
-
final
- expiresAt → String
-
final
- facilitator → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
final
- link → String?
-
final
-
order
→ List<
Order> -
final
- orderId → String
-
final
- reference → String
-
final
- refunded → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String
-
final
- successUrl → String
-
final
- testmode → bool
-
final
- type → String
-
final
- updatedAt → String
-
final
- variables → List
-
final
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