SessionSubscriptionData class final

subscription_data_params

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

Constructors

SessionSubscriptionData({double? applicationFeePercent, DateTime? billingCycleAnchor, List<String>? defaultTaxRates, String? description, SessionInvoiceSettings? invoiceSettings, Map<String, String>? metadata, String? onBehalfOf, SessionProrationBehavior? prorationBehavior, SessionTransferData? transferData, DateTime? trialEnd, int? trialPeriodDays, SessionTrialSettings? trialSettings})
subscription_data_params
const
SessionSubscriptionData.fromJson(Object? json)
factory

Properties

applicationFeePercent double?
final
billingCycleAnchor DateTime?
final
defaultTaxRates List<String>?
final
description String?
final
hashCode int
The hash code for this object.
no setterinherited
invoiceSettings SessionInvoiceSettings?
invoice_settings_params
final
metadata Map<String, String>?
final
onBehalfOf String?
final
prorationBehavior SessionProrationBehavior?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transferData SessionTransferData?
transfer_data_specs
final
trialEnd DateTime?
final
trialPeriodDays int?
final
trialSettings SessionTrialSettings?
trial_settings_config
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>(SessionSubscriptionData instance, Encoder<V> encoder) → V