CheckoutSession class abstract
CheckoutSession
Properties:
- id
- cancelUrl
- successUrl
- redirectUrl
- currency
- amountSubtotal
- amountTotal
- locale
- products
- paymentStatus
- status
- trialPeriod - Trial period duration in ISO 8601 format.
- user
- createdAt
- expiresAt
- Annotations
-
- @BuiltValue()
Constructors
- CheckoutSession([void updates(CheckoutSessionBuilder b)])
-
factory
Properties
- amountSubtotal → double
-
no setter
- amountTotal → double
-
no setter
- cancelUrl → String
-
no setter
- createdAt → DateTime
-
no setter
- currency → String
-
no setter
- email → String?
-
no setter
- expiresAt → DateTime
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setter
- locale → String?
-
no setter
- paymentStatus → CheckoutSessionPaymentStatusEnum
-
no setter
-
products
→ BuiltList<
CheckoutSessionProduct> -
no setter
- redirectUrl → String?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → CheckoutSessionStatusEnum
-
no setter
- successUrl → String
-
no setter
- trialPeriod → String?
-
Trial period duration in ISO 8601 format.
no setter
- user → String?
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(CheckoutSessionBuilder)) → CheckoutSession -
Rebuilds the instance.
inherited
-
toBuilder(
) → CheckoutSessionBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
CheckoutSession> -
no setter