Skip to content

Commit 03ea1a2

Browse files
committed
Update Order ReadOnlyConvertible protocol
1 parent b59d75f commit 03ea1a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Yosemite/Yosemite/Model/Storage/Order+ReadOnlyConvertible.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ extension Storage.Order: ReadOnlyConvertible {
3232
totalTax = order.totalTax
3333
paymentMethodID = order.paymentMethodID
3434
paymentMethodTitle = order.paymentMethodTitle
35+
paymentURL = order.paymentURL as NSURL?
3536
chargeID = order.chargeID
3637

3738
if let billingAddress = order.billingAddress {
@@ -93,6 +94,7 @@ extension Storage.Order: ReadOnlyConvertible {
9394
totalTax: totalTax ?? "",
9495
paymentMethodID: paymentMethodID ?? "",
9596
paymentMethodTitle: paymentMethodTitle ?? "",
97+
paymentURL: paymentURL as URL?,
9698
chargeID: chargeID,
9799
items: orderItems,
98100
billingAddress: createReadOnlyBillingAddress(),

0 commit comments

Comments
 (0)