SCPNetworks

Objective-C

@interface SCPNetworks : NSObject <SCPJSONDecodable>

Swift

class SCPNetworks : NSObject, JSONDecodable

Contains information about card networks that can be used to process the payment.

  • All available networks for the card.

    Contains SCPCardBrand’s represented as NSNumber.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSArray<NSNumber *> *available;

    Swift

    var available: [NSNumber]? { 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;