Skip to content

Commit 5023a8a

Browse files
author
Sharma Elanthiriayan
committed
Rename into taxes to maintain consistency in naming.
1 parent f86dab2 commit 5023a8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Networking/Networking/Model/Order.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public struct Order: Decodable, GeneratedCopiable, GeneratedFakeable {
163163

164164
let fees = try container.decode([OrderFeeLine].self, forKey: .feeLines)
165165

166-
let tax = try container.decode([OrderTaxLine].self, forKey: .taxLines)
166+
let taxes = try container.decode([OrderTaxLine].self, forKey: .taxLines)
167167

168168
self.init(siteID: siteID,
169169
orderID: orderID,
@@ -192,7 +192,7 @@ public struct Order: Decodable, GeneratedCopiable, GeneratedFakeable {
192192
coupons: coupons,
193193
refunds: refunds,
194194
fees: fees,
195-
taxes: tax)
195+
taxes: taxes)
196196
}
197197

198198
public static var empty: Order {

0 commit comments

Comments
 (0)