StripeReturnPathOptions class

Set return_url when used with Stripe's WebView.

Mobile is basically used by default, but for the Web, etc., it is possible to set this to direct the user to a specific URL.

StripeのWebViewで用いる場合のreturn_urlの設定。

モバイルは基本的にデフォルトで利用しますが、Web等の場合こちらを設定して特定のURLに誘導することが可能です。

Annotations

Constructors

StripeReturnPathOptions({String cancelOnCreateAccount = "/create_account/cancel", String successOnCreateAccount = "/create_account/success", String finishedOnAuthorization = "/authorization/finished", String successOnCreateCustormerAndPayment = "/create_custormer_and_payment/success", String cancelOnCreateCustormerAndPayment = "/create_custormer_and_payment/cancel", String finishedOnConfirmPurchase = "/confirm_purchase/finished", String successOnCreateSubscription = "/create_subscription/success", String cancelOnCreateSubscription = "/create_subscription/cancel"})
Set return_url when used with Stripe's WebView.
const

Properties

cancelOnCreateAccount String
The URL to cancel the account if it was created.
final
cancelOnCreateCustormerAndPayment String
URL for failed attempts to create customer and payment methods.
final
cancelOnCreateSubscription String
The URL of the canceled subscription creation.
final
finishedOnAuthorization String
The URL of the completed authorization.
final
finishedOnConfirmPurchase String
The URL of the completed payment finalization.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
successOnCreateAccount String
Success URL for the account created.
final
successOnCreateCustormerAndPayment String
URL of successfully created customer and payment methods.
final
successOnCreateSubscription String
The URL of a successfully created subscription.
final

Methods

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

Operators

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