PaymentIntentAttachResponseAttributes class
Response from payment intent attach
Constructors
-
PaymentIntentAttachResponseAttributes({required int amount, required String currency, required String description, required String statementDescriptor, required String status, required bool livemode, required String clientKey, required DateTime createdAt, required DateTime updatedAt, required String lastPaymentError, required List<
String> paymentMethodAllowed, required List<CreatePaymentResponse> payments, required PaymentMethodOptions paymentMethodOptions, PaymentIntentNextAction? nextAction, Map<String, dynamic> ? metadata}) -
Response from payment intent attach
const
- PaymentIntentAttachResponseAttributes.fromJson(String source)
-
Response from payment intent attach
factory
-
PaymentIntentAttachResponseAttributes.fromMap(Map<
String, dynamic> map) -
Response from payment intent attach
factory
Properties
- amount → int
-
final
- clientKey → String
-
final
- createdAt → DateTime
-
final
- currency → String
-
final
- description → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastPaymentError → String
-
final
- livemode → bool
-
final
-
metadata
→ Map<
String, dynamic> ? -
final
- nextAction → PaymentIntentNextAction?
-
final
-
paymentMethodAllowed
→ List<
String> -
final
- paymentMethodOptions → PaymentMethodOptions
-
final
-
payments
→ List<
CreatePaymentResponse> -
final
-
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
- statementDescriptor → String
-
final
- status → String
-
final
- stringify → bool
-
If set to
true
, the toString method will be overridden to output this instance's props.no setter - updatedAt → DateTime
-
final
Methods
-
copyWith(
{int? amount, String? currency, String? description, String? statementDescriptor, String? status, bool? livemode, String? clientKey, DateTime? createdAt, DateTime? updatedAt, String? lastPaymentError, List< String> ? paymentMethodAllowed, List<CreatePaymentResponse> ? payments, PaymentIntentNextAction? nextAction, PaymentMethodOptions? paymentMethodOptions, Map<String, dynamic> ? metadata}) → PaymentIntentAttachResponseAttributes - Response from payment intent attach
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Response from payment intent attach
-
toMap(
) → Map< String, dynamic> - Response from payment intent attach
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited