STPSetupIntent

public class STPSetupIntent : NSObject, STPAPIResponseDecodable

A SetupIntent guides you through the process of setting up a customer’s payment credentials for future payments.

Deprecated

  • Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. @deprecated Metadata is not returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.

    Declaration

    Swift

    @available(*, deprecated, message: "Metadata is not returned to clients using publishable keys. Retrieve them on your server using your secret key instead.")
    @objc
    public private(set) var metadata: [String : String]? { get }
  • Declaration

    Swift

    @objc
    public let allResponseFields: [AnyHashable : Any]

STPAPIResponseDecodable