File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Networking/Networking/Model Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ extension CreateProductVariation {
184184extension Customer {
185185 /// Returns a "ready to use" type filled with fake values.
186186 ///
187- static func fake( ) -> Customer {
187+ public static func fake( ) -> Customer {
188188 . init(
189189 customerID: . fake( ) ,
190190 email: . fake( ) ,
Original file line number Diff line number Diff line change @@ -4,25 +4,25 @@ import Codegen
44/// Represents a Customer entity:
55/// https://woocommerce.github.io/woocommerce-rest-api-docs/#customer-properties
66///
7- struct Customer : Codable , GeneratedCopiable , GeneratedFakeable {
7+ public struct Customer : Codable , GeneratedCopiable , GeneratedFakeable {
88
99 /// Unique identifier for the customer
10- let customerID : Int64
10+ public let customerID : Int64
1111
1212 /// The email address for the customer
13- let email : String
13+ public let email : String
1414
1515 /// Customer first name
16- let firstName : String ?
16+ public let firstName : String ?
1717
1818 /// Customer last name
19- let lastName : String ?
19+ public let lastName : String ?
2020
2121 /// List of billing address data
22- let billing : Address ?
22+ public let billing : Address ?
2323
2424 /// List of shipping address data
25- let shipping : Address ?
25+ public let shipping : Address ?
2626
2727 /// Customer struct initializer
2828 ///
You can’t perform that action at this time.
0 commit comments