P24PaymentMethodDetails class abstract
- Implemented types
- Available extensions
- Annotations
-
- @Freezed.new(unionKey: 'type')
Constructors
- P24PaymentMethodDetails({@JsonKey.new(name: "billing_details") required BillingDetails? billingDetails})
-
Use stripe.confirmCardPayment with payment data from an Element by
passing a card or cardNumber Element as payment_method
card
in the data argument.constfactory -
P24PaymentMethodDetails.fromJson(Map<
String, dynamic> json) -
factory
- P24PaymentMethodDetails.id(String id)
-
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_P24PaymentMethodDetailsWithBilling value), {required TResult id(_IdP24PaymentMethodDetailsIdOnly value)}) → TResult -
Available on P24PaymentMethodDetails, provided by the P24PaymentMethodDetailsPatterns extension
Aswitch
-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_P24PaymentMethodDetailsWithBilling value)?, {TResult? id(_IdP24PaymentMethodDetailsIdOnly value)?}) → TResult? -
Available on P24PaymentMethodDetails, provided by the P24PaymentMethodDetailsPatterns extension
A variant ofmap
that fallback to returningnull
. -
maybeMap<
TResult extends Object?> (TResult $default(_P24PaymentMethodDetailsWithBilling value)?, {TResult id(_IdP24PaymentMethodDetailsIdOnly value)?, required TResult orElse()}) → TResult -
Available on P24PaymentMethodDetails, provided by the P24PaymentMethodDetailsPatterns extension
A variant ofmap
that fallback to returningorElse
. -
maybeWhen<
TResult extends Object?> (TResult $default(BillingDetails? billingDetails)?, {TResult id(String id)?, required TResult orElse()}) → TResult -
Available on P24PaymentMethodDetails, provided by the P24PaymentMethodDetailsPatterns extension
A variant ofwhen
that fallback to anorElse
callback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this P24PaymentMethodDetails to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(BillingDetails? billingDetails), {required TResult id(String id)}) → TResult -
Available on P24PaymentMethodDetails, provided by the P24PaymentMethodDetailsPatterns extension
Aswitch
-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(BillingDetails? billingDetails)?, {TResult? id(String id)?}) → TResult? -
Available on P24PaymentMethodDetails, provided by the P24PaymentMethodDetailsPatterns extension
A variant ofwhen
that fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited