Card
@objcMembers
@objc(PAYCard)
public final class Card : NSObject, Decodable
PAY.JP card object. For security reasons, the card number is masked and you can get only last4 character. The full documentations are following. cf. https://pay.jp/docs/api/#cardオブジェクト
-
Undocumented
Declaration
Swift
public let identifer: String
-
Undocumented
Declaration
Swift
public let name: String?
-
Undocumented
Declaration
Swift
public let last4Number: String
-
Undocumented
Declaration
Swift
public let brand: String
-
Undocumented
Declaration
Swift
public let expirationMonth: UInt8
-
Undocumented
Declaration
Swift
public let expirationYear: UInt16
-
Undocumented
Declaration
Swift
public let fingerprint: String
-
Undocumented
Declaration
Swift
public let liveMode: Bool
-
Undocumented
Declaration
Swift
public let createdAt: Date
-
Undocumented
Declaration
Swift
public let threeDSecureStatus: PAYThreeDSecureStatus?
-
Undocumented
Declaration
Swift
public let email: String?
-
Undocumented
Declaration
Swift
public let phone: String?
-
Undocumented
Declaration
Swift
public var rawValue: [String : Any]?
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
init(identifier:
name: last4Number: brand: expirationMonth: expirationYear: fingerprint: liveMode: createAt: threeDSecureStatus: email: phone: rawValue: ) Undocumented
Declaration
Swift
public init(identifier: String, name: String?, last4Number: String, brand: String, expirationMonth: UInt8, expirationYear: UInt16, fingerprint: String, liveMode: Bool, createAt: Date, threeDSecureStatus: PAYThreeDSecureStatus?, email: String?, phone: String?, rawValue: [String: Any]? = nil )