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 5388ef9 commit d7e2f3aCopy full SHA for d7e2f3a
Yosemite/Yosemite/Stores/Order/OrderFactory.swift
@@ -3,7 +3,7 @@ import Networking
3
4
/// Factory to create convenience order types.
5
///
6
-enum OrderFactory {
+public enum OrderFactory {
7
/// Creates an order suitable to be used as a simple payments order.
8
/// Under the hood it uses a fee line with or without taxes to create an order with the desired amount.
9
@@ -51,4 +51,8 @@ enum OrderFactory {
51
taxes: [],
52
attributes: [])
53
}
54
+
55
+ /// References a new empty order with constants `Date` values.
56
+ ///
57
+ public static let emptyNewOrder = Order.empty
58
0 commit comments