Charge class
Constructors
- Charge()
Properties
- accessCode ↔ String?
-
getter/setter pair
- account ↔ BankAccount?
-
getter/setter pair
-
additionalParameters
→ Map<
String, String?> ? -
no setter
- amount ↔ int
-
Amount to pay in base currency. Must be a valid positive number
getter/setter pair
- bearer ↔ Bearer?
-
Who bears Paystack charges? Bearer.Account or Bearer.SubAccount
getter/setter pair
- card ↔ PaymentCard?
-
getter/setter pair
- currency ↔ String?
-
ISO 4217 payment currency code (e.g USD). Defaults to
Strings.ngn
.getter/setter pair - email ↔ String?
-
The email of the customer
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- locale ↔ String?
-
The locale used for formatting amount in the UI prompt. Defaults to
Strings.nigerianLocale
getter/setter pair - metadata → String?
-
no setter
- plan ↔ String?
-
getter/setter pair
- reference ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subAccount ↔ String?
-
getter/setter pair
- transactionCharge ↔ int?
-
getter/setter pair
Methods
-
addParameter(
String key, String value) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
putCustomField(
String displayName, String value) → dynamic -
putMetaData(
String name, dynamic value) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited