StripeCustomer class

Create a stripe customer (payment account).

Basically, the payment account and payment information are created together.

You can make payments within Stripe by creating a payment account.

ストライプのカスタマー(支払いアカウント)を作成します。

基本的には支払いアカウントと支払い情報を一緒に作成します。

支払いアカウントを作成することでStripe内で決済を行うことが可能です。

Inheritance

Constructors

StripeCustomer({StripePurchaseMasamuneAdapter? adapter})
Create a stripe customer (payment account).

Properties

adapter StripePurchaseMasamuneAdapter
TAdapter to be used.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
primaryAdapter StripePurchaseMasamuneAdapter
Specifies the default TAdapter if adapter is Null.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → void
The current value of the object. When the value changes, the callbacks registered with addListener will be invoked.
no setterinherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
create({required String userId, required void builder(Uri endpoint, Widget webView, VoidCallback onSuccess, VoidCallback onCancel), VoidCallback? onClosed, Duration timeout = const Duration(seconds: 15)}) Future<void>
Create a stripe customer (payment account) associated with userId.
delete({required DocumentBase<StripeUserModel> customer, Duration timeout = const Duration(seconds: 15)}) Future<void>
Delete the created customer.
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
setValueInternal(void value) → void
Set method is used to update the current state.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

collection → const _$$_StripeUserModelCollectionQuery
Use this to retrieve the related StripeUserModel collection.
document → const _$$_StripeUserModelDocumentQuery
Use this to retrieve the relevant StripeUserModel documentation.
query → const _$StripeCustomerQuery
Query for StripeCustomer.