CheckoutView
Public local checkout state, excluding all internal execution data.
Declaration
Section titled “Declaration”const CheckoutView: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{ checkoutId: Schema.brand<Schema.String, "CheckoutId">; status: Schema.Literal<"pending">; url: Schema.NullOr<Schema.brand<Schema.String, "CheckoutUrl">>;}>, Schema.Struct<{ checkoutId: Schema.brand<Schema.String, "CheckoutId">; status: Schema.Literal<"completed">;}>, Schema.Struct<{ checkoutId: Schema.brand<Schema.String, "CheckoutId">; status: Schema.Literal<"expired">;}>, Schema.Struct<{ checkoutId: Schema.brand<Schema.String, "CheckoutId">; status: Schema.Literal<"canceled">;}>, Schema.Struct<{ checkoutId: Schema.brand<Schema.String, "CheckoutId">; status: Schema.Literal<"failed">; failure: Schema.Struct<{ reason: Schema.NonEmptyString; message: Schema.NonEmptyString; failedAt: Schema.brand<Schema.Int, "EpochMilliseconds">; details: Schema.NullOr<Schema.Struct<{ provider: Schema.NullOr<...>; httpStatus: Schema.NullOr<...>; reason: Schema.NullOr<...>; message: Schema.NullOr<...>; requestId: Schema.NullOr<...>; providerReference: Schema.NullOr<...>; }>>; }>;}>]>;