SCPOfflineDetails

Objective-C


@interface SCPOfflineDetails : NSObject <NSCopying>

Swift

class OfflineDetails : NSObject, NSCopying

The payment details available via intent.offlineDetails when a payment is created or confirmed while offline.

When an intent is created offline, the intent.stripeId will be nil. To keep track of offline payments, we recommend using the intent.metadata with your own identifiers.

  • Time that the payment was collected.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSDate *collectedAt;

    Swift

    var collectedAt: Date? { get }
  • Set to YES if the PaymentIntent needs to be uploaded. The payment intent can be optionally captured after it is uploaded.

    Declaration

    Objective-C

    @property (nonatomic) BOOL requiresUpload;

    Swift

    var requiresUpload: Bool { get set }
  • The amount details read during collection. Includes tip.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) SCPAmountDetails *amountDetails;

    Swift

    var amountDetails: SCPAmountDetails? { get }
  • Details about the card-present payment method used to process this PaymentIntent.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) SCPOfflineCardPresentDetails *cardPresentDetails;

    Swift

    var cardPresentDetails: SCPOfflineCardPresentDetails? { get }