Skip to content

Commit

Permalink
feat: exposed Card struct and network field (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
grgmgd authored Dec 12, 2023
1 parent bb66f7c commit bea75a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/PayrailsCSE/PayrailsCSE.swift
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public struct PayrailsCSE {
}
}

struct Card: Codable {
public struct Card: Codable {
var holderReference: String
var cardNumber: String
var expiryMonth: String
Expand Down Expand Up @@ -215,6 +215,7 @@ public struct InstrumentData: Codable {
public let expiryYear: String?
public let paymentToken: String?
public let email: String?
public let network: String?
}

public enum InstrumentStatus: String, Codable {
Expand Down

0 comments on commit bea75a8

Please sign in to comment.