STPPaymentMethodCardNetworks

public class STPPaymentMethodCardNetworks : NSObject, STPAPIResponseDecodable

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

  • Declaration

    Swift

    private(set) public var allResponseFields: [AnyHashable : Any] { get }
  • All available networks for the card.

    Declaration

    Swift

    @objc
    public private(set) var available: [String] { get }
  • The preferred network for the card if one exists.

    Declaration

    Swift

    @objc
    public private(set) var preferred: String? { get }

STPAPIResponseDecodable