Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Issuer Identification Number #266

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ public struct PaymentMethodCard: Codable {
public var threeDSecureUsage: PaymentMethodCardThreeDSecureUsage?
/// If this Card is part of a card wallet, this contains the details of the card wallet.
public var wallet: PaymentMethodCardWallet?
/// The issuer identification number for the card. This is the first six digits of a card number.
public var iin: String?

public init(brand: PaymentMethodDetailsCardBrand? = nil,
checks: PaymentMethodDetailsCardChecks? = nil,
Expand All @@ -145,7 +147,8 @@ public struct PaymentMethodCard: Codable {
last4: String? = nil,
networks: PaymentMethodCardNetworks? = nil,
threeDSecureUsage: PaymentMethodCardThreeDSecureUsage? = nil,
wallet: PaymentMethodCardWallet? = nil) {
wallet: PaymentMethodCardWallet? = nil,
iin: String? = nil) {
self.brand = brand
self.checks = checks
self.country = country
Expand All @@ -158,6 +161,7 @@ public struct PaymentMethodCard: Codable {
self.networks = networks
self.threeDSecureUsage = threeDSecureUsage
self.wallet = wallet
self.iin = iin
}
}

Expand Down
Loading