From bea75a8a70ed281f629dc498b7cee2ce0f652c14 Mon Sep 17 00:00:00 2001 From: George Maged Date: Tue, 12 Dec 2023 15:56:25 +0200 Subject: [PATCH] feat: exposed Card struct and network field (#5) --- Sources/PayrailsCSE/PayrailsCSE.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/PayrailsCSE/PayrailsCSE.swift b/Sources/PayrailsCSE/PayrailsCSE.swift index 151a3bb..6e7205b 100644 --- a/Sources/PayrailsCSE/PayrailsCSE.swift +++ b/Sources/PayrailsCSE/PayrailsCSE.swift @@ -154,7 +154,7 @@ public struct PayrailsCSE { } } -struct Card: Codable { +public struct Card: Codable { var holderReference: String var cardNumber: String var expiryMonth: String @@ -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 {