SCPCollectConfiguration

Objective-C


@interface SCPCollectConfiguration : NSObject

Swift

class CollectConfiguration : NSObject

The CollectConfiguration contains configuration information relevant to collecting a payment method.

  • Bypass tipping selection if it would have otherwise been shown. You must be a part of the on-reader tipping beta for this to take effect.

    Declaration

    Objective-C

    @property (nonatomic) BOOL skipTipping;

    Swift

    var skipTipping: Bool { get set }
  • Initialize a CollectConfiguration

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSkipTipping:(BOOL)skipTipping;

    Swift

    init(skipTipping: Bool)

    Parameters

    skipTipping

    Bypass tipping selection if it would have otherwise been shown.

  • Unavailable

    Use initWithSkipTipping:

    Declaration

    Objective-C

    - (nonnull instancetype)init;