SessionPaymentIntentData class final

payment_intent_data_params

A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.

Constructors

SessionPaymentIntentData({int? applicationFeeAmount, PaymentIntentCaptureMethod? captureMethod, String? description, Map<String, String>? metadata, String? onBehalfOf, String? receiptEmail, SessionSetupFutureUsage? setupFutureUsage, SessionShipping? shipping, String? statementDescriptor, String? statementDescriptorSuffix, ChargeCreateOptionsTransferData? transferData, String? transferGroup})
payment_intent_data_params
const
SessionPaymentIntentData.fromJson(Object? json)
factory

Properties

applicationFeeAmount int?
final
captureMethod PaymentIntentCaptureMethod?
final
description String?
final
hashCode int
The hash code for this object.
no setterinherited
metadata Map<String, String>?
final
onBehalfOf String?
final
receiptEmail String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setupFutureUsage SessionSetupFutureUsage?
final
shipping SessionShipping?
shipping
final
statementDescriptor String?
final
statementDescriptorSuffix String?
final
transferData ChargeCreateOptionsTransferData?
final
transferGroup String?
final

Methods

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

Operators

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

Static Methods

encode<V>(SessionPaymentIntentData instance, Encoder<V> encoder) → V