We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 222b6f6 commit b012818Copy full SHA for b012818
Yosemite/Yosemite/Model/Storage/OrderItem+ReadOnlyConvertible.swift
@@ -26,6 +26,7 @@ extension Storage.OrderItem: ReadOnlyConvertible {
26
total = orderItem.total
27
totalTax = orderItem.totalTax
28
variationID = orderItem.variationID
29
+ parent = orderItem.parent != nil ? NSNumber(value: orderItem.parent!) : nil
30
}
31
32
/// Returns a ReadOnly version of the receiver.
@@ -48,6 +49,6 @@ extension Storage.OrderItem: ReadOnlyConvertible {
48
49
total: total ?? "",
50
totalTax: totalTax ?? "",
51
attributes: attributes,
- parent: nil) // TODO: 8962 - Convert parent property
52
+ parent: parent?.int64Value)
53
54
0 commit comments