CheckoutResult
Fields
purchasePurchaseThe order. Present on success — completed already for a free or fully credit-funded checkout, pending when a payment still has to be confirmed.
checkoutSessionCheckoutSessionPresent when money is owed: mount Stripe Elements against clientSecret, then call completeCheckout. Null when the order needed no payment.
errors[OperationError!]!