SCPCollectedData

Objective-C


@interface SCPCollectedData : NSObject

Swift

class CollectedData : NSObject

Represents non-payment data collected using collectData.

  • Unique identifier for the object.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *stripeId;

    Swift

    var stripeId: String? { get }
  • Time at which the object was created.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSDate *_Nonnull created;

    Swift

    var created: Date { get }
  • Whether or not the object exists in livemode.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL livemode;

    Swift

    var livemode: Bool { get }
  • Unavailable

    You cannot directly instantiate SCPCollectedData. You should only use one that has been returned by our SDK.

    See

    SCPTerminal.shared.collectData()

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Unavailable

    You cannot directly instantiate SCPCollectedData. You should only use one that has been returned by our SDK.

    See

    SCPTerminal.shared.collectData()

    Declaration

    Objective-C

    + (nonnull instancetype)new;