Skip to content

Commit

Permalink
Merge pull request #34 from xendit/CC-4194/card-fingerprint
Browse files Browse the repository at this point in the history
[CC-4194] Added fingerprint to cardInfo model
  • Loading branch information
javiersuweijie authored Mar 29, 2021
2 parents 2456fef + db865ee commit cd10519
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Xendit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Xendit"
s.version = "3.0.0"
s.version = "3.0.1"
s.summary = "Xendit is an API for accepting payments online"
s.homepage = "https://www.xendit.co"
s.license = "MIT"
Expand Down
5 changes: 4 additions & 1 deletion Xendit/Models/XenditCardMetadata.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ import Foundation

// Card art url
open var cardArtUrl: String?

// Card fingerprint
open var fingerprint: String?

public override init() {
}
Expand All @@ -40,6 +43,6 @@ import Foundation
self.type = (response!["type"] as? String)
self.brand = (response!["brand"] as? String)
self.cardArtUrl = (response!["card_art_url"] as? String)

self.fingerprint = (response!["fingerprint"] as? String)
}
}

0 comments on commit cd10519

Please sign in to comment.