PaymentIntentAttach class

Constructors

PaymentIntentAttach({required String paymentMethod, String? clientKey, String? returnUrl})
Use to attach Payment Intent and returns a PaymentIntentAttachResponse object
const
PaymentIntentAttach.fromJson(String source)
Converts String of json to PaymentIntentAttach class Use to attach Payment Intent and returns a PaymentIntentAttachResponse object
factory
PaymentIntentAttach.fromMap(Map<String, dynamic> map)
Converts Map<String,dynamic> to PaymentIntentAttach class Use to attach Payment Intent and returns a PaymentIntentAttachResponse object
factory

Properties

clientKey String?
From PaymentIntentResponse client key if the key used is a public API key
final
hashCode int
The hash code for this object.
no setter
paymentMethod String
id of PaymentMethod to attach to the PaymentIntent
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
returnUrl String?
An optional value for card payment method but required for paymaya. The URL to redirect your customer back to after they authenticate or cancel their payment. This parameter is only used for redirect-based payment methods.
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 setterinherited

Methods

copyWith({String? paymentMethod, String? clientKey, String? returnUrl}) PaymentIntentAttach
Use to attach Payment Intent and returns a PaymentIntentAttachResponse object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Converts Map<String,dynamic> to String json
toMap() Map<String, dynamic>
Converts PaymentIntentAttach to Map<String,dynamic>
toString() String
A string representation of this object.

Operators

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