Skip to content

Commit

Permalink
Merge pull request #69 from pokepay/fix/mynumberid
Browse files Browse the repository at this point in the history
Fix dateOfBirth type from Date to String
  • Loading branch information
ZweWaiYanHtet authored Sep 25, 2023
2 parents c56e135 + d2109c0 commit 072e17f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Pokepay.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Pokepay"
s.version = "2.0.5"
s.version = "2.0.6"
s.summary = "Pokepay iOS SDK."
s.description = <<-DESC
iOS SDK for Pokepay written in Swift.
Expand Down
2 changes: 1 addition & 1 deletion Pokepay.xcodeproj/Pokepay_Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.0.5</string>
<string>2.0.6</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
5 changes: 3 additions & 2 deletions Sources/Pokepay/BankAPI/Account/IdentifyIndividual.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ public extension BankAPI.Account {
public let name: String?
public let gender: Gender?
public let address: String?
public let dateOfBirth: Date?
/// pattern = YYYY-MM-DD
public let dateOfBirth: String?
public typealias Response = IdentificationResult

public init(accountId: String, signature: String, signingCert: String, expectedHash: String, name: String? = nil, gender: Gender? = nil, address: String? = nil, dateOfBirth: Date? = nil) {
public init(accountId: String, signature: String, signingCert: String, expectedHash: String, name: String? = nil, gender: Gender? = nil, address: String? = nil, dateOfBirth: String? = nil) {
self.accountId = accountId
self.signature = signature
self.signingCert = signingCert
Expand Down

0 comments on commit 072e17f

Please sign in to comment.