diff --git a/WellnessLiving/Core/Passport/Login/SignOut/SignOutModel.php b/WellnessLiving/Core/Passport/Login/SignOut/SignOutModel.php new file mode 100644 index 00000000..90c587f6 --- /dev/null +++ b/WellnessLiving/Core/Passport/Login/SignOut/SignOutModel.php @@ -0,0 +1,14 @@ + \ No newline at end of file diff --git a/WellnessLiving/Wl/Purchase/Receipt/PurchaseReceiptModel.php b/WellnessLiving/Wl/Purchase/Receipt/PurchaseReceiptModel.php index 9459a75c..0e143e9f 100644 --- a/WellnessLiving/Wl/Purchase/Receipt/PurchaseReceiptModel.php +++ b/WellnessLiving/Wl/Purchase/Receipt/PurchaseReceiptModel.php @@ -36,7 +36,7 @@ class PurchaseReceiptModel extends WlModelAbstract * @get result * @var array */ - public $a_account_rest; + public $a_account_rest = []; /** * Information about the business. @@ -102,7 +102,7 @@ class PurchaseReceiptModel extends WlModelAbstract * @get result * @var array */ - public $a_business; + public $a_business = []; /** * Payment transaction information. Every element has the following keys: @@ -130,7 +130,7 @@ class PurchaseReceiptModel extends WlModelAbstract * @get result * @var array */ - public $a_card; + public $a_card = []; /** * Information about the customer. @@ -164,7 +164,7 @@ class PurchaseReceiptModel extends WlModelAbstract * @get result * @var array */ - public $a_customer; + public $a_customer = []; /** * A list of payment methods for the current purchase. Every element has the following keys: @@ -192,7 +192,7 @@ class PurchaseReceiptModel extends WlModelAbstract * @get result * @var array */ - public $a_pay_method; + public $a_pay_method = []; /** * Complete information about price information for the purchase. @@ -250,7 +250,7 @@ class PurchaseReceiptModel extends WlModelAbstract * @get result * @var array */ - public $a_price; + public $a_price = []; /** * A list of purchase items. Every element has the following keys: @@ -341,12 +341,18 @@ class PurchaseReceiptModel extends WlModelAbstract *
* The description of the purchase item. *
+ *
+ * string url_print + *
+ *
+ * The URL to print. Only available if the purchase item is a coupon (gift card). + *
* * * @get result * @var array[] */ - public $a_purchase_item; + public $a_purchase_item = []; /** * The local date of the purchase in MySQL format. @@ -373,8 +379,10 @@ class PurchaseReceiptModel extends WlModelAbstract public $html_receipt; /** - * Whether the print receipt URL requires authentication. If `true`, the URL contains a token that temporarily - * allows access to the print receipt without a login. `false` otherwise. + * Whether {@link PurchaseReceiptModel::$url_print} and {@link PurchaseReceiptModel::$url_print_receipt} require authentication. + * + * If `true`, the URL contains a token that allows temporary access to the page without logging in. If 'false', the + * page requires authentication. * * @get get * @var bool diff --git a/WellnessLiving/Wl/Quiz/QuizElementModel.php b/WellnessLiving/Wl/Quiz/QuizElementModel.php index 2c9d006e..e8f02cdd 100644 --- a/WellnessLiving/Wl/Quiz/QuizElementModel.php +++ b/WellnessLiving/Wl/Quiz/QuizElementModel.php @@ -143,7 +143,7 @@ class QuizElementModel extends WlModelAbstract public $k_business = ''; /** - * Business type key. + * Business type key. Used only for forms in the system business. * * `null` if not initialized. * diff --git a/WellnessLiving/WlModelRequest.php b/WellnessLiving/WlModelRequest.php index 5334b922..cd0f19be 100644 --- a/WellnessLiving/WlModelRequest.php +++ b/WellnessLiving/WlModelRequest.php @@ -12,7 +12,7 @@ class WlModelRequest /** * SDK version number. */ - const VERSION='20241113.373612'; + const VERSION='20241114.373948'; /** * A list of headers for the API request. See {@link CURLOPT_HTTPHEADER}.