SCPAllowRedisplay

Objective-C

enum SCPAllowRedisplay : NSUInteger {}

Swift

enum AllowRedisplay : UInt, @unchecked Sendable

A field used to indicate whether a payment method can be shown again to its customer in a checkout flow. Consent must be obtained to set this field.

  • This is the default value for payment methods where allow_redisplay wasn’t set.

    Declaration

    Objective-C

    SCPAllowRedisplayUnspecified

    Swift

    case unspecified = 0
  • Use always to indicate that this payment method can always be shown to a customer in a checkout flow.

    Declaration

    Objective-C

    SCPAllowRedisplayAlways

    Swift

    case always = 1
  • Use limited to indicate that this payment method can’t always be shown to a customer in a checkout flow. For example, it can only be shown in the context of a specific subscription.

    Declaration

    Objective-C

    SCPAllowRedisplayLimited

    Swift

    case limited = 2