STPSourceProtocol

Objective-C

@protocol STPSourceProtocol <NSObject>

Swift

protocol STPSourceProtocol : NSObjectProtocol

Objects conforming to this protocol can be attached to a Stripe Customer object as a payment source.

  • The Stripe ID of the source.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull stripeID;

    Swift

    var stripeID: String { get }