STPPaymentMethodCardNetworks

Objective-C

@interface STPPaymentMethodCardNetworks : NSObject <STPAPIResponseDecodable>

Swift

class STPPaymentMethodCardNetworks : NSObject, STPAPIResponseDecodable

STPPaymentMethodCardNetworks contains information about card networks that can be used to process a payment.

  • All available networks for the card.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSArray<NSString *> *available;

    Swift

    var available: [String] { get }
  • The preferred network for the card if one exists.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *preferred;

    Swift

    var preferred: String? { get }

Unavailable

  • Unavailable

    You cannot directly instantiate an instance STPPaymentMethodCardNetworks.

    You cannot directly instantiate an STPPaymentMethodCardNetworks instance. You should only use one that is part of an existing STPPaymentMethodCard object.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Unavailable

    You cannot directly instantiate an instance STPPaymentMethodCardNetworks.

    You cannot directly instantiate an STPPaymentMethodCardNetworks instance. You should only use one that is part of an existing STPPaymentMethodCard object.

    Declaration

    Objective-C

    + (nonnull instancetype)new;