SCPGeneratedFrom
Objective-C
@interface SCPGeneratedFrom : NSObject <NSCopying>
                Swift
class GeneratedFrom : NSObject, NSCopying
                Contains details of the original PaymentMethod that created this CardDetails object.
- 
                  
                  
The charge that created this object.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *charge;Swift
var charge: String? { get } - 
                  
                  
Transaction-specific details of the payment method used in the payment.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) SCPPaymentMethodDetails *paymentMethodDetails;Swift
var paymentMethodDetails: SCPPaymentMethodDetails? { get } - 
                  
                  
The ID of the SetupAttempt that generated this PaymentMethod, if any.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *setupAttempt;Swift
var setupAttempt: String? { get } - 
                  
                  
Unavailable
You cannot directly instantiate this class.
Declaration
Objective-C
- (nonnull instancetype)init; - 
                  
                  
Unavailable
You cannot directly instantiate this class.
Declaration
Objective-C
+ (nonnull instancetype)new;