Skip to content

Commit 4c7e642

Browse files
authored
Merge pull request aligent#102 from aligent/release/1.6.3
Release/1.6.3
2 parents 61d0e2b + 8cb71e2 commit 4c7e642

12 files changed

+942
-55
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ $brands = $api->catalog()->brands()->getAll()->getBrands();
165165
- Checking PHP style rules: `composer run-script check-style`
166166
- Auto fix code style rules: `composer run-script fix-style`
167167

168+
If you do not have composer installed, you can use the docker version: `docker run --rm -it -v $PWD:/app composer run-script check-style`
169+
168170
### Writing Tests
169171

170172
All tests are located in the _tests_ folder in the namespace `BigCommerce\Tests`. The namespace should match the class

RELEASE_NOTES.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
### Fixes
22

3-
- Fix invalid namespace in a test class (@AymericPlanche)
4-
- Fix PHP compatibility issue in LegacyAPI class #90 (@AymericPlanche)
3+
- Add `brand_name` property to Product (Issue #99, thanks @guillaume-sarramegna)
54

docs/classes/BigCommerce-ApiV2-ResourceModels-Order-Order.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ <h3 id="toc">
136136
<dt class="phpdocumentor-table-of-contents__entry -property -public">
137137
<a href="classes/BigCommerce-ApiV2-ResourceModels-Order-Order.html#property_base_wrapping_cost">$base_wrapping_cost</a>
138138
<span>
139-
&nbsp;: string|float|int </span>
139+
&nbsp;: string </span>
140140
</dt>
141141
<dd></dd>
142142

@@ -395,7 +395,7 @@ <h3 id="toc">
395395
<dt class="phpdocumentor-table-of-contents__entry -property -public">
396396
<a href="classes/BigCommerce-ApiV2-ResourceModels-Order-Order.html#property_payment_provider_id">$payment_provider_id</a>
397397
<span>
398-
&nbsp;: string|int|float </span>
398+
&nbsp;: string </span>
399399
</dt>
400400
<dd></dd>
401401

@@ -677,7 +677,7 @@ <h4 class="phpdocumentor-element__name" id="property_base_wrapping_cost">
677677

678678
<code class="phpdocumentor-code phpdocumentor-signature ">
679679
<span class="phpdocumentor-signature__visibility">public</span>
680-
<span class="phpdocumentor-signature__type">string|float|int</span>
680+
<span class="phpdocumentor-signature__type">string</span>
681681
<span class="phpdocumentor-signature__name">$base_wrapping_cost</span>
682682
</code>
683683

@@ -1935,7 +1935,7 @@ <h4 class="phpdocumentor-element__name" id="property_payment_provider_id">
19351935

19361936
<code class="phpdocumentor-code phpdocumentor-signature ">
19371937
<span class="phpdocumentor-signature__visibility">public</span>
1938-
<span class="phpdocumentor-signature__type">string|int|float</span>
1938+
<span class="phpdocumentor-signature__type">string</span>
19391939
<span class="phpdocumentor-signature__name">$payment_provider_id</span>
19401940
</code>
19411941

docs/classes/BigCommerce-ApiV3-ResourceModels-Catalog-Product-Product.html

+89-47
Large diffs are not rendered by default.

docs/classes/BigCommerce-ApiV3-WebDav-Client.html

+518
Large diffs are not rendered by default.
+139
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Documentation</title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<base href="../">
8+
<link rel="icon" href="images/favicon.ico"/>
9+
<link rel="stylesheet" href="css/normalize.css">
10+
<link rel="stylesheet" href="css/base.css">
11+
<link rel="preconnect" href="https://fonts.gstatic.com">
12+
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
13+
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
14+
<link rel="stylesheet" href="css/template.css">
15+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
16+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/themes/prism-okaidia.css">
17+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-numbers/prism-line-numbers.css">
18+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-highlight/prism-line-highlight.css">
19+
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
20+
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
21+
<script src="js/search.js"></script>
22+
<script defer src="js/searchIndex.js"></script>
23+
</head>
24+
<body id="top">
25+
<header class="phpdocumentor-header phpdocumentor-section">
26+
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
27+
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
28+
<label class="phpdocumentor-header__menu-icon" for="menu-button">
29+
<i class="fas fa-bars"></i>
30+
</label>
31+
<section data-search-form class="phpdocumentor-search">
32+
<label>
33+
<span class="visually-hidden">Search for</span>
34+
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
35+
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
36+
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
37+
</svg>
38+
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
39+
</label>
40+
</section>
41+
42+
<nav class="phpdocumentor-topnav">
43+
<ul class="phpdocumentor-topnav__menu">
44+
</ul>
45+
</nav>
46+
</header>
47+
48+
<main class="phpdocumentor">
49+
<div class="phpdocumentor-section">
50+
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
51+
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
52+
Menu
53+
</label>
54+
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
55+
56+
<section class="phpdocumentor-sidebar__category">
57+
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
58+
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/bigcommerce.html"><abbr title="\BigCommerce">BigCommerce</abbr></a></h4>
59+
<ul class="phpdocumentor-list">
60+
<li><a href="namespaces/bigcommerce-apiv3.html"><abbr title="\BigCommerce\ApiV3">ApiV3</abbr></a></li>
61+
<li><a href="namespaces/bigcommerce-apiv2.html"><abbr title="\BigCommerce\ApiV2">ApiV2</abbr></a></li>
62+
</ul>
63+
</section>
64+
65+
66+
<section class="phpdocumentor-sidebar__category">
67+
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
68+
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
69+
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
70+
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
71+
</section>
72+
73+
<section class="phpdocumentor-sidebar__category">
74+
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
75+
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
76+
</section>
77+
</aside>
78+
79+
<div class="phpdocumentor-column -eight phpdocumentor-content">
80+
<ul class="phpdocumentor-breadcrumbs">
81+
</ul>
82+
83+
<article class="phpdocumentor-element -file">
84+
<h2 class="phpdocumentor-content__title">Client.php</h2>
85+
86+
87+
<section class="phpdocumentor-description"></section>
88+
89+
90+
91+
92+
93+
94+
<h3 id="interfaces_class_traits">
95+
Interfaces, Classes and Traits
96+
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
97+
</h3>
98+
99+
<dl class="phpdocumentor-table-of-contents">
100+
101+
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/BigCommerce-ApiV3-WebDav-Client.html"><abbr title="\BigCommerce\ApiV3\WebDav\Client">Client</abbr></a></dt>
102+
<dd></dd>
103+
104+
</dl>
105+
106+
107+
108+
109+
110+
111+
112+
113+
</article>
114+
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
115+
<section class="phpdocumentor-search-results__dialog">
116+
<header class="phpdocumentor-search-results__header">
117+
<h2 class="phpdocumentor-search-results__title">Search results</h2>
118+
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
119+
</header>
120+
<section class="phpdocumentor-search-results__body">
121+
<ul class="phpdocumentor-search-results__entries"></ul>
122+
</section>
123+
</section>
124+
</section>
125+
</div>
126+
</div>
127+
<a href="files/bigcommerce-webdav-client.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
128+
129+
</main>
130+
131+
<script>
132+
cssVars({});
133+
</script>
134+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/prism.min.js"></script>
135+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/autoloader/prism-autoloader.min.js"></script>
136+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-numbers/prism-line-numbers.min.js"></script>
137+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-highlight/prism-line-highlight.min.js"></script>
138+
</body>
139+
</html>

docs/indices/files.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ <h3>C</h3>
142142
<li><a href="files/bigcommerce-api-channels-channelsapi.html"><abbr title="BigCommerce/Api/Channels/ChannelsApi.php">ChannelsApi.php</abbr></a></li>
143143
<li><a href="files/bigcommerce-responsemodels-channel-channelsresponse.html"><abbr title="BigCommerce/ResponseModels/Channel/ChannelsResponse.php">ChannelsResponse.php</abbr></a></li>
144144
<li><a href="files/bigcommerce-client.html"><abbr title="BigCommerce/Client.php">Client.php</abbr></a></li>
145+
<li><a href="files/bigcommerce-webdav-client.html"><abbr title="BigCommerce/WebDav/Client.php">Client.php</abbr></a></li>
145146
<li><a href="files/bigcommerce-resourcemodels-catalog-product-complexrule.html"><abbr title="BigCommerce/ResourceModels/Catalog/Product/ComplexRule.php">ComplexRule.php</abbr></a></li>
146147
<li><a href="files/bigcommerce-resourcemodels-catalog-product-complexruleconditions.html"><abbr title="BigCommerce/ResourceModels/Catalog/Product/ComplexRuleConditions.php">ComplexRuleConditions.php</abbr></a></li>
147148
<li><a href="files/bigcommerce-responsemodels-complexruleresponse.html"><abbr title="BigCommerce/ResponseModels/ComplexRuleResponse.php">ComplexRuleResponse.php</abbr></a></li>
@@ -215,8 +216,8 @@ <h3>O</h3>
215216
<li><a href="files/bigcommerce-responsemodels-product-optionresponse.html"><abbr title="BigCommerce/ResponseModels/Product/OptionResponse.php">OptionResponse.php</abbr></a></li>
216217
<li><a href="files/bigcommerce-api-catalog-products-optionsapi.html"><abbr title="BigCommerce/Api/Catalog/Products/OptionsApi.php">OptionsApi.php</abbr></a></li>
217218
<li><a href="files/bigcommerce-responsemodels-optionsresponse.html"><abbr title="BigCommerce/ResponseModels/OptionsResponse.php">OptionsResponse.php</abbr></a></li>
218-
<li><a href="files/bigcommerce-resourcemodels-order-order.html"><abbr title="BigCommerce/ResourceModels/Order/Order.php">Order.php</abbr></a></li>
219219
<li><a href="files/bigcommercelegacyapi-resourcemodels-order-order.html"><abbr title="BigCommerceLegacyApi/ResourceModels/Order/Order.php">Order.php</abbr></a></li>
220+
<li><a href="files/bigcommerce-resourcemodels-order-order.html"><abbr title="BigCommerce/ResourceModels/Order/Order.php">Order.php</abbr></a></li>
220221
<li><a href="files/bigcommercelegacyapi-resourcemodels-order-orderaddress.html"><abbr title="BigCommerceLegacyApi/ResourceModels/Order/OrderAddress.php">OrderAddress.php</abbr></a></li>
221222
<li><a href="files/bigcommercelegacyapi-resourcemodels-order-orderbillingaddress.html"><abbr title="BigCommerceLegacyApi/ResourceModels/Order/OrderBillingAddress.php">OrderBillingAddress.php</abbr></a></li>
222223
<li><a href="files/bigcommerce-resourcemodels-order-ordermetafield.html"><abbr title="BigCommerce/ResourceModels/Order/OrderMetafield.php">OrderMetafield.php</abbr></a></li>
@@ -226,8 +227,8 @@ <h3>O</h3>
226227
<li><a href="files/bigcommercelegacyapi-resourcemodels-order-orderproduct.html"><abbr title="BigCommerceLegacyApi/ResourceModels/Order/OrderProduct.php">OrderProduct.php</abbr></a></li>
227228
<li><a href="files/bigcommerce-resourcemodels-order-orderrefunditem.html"><abbr title="BigCommerce/ResourceModels/Order/OrderRefundItem.php">OrderRefundItem.php</abbr></a></li>
228229
<li><a href="files/bigcommercelegacyapi-resourcemodels-order-ordershippingaddress.html"><abbr title="BigCommerceLegacyApi/ResourceModels/Order/OrderShippingAddress.php">OrderShippingAddress.php</abbr></a></li>
229-
<li><a href="files/bigcommercelegacyapi-api-orders-ordersapi.html"><abbr title="BigCommerceLegacyApi/Api/Orders/OrdersApi.php">OrdersApi.php</abbr></a></li>
230230
<li><a href="files/bigcommerce-api-orders-ordersapi.html"><abbr title="BigCommerce/Api/Orders/OrdersApi.php">OrdersApi.php</abbr></a></li>
231+
<li><a href="files/bigcommercelegacyapi-api-orders-ordersapi.html"><abbr title="BigCommerceLegacyApi/Api/Orders/OrdersApi.php">OrdersApi.php</abbr></a></li>
231232
</ul>
232233
<h3>P</h3>
233234
<ul class="phpdocumentor-list">

docs/js/searchIndex.js

+45
Original file line numberDiff line numberDiff line change
@@ -2915,6 +2915,11 @@ Search.appendIndex(
29152915
"name": "brand_id",
29162916
"summary": "",
29172917
"url": "classes/BigCommerce-ApiV3-ResourceModels-Catalog-Product-Product.html#property_brand_id"
2918+
}, {
2919+
"fqsen": "\\BigCommerce\\ApiV3\\ResourceModels\\Catalog\\Product\\Product\u003A\u003A\u0024brand_name",
2920+
"name": "brand_name",
2921+
"summary": "",
2922+
"url": "classes/BigCommerce-ApiV3-ResourceModels-Catalog-Product-Product.html#property_brand_name"
29182923
}, {
29192924
"fqsen": "\\BigCommerce\\ApiV3\\ResourceModels\\Catalog\\Product\\Product\u003A\u003A\u0024inventory_level",
29202925
"name": "inventory_level",
@@ -7815,6 +7820,41 @@ Search.appendIndex(
78157820
"name": "features",
78167821
"summary": "",
78177822
"url": "classes/BigCommerce-ApiV2-ResourceModels-StoreInformation-StoreInformation.html#property_features"
7823+
}, {
7824+
"fqsen": "\\BigCommerce\\ApiV3\\WebDav\\Client",
7825+
"name": "Client",
7826+
"summary": "",
7827+
"url": "classes/BigCommerce-ApiV3-WebDav-Client.html"
7828+
}, {
7829+
"fqsen": "\\BigCommerce\\ApiV3\\WebDav\\Client\u003A\u003A__construct\u0028\u0029",
7830+
"name": "__construct",
7831+
"summary": "",
7832+
"url": "classes/BigCommerce-ApiV3-WebDav-Client.html#method___construct"
7833+
}, {
7834+
"fqsen": "\\BigCommerce\\ApiV3\\WebDav\\Client\u003A\u003AgetFileContents\u0028\u0029",
7835+
"name": "getFileContents",
7836+
"summary": "",
7837+
"url": "classes/BigCommerce-ApiV3-WebDav-Client.html#method_getFileContents"
7838+
}, {
7839+
"fqsen": "\\BigCommerce\\ApiV3\\WebDav\\Client\u003A\u003AuploadFile\u0028\u0029",
7840+
"name": "uploadFile",
7841+
"summary": "",
7842+
"url": "classes/BigCommerce-ApiV3-WebDav-Client.html#method_uploadFile"
7843+
}, {
7844+
"fqsen": "\\BigCommerce\\ApiV3\\WebDav\\Client\u003A\u003AgetUrl\u0028\u0029",
7845+
"name": "getUrl",
7846+
"summary": "",
7847+
"url": "classes/BigCommerce-ApiV3-WebDav-Client.html#method_getUrl"
7848+
}, {
7849+
"fqsen": "\\BigCommerce\\ApiV3\\WebDav\\Client\u003A\u003AgetGuzzleClient\u0028\u0029",
7850+
"name": "getGuzzleClient",
7851+
"summary": "",
7852+
"url": "classes/BigCommerce-ApiV3-WebDav-Client.html#method_getGuzzleClient"
7853+
}, {
7854+
"fqsen": "\\BigCommerce\\ApiV3\\WebDav\\Client\u003A\u003AprintDebug\u0028\u0029",
7855+
"name": "printDebug",
7856+
"summary": "",
7857+
"url": "classes/BigCommerce-ApiV3-WebDav-Client.html#method_printDebug"
78187858
}, {
78197859
"fqsen": "\\",
78207860
"name": "\\",
@@ -8095,6 +8135,11 @@ Search.appendIndex(
80958135
"name": "Widget",
80968136
"summary": "",
80978137
"url": "namespaces/bigcommerce-apiv3-responsemodels-widget.html"
8138+
}, {
8139+
"fqsen": "\\BigCommerce\\ApiV3\\WebDav",
8140+
"name": "WebDav",
8141+
"summary": "",
8142+
"url": "namespaces/bigcommerce-apiv3-webdav.html"
80988143
}, {
80998144
"fqsen": "\\BigCommerce\\ApiV2\\Api\\Generic",
81008145
"name": "Generic",

0 commit comments

Comments
 (0)