CreatePaymentAttributes class
Constructors
- CreatePaymentAttributes({required double amount, String? description, required String currency, String? statementDescriptor, required PaymentSource source})
-
https://developers.paymongo.com/reference/create-a-payment
const
- CreatePaymentAttributes.fromJson(String source)
-
https://developers.paymongo.com/reference/create-a-payment
factory
-
CreatePaymentAttributes.fromMap(Map<
String, dynamic> map) -
https://developers.paymongo.com/reference/create-a-payment
factory
Properties
- amount → double
-
the package handles converting the amount * 100
final
- currency → String
-
defaults to PHP
final
- description → String?
-
description can be viewed on the paymongo dashboard
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → PaymentSource
-
final
- statementDescriptor → String?
-
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited
Methods
-
copyWith(
{double? amount, String? description, String? currency, String? statementDescriptor, PaymentSource? source}) → CreatePaymentAttributes - https://developers.paymongo.com/reference/create-a-payment
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - https://developers.paymongo.com/reference/create-a-payment
-
toMap(
) → Map< String, dynamic> - https://developers.paymongo.com/reference/create-a-payment
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited