Skip to content

Commit 4b21b48

Browse files
committed
5976 Add Managed Object Subclasses
1 parent 6966aab commit 4b21b48

9 files changed

+154
-0
lines changed

Storage/Storage.xcodeproj/project.pbxproj

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@
3434
02DA64172313C26400284168 /* StatsVersionBySite.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02DA64162313C26400284168 /* StatsVersionBySite.swift */; };
3535
02DA64192313C2AA00284168 /* StatsVersion.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02DA64182313C2AA00284168 /* StatsVersion.swift */; };
3636
02EAB6D72480A86D00FD873C /* CrashLogger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02EAB6D62480A86D00FD873C /* CrashLogger.swift */; };
37+
031C1EA127AD3AFE00298699 /* WCPayCharge+CoreDataClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 031C1E9927AD3AFE00298699 /* WCPayCharge+CoreDataClass.swift */; };
38+
031C1EA227AD3AFE00298699 /* WCPayCharge+CoreDataProperties.swift in Sources */ = {isa = PBXBuildFile; fileRef = 031C1E9A27AD3AFE00298699 /* WCPayCharge+CoreDataProperties.swift */; };
39+
031C1EA327AD3AFE00298699 /* WCPayCardPresentPaymentDetails+CoreDataClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 031C1E9B27AD3AFE00298699 /* WCPayCardPresentPaymentDetails+CoreDataClass.swift */; };
40+
031C1EA427AD3AFE00298699 /* WCPayCardPresentPaymentDetails+CoreDataProperties.swift in Sources */ = {isa = PBXBuildFile; fileRef = 031C1E9C27AD3AFE00298699 /* WCPayCardPresentPaymentDetails+CoreDataProperties.swift */; };
41+
031C1EA527AD3AFE00298699 /* WCPayCardPaymentDetails+CoreDataClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 031C1E9D27AD3AFE00298699 /* WCPayCardPaymentDetails+CoreDataClass.swift */; };
42+
031C1EA627AD3AFE00298699 /* WCPayCardPaymentDetails+CoreDataProperties.swift in Sources */ = {isa = PBXBuildFile; fileRef = 031C1E9E27AD3AFE00298699 /* WCPayCardPaymentDetails+CoreDataProperties.swift */; };
43+
031C1EA727AD3AFE00298699 /* WCPayCardPresentReceiptDetails+CoreDataClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 031C1E9F27AD3AFE00298699 /* WCPayCardPresentReceiptDetails+CoreDataClass.swift */; };
44+
031C1EA827AD3AFE00298699 /* WCPayCardPresentReceiptDetails+CoreDataProperties.swift in Sources */ = {isa = PBXBuildFile; fileRef = 031C1EA027AD3AFE00298699 /* WCPayCardPresentReceiptDetails+CoreDataProperties.swift */; };
3745
077F39C4269F1F4600ABEADC /* SystemPlugin+CoreDataClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 077F39C3269F1F4600ABEADC /* SystemPlugin+CoreDataClass.swift */; };
3846
077F39C6269F1F7C00ABEADC /* SystemPlugin+CoreDataProperties.swift in Sources */ = {isa = PBXBuildFile; fileRef = 077F39C5269F1F7C00ABEADC /* SystemPlugin+CoreDataProperties.swift */; };
3947
2618707325409C65006522A1 /* ShippingLineTax+CoreDataClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2618707125409C65006522A1 /* ShippingLineTax+CoreDataClass.swift */; };
@@ -261,6 +269,14 @@
261269
02DA64182313C2AA00284168 /* StatsVersion.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StatsVersion.swift; sourceTree = "<group>"; };
262270
02EAB6D62480A86D00FD873C /* CrashLogger.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CrashLogger.swift; sourceTree = "<group>"; };
263271
031C1E8827AD353400298699 /* Model 64.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = "Model 64.xcdatamodel"; sourceTree = "<group>"; };
272+
031C1E9927AD3AFE00298699 /* WCPayCharge+CoreDataClass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "WCPayCharge+CoreDataClass.swift"; sourceTree = "<group>"; };
273+
031C1E9A27AD3AFE00298699 /* WCPayCharge+CoreDataProperties.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "WCPayCharge+CoreDataProperties.swift"; sourceTree = "<group>"; };
274+
031C1E9B27AD3AFE00298699 /* WCPayCardPresentPaymentDetails+CoreDataClass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "WCPayCardPresentPaymentDetails+CoreDataClass.swift"; sourceTree = "<group>"; };
275+
031C1E9C27AD3AFE00298699 /* WCPayCardPresentPaymentDetails+CoreDataProperties.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "WCPayCardPresentPaymentDetails+CoreDataProperties.swift"; sourceTree = "<group>"; };
276+
031C1E9D27AD3AFE00298699 /* WCPayCardPaymentDetails+CoreDataClass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "WCPayCardPaymentDetails+CoreDataClass.swift"; sourceTree = "<group>"; };
277+
031C1E9E27AD3AFE00298699 /* WCPayCardPaymentDetails+CoreDataProperties.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "WCPayCardPaymentDetails+CoreDataProperties.swift"; sourceTree = "<group>"; };
278+
031C1E9F27AD3AFE00298699 /* WCPayCardPresentReceiptDetails+CoreDataClass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "WCPayCardPresentReceiptDetails+CoreDataClass.swift"; sourceTree = "<group>"; };
279+
031C1EA027AD3AFE00298699 /* WCPayCardPresentReceiptDetails+CoreDataProperties.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "WCPayCardPresentReceiptDetails+CoreDataProperties.swift"; sourceTree = "<group>"; };
264280
0345DB4527A8122700B02D0C /* Model 63.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = "Model 63.xcdatamodel"; sourceTree = "<group>"; };
265281
077F39C3269F1F4600ABEADC /* SystemPlugin+CoreDataClass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "SystemPlugin+CoreDataClass.swift"; sourceTree = "<group>"; };
266282
077F39C5269F1F7C00ABEADC /* SystemPlugin+CoreDataProperties.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "SystemPlugin+CoreDataProperties.swift"; sourceTree = "<group>"; };
@@ -901,6 +917,14 @@
901917
D87F614D22657C2F0031A13B /* PreselectedProvider.swift */,
902918
077F39C3269F1F4600ABEADC /* SystemPlugin+CoreDataClass.swift */,
903919
077F39C5269F1F7C00ABEADC /* SystemPlugin+CoreDataProperties.swift */,
920+
031C1E9927AD3AFE00298699 /* WCPayCharge+CoreDataClass.swift */,
921+
031C1E9A27AD3AFE00298699 /* WCPayCharge+CoreDataProperties.swift */,
922+
031C1E9B27AD3AFE00298699 /* WCPayCardPresentPaymentDetails+CoreDataClass.swift */,
923+
031C1E9C27AD3AFE00298699 /* WCPayCardPresentPaymentDetails+CoreDataProperties.swift */,
924+
031C1E9D27AD3AFE00298699 /* WCPayCardPaymentDetails+CoreDataClass.swift */,
925+
031C1E9E27AD3AFE00298699 /* WCPayCardPaymentDetails+CoreDataProperties.swift */,
926+
031C1E9F27AD3AFE00298699 /* WCPayCardPresentReceiptDetails+CoreDataClass.swift */,
927+
031C1EA027AD3AFE00298699 /* WCPayCardPresentReceiptDetails+CoreDataProperties.swift */,
904928
);
905929
path = Model;
906930
sourceTree = "<group>";
@@ -1142,6 +1166,7 @@
11421166
7471A514216CF0FE00219F7E /* SiteVisitStats+CoreDataClass.swift in Sources */,
11431167
D8FBFF5722D66A06006E3336 /* OrderStatsV4Totals+CoreDataClass.swift in Sources */,
11441168
7474539C2242C85E00E0B5EE /* ProductDimensions+CoreDataProperties.swift in Sources */,
1169+
031C1EA327AD3AFE00298699 /* WCPayCardPresentPaymentDetails+CoreDataClass.swift in Sources */,
11451170
7426A05120F69D00002A4E07 /* OrderCoupon+CoreDataProperties.swift in Sources */,
11461171
021EAA4825493A1600AA8CCD /* OrderItemAttribute+CoreDataProperties.swift in Sources */,
11471172
262B27182621412D00A421CF /* ProductAddOnOption+CoreDataProperties.swift in Sources */,
@@ -1154,6 +1179,7 @@
11541179
268BF6DB2642CBA6003948D8 /* Models+Copiable.generated.swift in Sources */,
11551180
D4ABCACF26D6E7E400CD18F4 /* Announcement.swift in Sources */,
11561181
AE93BE90272C0E9F001B55EA /* GeneralStoreSettings.swift in Sources */,
1182+
031C1EA227AD3AFE00298699 /* WCPayCharge+CoreDataProperties.swift in Sources */,
11571183
D87F61552265AA900031A13B /* PListFileStorage.swift in Sources */,
11581184
B5B914C620EFF03500F2F832 /* Site+CoreDataProperties.swift in Sources */,
11591185
45E462072684BCEE00011BF2 /* StateOfACountry+CoreDataClass.swift in Sources */,
@@ -1176,6 +1202,7 @@
11761202
02C254EC2563B12E00A04423 /* ShippingLabelSettings+CoreDataProperties.swift in Sources */,
11771203
B5FD111E21D4046E00560344 /* OrderSearchResults+CoreDataProperties.swift in Sources */,
11781204
7471A515216CF0FE00219F7E /* SiteVisitStatsItem+CoreDataProperties.swift in Sources */,
1205+
031C1EA627AD3AFE00298699 /* WCPayCardPaymentDetails+CoreDataProperties.swift in Sources */,
11791206
CE12FBCE221F0E1A00C59248 /* Order+CoreDataClass.swift in Sources */,
11801207
B54CA5BD20A4BD3B00F38CD1 /* NSManagedObjectContext+Storage.swift in Sources */,
11811208
455C0C9125DD6D93007B6F38 /* AccountSettings+CoreDataProperties.swift in Sources */,
@@ -1200,6 +1227,7 @@
12001227
028296F4237D404F00E84012 /* GenericAttribute+CoreDataClass.swift in Sources */,
12011228
262B270E2621412000A421CF /* ProductAddOn+CoreDataProperties.swift in Sources */,
12021229
7492FAD6217FA9C100ED2C69 /* SiteSetting+CoreDataClass.swift in Sources */,
1230+
031C1EA427AD3AFE00298699 /* WCPayCardPresentPaymentDetails+CoreDataProperties.swift in Sources */,
12031231
B505F6E020BEEA8100BB1B69 /* StorageType.swift in Sources */,
12041232
747453A82242C85E00E0B5EE /* ProductTag+CoreDataProperties.swift in Sources */,
12051233
D8FBFF5A22D66A06006E3336 /* OrderStatsV4+CoreDataProperties.swift in Sources */,
@@ -1208,6 +1236,7 @@
12081236
2685C108263C88B000D9EE97 /* AddOnGroup+CoreDataClass.swift in Sources */,
12091237
7474539F2242C85E00E0B5EE /* ProductImage+CoreDataClass.swift in Sources */,
12101238
7474539D2242C85E00E0B5EE /* ProductAttribute+CoreDataClass.swift in Sources */,
1239+
031C1EA127AD3AFE00298699 /* WCPayCharge+CoreDataClass.swift in Sources */,
12111240
023FA29623316A4D008C1769 /* ProductSearchResults+CoreDataProperties.swift in Sources */,
12121241
746A9D22214078080013F6FF /* TopEarnerStats+CoreDataProperties.swift in Sources */,
12131242
023FA29523316A4D008C1769 /* Product+CoreDataProperties.swift in Sources */,
@@ -1241,6 +1270,7 @@
12411270
CE3B7AD22225E62C0050FE4B /* OrderStatus+CoreDataClass.swift in Sources */,
12421271
027D3E6E23A0EEA4007D91B0 /* StorageType+Deletions.swift in Sources */,
12431272
D8FBFF5922D66A06006E3336 /* OrderStatsV4+CoreDataClass.swift in Sources */,
1273+
031C1EA727AD3AFE00298699 /* WCPayCardPresentReceiptDetails+CoreDataClass.swift in Sources */,
12441274
74B7D6AE20F90CBB002667AC /* OrderNote+CoreDataProperties.swift in Sources */,
12451275
02C254EF2563B12E00A04423 /* ShippingLabelRefund+CoreDataClass.swift in Sources */,
12461276
025CA2BE238EB86200B05C81 /* ProductShippingClass+CoreDataProperties.swift in Sources */,
@@ -1260,13 +1290,15 @@
12601290
2618707425409C65006522A1 /* ShippingLineTax+CoreDataProperties.swift in Sources */,
12611291
B52B0F7B20AA28A800477698 /* Object.swift in Sources */,
12621292
02C254F12563B12E00A04423 /* ShippingLabelAddress+CoreDataClass.swift in Sources */,
1293+
031C1EA827AD3AFE00298699 /* WCPayCardPresentReceiptDetails+CoreDataProperties.swift in Sources */,
12631294
02D45649231CFB27008CF0A9 /* StatsVersionBannerVisibility.swift in Sources */,
12641295
7426A05020F69D00002A4E07 /* OrderCoupon+CoreDataClass.swift in Sources */,
12651296
02C254F22563B12E00A04423 /* ShippingLabelAddress+CoreDataProperties.swift in Sources */,
12661297
02C254F02563B12E00A04423 /* ShippingLabelRefund+CoreDataProperties.swift in Sources */,
12671298
746A9D23214078080013F6FF /* TopEarnerStatsItem+CoreDataClass.swift in Sources */,
12681299
4501068B2399AC9B00E24722 /* TaxClass+CoreDataProperties.swift in Sources */,
12691300
74F009C02183B99B002B4566 /* Note+CoreDataClass.swift in Sources */,
1301+
031C1EA527AD3AFE00298699 /* WCPayCardPaymentDetails+CoreDataClass.swift in Sources */,
12701302
CC2C030B262DCC6900928C9C /* ShippingLabelAccountSettings+CoreDataClass.swift in Sources */,
12711303
7499FA44221C7A60004EC0B4 /* ShipmentTracking+CoreDataClass.swift in Sources */,
12721304
D87F61532265AA230031A13B /* FileStorage.swift in Sources */,
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import Foundation
2+
import CoreData
3+
4+
@objc(WCPayCardPaymentDetails)
5+
public class WCPayCardPaymentDetails: NSManagedObject {
6+
7+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import Foundation
2+
import CoreData
3+
4+
5+
extension WCPayCardPaymentDetails {
6+
7+
@nonobjc public class func fetchRequest() -> NSFetchRequest<WCPayCardPaymentDetails> {
8+
return NSFetchRequest<WCPayCardPaymentDetails>(entityName: "WCPayCardPaymentDetails")
9+
}
10+
11+
@NSManaged public var brand: String?
12+
@NSManaged public var last4: String?
13+
@NSManaged public var funding: String?
14+
@NSManaged public var charge: WCPayCharge?
15+
16+
}
17+
18+
extension WCPayCardPaymentDetails: Identifiable {
19+
20+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import Foundation
2+
import CoreData
3+
4+
@objc(WCPayCardPresentPaymentDetails)
5+
public class WCPayCardPresentPaymentDetails: NSManagedObject {
6+
7+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import Foundation
2+
import CoreData
3+
4+
5+
extension WCPayCardPresentPaymentDetails {
6+
7+
@nonobjc public class func fetchRequest() -> NSFetchRequest<WCPayCardPresentPaymentDetails> {
8+
return NSFetchRequest<WCPayCardPresentPaymentDetails>(entityName: "WCPayCardPresentPaymentDetails")
9+
}
10+
11+
@NSManaged public var brand: String?
12+
@NSManaged public var last4: String?
13+
@NSManaged public var funding: String?
14+
@NSManaged public var receipt: WCPayCardPresentReceiptDetails?
15+
@NSManaged public var charge: WCPayCharge?
16+
17+
}
18+
19+
extension WCPayCardPresentPaymentDetails: Identifiable {
20+
21+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import Foundation
2+
import CoreData
3+
4+
@objc(WCPayCardPresentReceiptDetails)
5+
public class WCPayCardPresentReceiptDetails: NSManagedObject {
6+
7+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import Foundation
2+
import CoreData
3+
4+
5+
extension WCPayCardPresentReceiptDetails {
6+
7+
@nonobjc public class func fetchRequest() -> NSFetchRequest<WCPayCardPresentReceiptDetails> {
8+
return NSFetchRequest<WCPayCardPresentReceiptDetails>(entityName: "WCPayCardPresentReceiptDetails")
9+
}
10+
11+
@NSManaged public var accountType: String?
12+
@NSManaged public var applicationPreferredName: String?
13+
@NSManaged public var dedicatedFileName: String?
14+
@NSManaged public var cardPresentPayment: WCPayCardPresentPaymentDetails?
15+
16+
}
17+
18+
extension WCPayCardPresentReceiptDetails: Identifiable {
19+
20+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import Foundation
2+
import CoreData
3+
4+
@objc(WCPayCharge)
5+
public class WCPayCharge: NSManagedObject {
6+
7+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import Foundation
2+
import CoreData
3+
4+
5+
extension WCPayCharge {
6+
7+
@nonobjc public class func fetchRequest() -> NSFetchRequest<WCPayCharge> {
8+
return NSFetchRequest<WCPayCharge>(entityName: "WCPayCharge")
9+
}
10+
11+
@NSManaged public var siteID: Int64
12+
@NSManaged public var id: String?
13+
@NSManaged public var amount: Int64
14+
@NSManaged public var amountCaptured: Int64
15+
@NSManaged public var amountRefunded: Int64
16+
@NSManaged public var authorizationCode: String?
17+
@NSManaged public var captured: Bool
18+
@NSManaged public var created: Date?
19+
@NSManaged public var currency: String?
20+
@NSManaged public var paid: Bool
21+
@NSManaged public var paymentIntentID: String?
22+
@NSManaged public var paymentMethodID: String?
23+
@NSManaged public var refunded: Bool
24+
@NSManaged public var status: String?
25+
@NSManaged public var paymentMethodType: String?
26+
@NSManaged public var cardDetails: WCPayCardPaymentDetails?
27+
@NSManaged public var cardPresentDetails: WCPayCardPresentPaymentDetails?
28+
29+
}
30+
31+
extension WCPayCharge: Identifiable {
32+
33+
}

0 commit comments

Comments
 (0)