STPSetupIntentUsage

@objc
public enum STPSetupIntentUsage : Int

Indicates how the payment method is intended to be used in the future.

  • Unknown value. Update your SDK, or use allResponseFields for custom handling.

    Declaration

    Swift

    case unknown
  • No value was provided.

    Declaration

    Swift

    case none
  • Indicates you intend to only reuse the payment method when the customer is in your checkout flow.

    Declaration

    Swift

    case onSession
  • Indicates you intend to reuse the payment method when the customer may or may not be in your checkout flow.

    Declaration

    Swift

    case offSession