Skip to content

Commit 51d7333

Browse files
authored
Merge pull request #5916 from selanthiraiyan/issue/5809-tax-lines-in-networking
Networking: Add tax lines to Orders
2 parents 89e8d77 + 21ea63c commit 51d7333

File tree

28 files changed

+242
-43
lines changed

28 files changed

+242
-43
lines changed

Fakes/Fakes/Networking.generated.swift

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,8 @@ extension Order {
300300
shippingLines: .fake(),
301301
coupons: .fake(),
302302
refunds: .fake(),
303-
fees: .fake()
303+
fees: .fake(),
304+
taxes: .fake()
304305
)
305306
}
306307
}
@@ -500,6 +501,23 @@ extension OrderStatusEnum {
500501
.pending
501502
}
502503
}
504+
extension OrderTaxLine {
505+
/// Returns a "ready to use" type filled with fake values.
506+
///
507+
public static func fake() -> OrderTaxLine {
508+
.init(
509+
taxID: .fake(),
510+
rateCode: .fake(),
511+
rateID: .fake(),
512+
label: .fake(),
513+
isCompoundTaxRate: .fake(),
514+
totalTax: .fake(),
515+
totalShippingTax: .fake(),
516+
ratePercent: .fake(),
517+
attributes: .fake()
518+
)
519+
}
520+
}
503521
extension PaymentGateway {
504522
/// Returns a "ready to use" type filled with fake values.
505523
///

Networking/Networking.xcodeproj/project.pbxproj

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,7 @@
467467
B5C6FCD420A373BB00A4F8E4 /* OrderMapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = B5C6FCD320A373BA00A4F8E4 /* OrderMapper.swift */; };
468468
B5C6FCD620A3768900A4F8E4 /* order.json in Resources */ = {isa = PBXBuildFile; fileRef = B5C6FCD520A3768900A4F8E4 /* order.json */; };
469469
B5DAEFF02180DD5A0002356A /* NotificationsRemote.swift in Sources */ = {isa = PBXBuildFile; fileRef = B5DAEFEF2180DD5A0002356A /* NotificationsRemote.swift */; };
470+
BAB373722795A1FB00837B4A /* OrderTaxLine.swift in Sources */ = {isa = PBXBuildFile; fileRef = BAB373712795A1FB00837B4A /* OrderTaxLine.swift */; };
470471
CC07865F267799EE00BA9AC1 /* ShippingLabelPurchase.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC07865E267799EE00BA9AC1 /* ShippingLabelPurchase.swift */; };
471472
CC0786612677B2DA00BA9AC1 /* ShippingLabelPurchaseMapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC0786602677B2DA00BA9AC1 /* ShippingLabelPurchaseMapper.swift */; };
472473
CC0786632678F79500BA9AC1 /* shipping-label-purchase-success.json in Resources */ = {isa = PBXBuildFile; fileRef = CC0786622678F79500BA9AC1 /* shipping-label-purchase-success.json */; };
@@ -543,8 +544,6 @@
543544
D823D91022377B4F00C90817 /* ShipmentTrackingProviderGroup.swift in Sources */ = {isa = PBXBuildFile; fileRef = D823D90F22377B4F00C90817 /* ShipmentTrackingProviderGroup.swift */; };
544545
D823D91222377DF300C90817 /* ShipmentTrackingProviderListMapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = D823D91122377DF200C90817 /* ShipmentTrackingProviderListMapper.swift */; };
545546
D823D91422377EE600C90817 /* shipment_tracking_providers.json in Resources */ = {isa = PBXBuildFile; fileRef = D823D91322377EE600C90817 /* shipment_tracking_providers.json */; };
546-
D865CE6E278CC19A002C8520 /* stripe-location.json in Resources */ = {isa = PBXBuildFile; fileRef = D865CE6C278CC19A002C8520 /* stripe-location.json */; };
547-
D865CE6F278CC19A002C8520 /* stripe-location-error.json in Resources */ = {isa = PBXBuildFile; fileRef = D865CE6D278CC19A002C8520 /* stripe-location-error.json */; };
548547
D865CE5B278CA10B002C8520 /* stripe-payment-intent-requires-payment-method.json in Resources */ = {isa = PBXBuildFile; fileRef = D865CE5A278CA10B002C8520 /* stripe-payment-intent-requires-payment-method.json */; };
549548
D865CE5D278CA159002C8520 /* stripe-payment-intent-requires-confirmation.json in Resources */ = {isa = PBXBuildFile; fileRef = D865CE5C278CA159002C8520 /* stripe-payment-intent-requires-confirmation.json */; };
550549
D865CE5F278CA183002C8520 /* stripe-payment-intent-requires-action.json in Resources */ = {isa = PBXBuildFile; fileRef = D865CE5E278CA183002C8520 /* stripe-payment-intent-requires-action.json */; };
@@ -554,6 +553,8 @@
554553
D865CE67278CA225002C8520 /* stripe-payment-intent-succeeded.json in Resources */ = {isa = PBXBuildFile; fileRef = D865CE66278CA225002C8520 /* stripe-payment-intent-succeeded.json */; };
555554
D865CE69278CA245002C8520 /* stripe-payment-intent-unknown-status.json in Resources */ = {isa = PBXBuildFile; fileRef = D865CE68278CA245002C8520 /* stripe-payment-intent-unknown-status.json */; };
556555
D865CE6B278CA266002C8520 /* stripe-payment-intent-error.json in Resources */ = {isa = PBXBuildFile; fileRef = D865CE6A278CA266002C8520 /* stripe-payment-intent-error.json */; };
556+
D865CE6E278CC19A002C8520 /* stripe-location.json in Resources */ = {isa = PBXBuildFile; fileRef = D865CE6C278CC19A002C8520 /* stripe-location.json */; };
557+
D865CE6F278CC19A002C8520 /* stripe-location-error.json in Resources */ = {isa = PBXBuildFile; fileRef = D865CE6D278CC19A002C8520 /* stripe-location-error.json */; };
557558
D865CE72278CC215002C8520 /* stripe-customer.json in Resources */ = {isa = PBXBuildFile; fileRef = D865CE70278CC215002C8520 /* stripe-customer.json */; };
558559
D865CE73278CC215002C8520 /* stripe-customer-error.json in Resources */ = {isa = PBXBuildFile; fileRef = D865CE71278CC215002C8520 /* stripe-customer-error.json */; };
559560
D87F6151226591E10031A13B /* NullNetwork.swift in Sources */ = {isa = PBXBuildFile; fileRef = D87F6150226591E10031A13B /* NullNetwork.swift */; };
@@ -1112,6 +1113,7 @@
11121113
B5C6FCD320A373BA00A4F8E4 /* OrderMapper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OrderMapper.swift; sourceTree = "<group>"; };
11131114
B5C6FCD520A3768900A4F8E4 /* order.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = order.json; sourceTree = "<group>"; };
11141115
B5DAEFEF2180DD5A0002356A /* NotificationsRemote.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NotificationsRemote.swift; sourceTree = "<group>"; };
1116+
BAB373712795A1FB00837B4A /* OrderTaxLine.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OrderTaxLine.swift; sourceTree = "<group>"; };
11151117
BD9439D9B8F2C1ED2EADAA51 /* Pods-NetworkingTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NetworkingTests.debug.xcconfig"; path = "../Pods/Target Support Files/Pods-NetworkingTests/Pods-NetworkingTests.debug.xcconfig"; sourceTree = "<group>"; };
11161118
C8F9A8CC6F90A8C9B5EF2EE2 /* Pods-Networking.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Networking.release.xcconfig"; path = "../Pods/Target Support Files/Pods-Networking/Pods-Networking.release.xcconfig"; sourceTree = "<group>"; };
11171119
CC07865E267799EE00BA9AC1 /* ShippingLabelPurchase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShippingLabelPurchase.swift; sourceTree = "<group>"; };
@@ -1191,8 +1193,6 @@
11911193
D823D90F22377B4F00C90817 /* ShipmentTrackingProviderGroup.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShipmentTrackingProviderGroup.swift; sourceTree = "<group>"; };
11921194
D823D91122377DF200C90817 /* ShipmentTrackingProviderListMapper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShipmentTrackingProviderListMapper.swift; sourceTree = "<group>"; };
11931195
D823D91322377EE600C90817 /* shipment_tracking_providers.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = shipment_tracking_providers.json; sourceTree = "<group>"; };
1194-
D865CE6C278CC19A002C8520 /* stripe-location.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "stripe-location.json"; sourceTree = "<group>"; };
1195-
D865CE6D278CC19A002C8520 /* stripe-location-error.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "stripe-location-error.json"; sourceTree = "<group>"; };
11961196
D865CE5A278CA10B002C8520 /* stripe-payment-intent-requires-payment-method.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "stripe-payment-intent-requires-payment-method.json"; sourceTree = "<group>"; };
11971197
D865CE5C278CA159002C8520 /* stripe-payment-intent-requires-confirmation.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "stripe-payment-intent-requires-confirmation.json"; sourceTree = "<group>"; };
11981198
D865CE5E278CA183002C8520 /* stripe-payment-intent-requires-action.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "stripe-payment-intent-requires-action.json"; sourceTree = "<group>"; };
@@ -1202,6 +1202,8 @@
12021202
D865CE66278CA225002C8520 /* stripe-payment-intent-succeeded.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "stripe-payment-intent-succeeded.json"; sourceTree = "<group>"; };
12031203
D865CE68278CA245002C8520 /* stripe-payment-intent-unknown-status.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "stripe-payment-intent-unknown-status.json"; sourceTree = "<group>"; };
12041204
D865CE6A278CA266002C8520 /* stripe-payment-intent-error.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "stripe-payment-intent-error.json"; sourceTree = "<group>"; };
1205+
D865CE6C278CC19A002C8520 /* stripe-location.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "stripe-location.json"; sourceTree = "<group>"; };
1206+
D865CE6D278CC19A002C8520 /* stripe-location-error.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "stripe-location-error.json"; sourceTree = "<group>"; };
12051207
D865CE70278CC215002C8520 /* stripe-customer.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "stripe-customer.json"; sourceTree = "<group>"; };
12061208
D865CE71278CC215002C8520 /* stripe-customer-error.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "stripe-customer-error.json"; sourceTree = "<group>"; };
12071209
D87F6150226591E10031A13B /* NullNetwork.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NullNetwork.swift; sourceTree = "<group>"; };
@@ -1695,6 +1697,7 @@
16951697
CEF88DAC233E95B000BED485 /* OrderRefundCondensed.swift */,
16961698
CE12FBD8221F3A6F00C59248 /* OrderStatus.swift */,
16971699
B5BB1D1120A255EC00112D92 /* OrderStatusEnum.swift */,
1700+
BAB373712795A1FB00837B4A /* OrderTaxLine.swift */,
16981701
267313302559CC930026F7EF /* PaymentGateway.swift */,
16991702
314703072670222500EF253A /* PaymentGatewayAccount.swift */,
17001703
D89A01D326D3F8D8008195BE /* ReaderLocation.swift */,
@@ -1720,10 +1723,8 @@
17201723
31799AF7270508C600D78179 /* RemoteReaderLocation.swift */,
17211724
3192F223260D34C40067FEF9 /* WCPayAccountStatusEnum.swift */,
17221725
D8EDFE2125EE88C9003D2213 /* ReaderConnectionToken.swift */,
1723-
318E8FD426C31F9500F519D7 /* WCPayCustomer.swift */,
1724-
31054705262E278100C5C02B /* RemotePaymentIntent.swift */,
17251726
318E8FD426C31F9500F519D7 /* Customer.swift */,
1726-
31054705262E278100C5C02B /* WCPayPaymentIntent.swift */,
1727+
31054705262E278100C5C02B /* RemotePaymentIntent.swift */,
17271728
3105470B262E27F000C5C02B /* WCPayPaymentIntentStatusEnum.swift */,
17281729
FE28F6E126840DED004465C7 /* User.swift */,
17291730
);
@@ -2011,11 +2012,8 @@
20112012
311D412D2783C07D00052F64 /* StripeAccountMapper.swift */,
20122013
3192F21B260D32550067FEF9 /* WCPayAccountMapper.swift */,
20132014
D8EDFE2525EE8A60003D2213 /* ReaderConnectionTokenMapper.swift */,
2014-
318E8FD226C31F1C00F519D7 /* WCPayCustomerMapper.swift */,
2015-
3178A49E2703E5CF00A8B4CA /* RemoteReaderLocationMapper.swift */,
2016-
31054701262E04F700C5C02B /* WCPayPaymentIntentMapper.swift */,
20172015
318E8FD226C31F1C00F519D7 /* CustomerMapper.swift */,
2018-
3178A49E2703E5CF00A8B4CA /* WCPayReaderLocationMapper.swift */,
2016+
3178A49E2703E5CF00A8B4CA /* RemoteReaderLocationMapper.swift */,
20192017
31054701262E04F700C5C02B /* RemotePaymentIntentMapper.swift */,
20202018
45A4B84D25D2E11300776FB4 /* ShippingLabelAddressValidationSuccessMapper.swift */,
20212019
CCF48B272628A4EB0034EA83 /* ShippingLabelAccountSettingsMapper.swift */,
@@ -2645,6 +2643,7 @@
26452643
B5BB1D0C20A2050300112D92 /* DateFormatter+Woo.swift in Sources */,
26462644
743E84EE2217244C00FAC9D7 /* ShipmentTrackingListMapper.swift in Sources */,
26472645
451A97E5260B631E0059D135 /* ShippingLabelPredefinedPackage.swift in Sources */,
2646+
BAB373722795A1FB00837B4A /* OrderTaxLine.swift in Sources */,
26482647
B567AF2520A0CCA300AB6C62 /* AuthenticatedRequest.swift in Sources */,
26492648
453305E92459DF2100264E50 /* PostMapper.swift in Sources */,
26502649
E12552C526385B05001CEE70 /* ShippingLabelAddressValidationSuccess.swift in Sources */,

Networking/Networking/Model/Copiable/Models+Copiable.generated.swift

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ extension Order {
179179
shippingLines: CopiableProp<[ShippingLine]> = .copy,
180180
coupons: CopiableProp<[OrderCouponLine]> = .copy,
181181
refunds: CopiableProp<[OrderRefundCondensed]> = .copy,
182-
fees: CopiableProp<[OrderFeeLine]> = .copy
182+
fees: CopiableProp<[OrderFeeLine]> = .copy,
183+
taxes: CopiableProp<[OrderTaxLine]> = .copy
183184
) -> Order {
184185
let siteID = siteID ?? self.siteID
185186
let orderID = orderID ?? self.orderID
@@ -208,6 +209,7 @@ extension Order {
208209
let coupons = coupons ?? self.coupons
209210
let refunds = refunds ?? self.refunds
210211
let fees = fees ?? self.fees
212+
let taxes = taxes ?? self.taxes
211213

212214
return Order(
213215
siteID: siteID,
@@ -236,7 +238,8 @@ extension Order {
236238
shippingLines: shippingLines,
237239
coupons: coupons,
238240
refunds: refunds,
239-
fees: fees
241+
fees: fees,
242+
taxes: taxes
240243
)
241244
}
242245
}
@@ -472,6 +475,42 @@ extension OrderStatsV4Totals {
472475
}
473476
}
474477

478+
extension OrderTaxLine {
479+
public func copy(
480+
taxID: CopiableProp<Int64> = .copy,
481+
rateCode: CopiableProp<String> = .copy,
482+
rateID: CopiableProp<Int64> = .copy,
483+
label: CopiableProp<String> = .copy,
484+
isCompoundTaxRate: CopiableProp<Bool> = .copy,
485+
totalTax: CopiableProp<String> = .copy,
486+
totalShippingTax: CopiableProp<String> = .copy,
487+
ratePercent: CopiableProp<Double> = .copy,
488+
attributes: CopiableProp<[OrderItemAttribute]> = .copy
489+
) -> OrderTaxLine {
490+
let taxID = taxID ?? self.taxID
491+
let rateCode = rateCode ?? self.rateCode
492+
let rateID = rateID ?? self.rateID
493+
let label = label ?? self.label
494+
let isCompoundTaxRate = isCompoundTaxRate ?? self.isCompoundTaxRate
495+
let totalTax = totalTax ?? self.totalTax
496+
let totalShippingTax = totalShippingTax ?? self.totalShippingTax
497+
let ratePercent = ratePercent ?? self.ratePercent
498+
let attributes = attributes ?? self.attributes
499+
500+
return OrderTaxLine(
501+
taxID: taxID,
502+
rateCode: rateCode,
503+
rateID: rateID,
504+
label: label,
505+
isCompoundTaxRate: isCompoundTaxRate,
506+
totalTax: totalTax,
507+
totalShippingTax: totalShippingTax,
508+
ratePercent: ratePercent,
509+
attributes: attributes
510+
)
511+
}
512+
}
513+
475514
extension PaymentGatewayAccount {
476515
public func copy(
477516
siteID: CopiableProp<Int64> = .copy,

Networking/Networking/Model/Order.swift

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public struct Order: Decodable, GeneratedCopiable, GeneratedFakeable {
3939
public let coupons: [OrderCouponLine]
4040
public let refunds: [OrderRefundCondensed]
4141
public let fees: [OrderFeeLine]
42+
public let taxes: [OrderTaxLine]
4243

4344
/// Order struct initializer.
4445
///
@@ -68,7 +69,8 @@ public struct Order: Decodable, GeneratedCopiable, GeneratedFakeable {
6869
shippingLines: [ShippingLine],
6970
coupons: [OrderCouponLine],
7071
refunds: [OrderRefundCondensed],
71-
fees: [OrderFeeLine]) {
72+
fees: [OrderFeeLine],
73+
taxes: [OrderTaxLine]) {
7274

7375
self.siteID = siteID
7476
self.orderID = orderID
@@ -101,6 +103,7 @@ public struct Order: Decodable, GeneratedCopiable, GeneratedFakeable {
101103
self.coupons = coupons
102104
self.refunds = refunds
103105
self.fees = fees
106+
self.taxes = taxes
104107
}
105108

106109

@@ -160,6 +163,8 @@ public struct Order: Decodable, GeneratedCopiable, GeneratedFakeable {
160163

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

166+
let taxes = try container.decode([OrderTaxLine].self, forKey: .taxLines)
167+
163168
self.init(siteID: siteID,
164169
orderID: orderID,
165170
parentID: parentID,
@@ -186,7 +191,8 @@ public struct Order: Decodable, GeneratedCopiable, GeneratedFakeable {
186191
shippingLines: shippingLines,
187192
coupons: coupons,
188193
refunds: refunds,
189-
fees: fees)
194+
fees: fees,
195+
taxes: taxes)
190196
}
191197

192198
public static var empty: Order {
@@ -216,7 +222,8 @@ public struct Order: Decodable, GeneratedCopiable, GeneratedFakeable {
216222
shippingLines: [],
217223
coupons: [],
218224
refunds: [],
219-
fees: [])
225+
fees: [],
226+
taxes: [])
220227
}
221228
}
222229

@@ -256,6 +263,7 @@ internal extension Order {
256263
case couponLines = "coupon_lines"
257264
case refunds = "refunds"
258265
case feeLines = "fee_lines"
266+
case taxLines = "tax_lines"
259267
case metadata = "meta_data"
260268
}
261269
}
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
import Foundation
2+
import Codegen
3+
4+
/// Represents a TaxLine Entity within an Order.
5+
///
6+
public struct OrderTaxLine: Decodable, Equatable, GeneratedFakeable, GeneratedCopiable {
7+
public let taxID: Int64
8+
public let rateCode: String
9+
public let rateID: Int64
10+
public let label: String
11+
public let isCompoundTaxRate: Bool
12+
public let totalTax: String
13+
public let totalShippingTax: String
14+
public let ratePercent: Double
15+
public let attributes: [OrderItemAttribute]
16+
17+
/// OrderTaxLine struct initializer.
18+
///
19+
public init(taxID: Int64,
20+
rateCode: String,
21+
rateID: Int64,
22+
label: String,
23+
isCompoundTaxRate: Bool,
24+
totalTax: String,
25+
totalShippingTax: String,
26+
ratePercent: Double,
27+
attributes: [OrderItemAttribute]) {
28+
self.taxID = taxID
29+
self.rateCode = rateCode
30+
self.rateID = rateID
31+
self.label = label
32+
self.isCompoundTaxRate = isCompoundTaxRate
33+
self.totalTax = totalTax
34+
self.totalShippingTax = totalShippingTax
35+
self.ratePercent = ratePercent
36+
self.attributes = attributes
37+
}
38+
}
39+
40+
/// Defines all of the OrderTaxLine's CodingKeys.
41+
///
42+
private extension OrderTaxLine {
43+
44+
enum CodingKeys: String, CodingKey {
45+
case taxID = "id"
46+
case rateCode = "rate_code"
47+
case rateID = "rate_id"
48+
case label
49+
case isCompoundTaxRate = "compound"
50+
case totalTax = "tax_total"
51+
case totalShippingTax = "shipping_tax_total"
52+
case ratePercent = "rate_percent"
53+
case attributes = "meta_data"
54+
}
55+
}

Networking/Networking/Remote/OrdersRemote.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ public extension OrdersRemote {
269269
private static let commonOrderFieldValues = [
270270
"id", "parent_id", "number", "status", "currency", "customer_id", "customer_note", "date_created_gmt", "date_modified_gmt", "date_paid_gmt",
271271
"discount_total", "discount_tax", "shipping_total", "shipping_tax", "total", "total_tax", "payment_method", "payment_method_title",
272-
"billing", "coupon_lines", "shipping_lines", "refunds", "fee_lines", "order_key"
272+
"billing", "coupon_lines", "shipping_lines", "refunds", "fee_lines", "order_key", "tax_lines"
273273
]
274274
private static let singleOrderExtraFieldValues = [
275275
"line_items", "shipping"

0 commit comments

Comments
 (0)