PaymentIntent class

Inheritance
Annotations
  • @JsonSerializable.new()

Constructors

PaymentIntent({required _PaymentIntentObject object, required String id, required int amount, required int amountReceived, required String clientSecret, required String currency, required String status, AutomaticPaymentMethods automaticPaymentMethods = const AutomaticPaymentMethods(), DateTime? canceledAt, DateTime? created, String? customer, String? description, String? latestCharge, Map<String, String>? metadata, String? paymentMethod, Set<PaymentMethodType>? paymentMethodTypes, String? receiptEmail, SetupFutureUsage? setupFutureUsage, ShippingSpecification? shipping, String? statementDescriptor, String? statementDescriptorSuffix})
PaymentIntent.fromJson(Map<String, dynamic> json)
factory

Properties

amount → int
final
amountReceived → int
final
automaticPaymentMethods → AutomaticPaymentMethods
final
canceledAt → DateTime?
final
clientSecret → String
final
created → DateTime?
final
currency → String
final
customer → String?
final
description → String?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
latestCharge → String?
final
metadata → Map<String, String>?
final
object → _PaymentIntentObject
final
paymentMethod → String?
final
paymentMethodTypes → Set<PaymentMethodType>?
final
receiptEmail → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
setupFutureUsage → SetupFutureUsage?
final
shipping → ShippingSpecification?
final
statementDescriptor → String?
final
statementDescriptorSuffix → String?
final
status → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

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