Skip to content

Commit 3e9979f

Browse files
committed
ammend missing POSReceiptInformation
1 parent e062c05 commit 3e9979f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
public struct POSReceiptInformation: Equatable {
3+
public let storeName: String?
4+
public let storeAddress: String?
5+
public let phone: String?
6+
public let email: String?
7+
public let refundReturnsPolicy: String?
8+
9+
public init(storeName: String?, storeAddress: String?, phone: String?, email: String?, refundReturnsPolicy: String?) {
10+
self.storeName = storeName
11+
self.storeAddress = storeAddress
12+
self.phone = phone
13+
self.email = email
14+
self.refundReturnsPolicy = refundReturnsPolicy
15+
}
16+
17+
public static let empty = POSReceiptInformation(
18+
storeName: nil,
19+
storeAddress: nil,
20+
phone: nil,
21+
email: nil,
22+
refundReturnsPolicy: nil
23+
)
24+
}

0 commit comments

Comments
 (0)