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.
2 parents 601fb61 + 1cae605 commit ff9ee39Copy full SHA for ff9ee39
Modules/Sources/Yosemite/Model/Storage/Customer+ReadOnlyConvertible.swift
@@ -80,10 +80,18 @@ extension Storage.Customer: ReadOnlyConvertible {
80
shippingFirstName = firstName
81
shippingLastName = lastName
82
shippingEmail = email
83
+ shippingCity = customer.city
84
+ shippingState = customer.region
85
+ shippingPostcode = customer.postcode
86
+ shippingCountry = customer.country
87
88
billingFirstName = firstName
89
billingLastName = lastName
90
billingEmail = email
91
+ billingCity = customer.city
92
+ billingState = customer.region
93
+ billingPostcode = customer.postcode
94
+ billingCountry = customer.country
95
}
96
97
/// Returns a ReadOnly (`Networking.Customer`) version of the `Storage.Customer`
0 commit comments