SCPSurcharge

Objective-C


@interface SCPSurcharge : NSObject <SCPJSONDecodable, NSCopying>

Swift

class Surcharge : NSObject, JSONDecodable, NSCopying

Contains details about the availability and maximum amount for surcharging on this PaymentIntent.

  • Surcharge availability

    Declaration

    Objective-C

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

    Swift

    var status: String { get }
  • The maximum surcharge amount allowed for this PaymentIntent.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSUInteger maximumAmount;

    Swift

    var maximumAmount: UInt { get }
  • Unavailable

    You cannot directly instantiate SCPSurcharge.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Unavailable

    You cannot directly instantiate SCPSurcharge.

    Declaration

    Objective-C

    + (nonnull instancetype)new;