PaymentIntentResponseAttributes class

Constructors

PaymentIntentResponseAttributes({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<PaymentsIntentResponse> payments, PaymentIntentNextAction? nextAction, required PaymentMethodOptions paymentMethodOptions, required Map<String, dynamic> metadata})
const
PaymentIntentResponseAttributes.fromJson(String source)
factory
PaymentIntentResponseAttributes.fromMap(Map<String, dynamic> map)
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<PaymentsIntentResponse>
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<PaymentsIntentResponse>? payments, PaymentIntentNextAction? nextAction, PaymentMethodOptions? paymentMethodOptions, Map<String, dynamic>? metadata}) PaymentIntentResponseAttributes
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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