|
@@ -17,8 +17,8 @@ discard block |
|
|
block discarded – undo |
|
17
|
17
|
{ |
|
18
|
18
|
const BASE_URL = 'https://purchase.izettle.com'; |
|
19
|
19
|
|
|
20
|
|
- const GET_PURCHASE = self::BASE_URL . '/purchase/v2/%s'; |
|
21
|
|
- const GET_PURCHASES = self::BASE_URL . '/purchases/v2'; |
|
|
20
|
+ const GET_PURCHASE = self::BASE_URL.'/purchase/v2/%s'; |
|
|
21
|
+ const GET_PURCHASES = self::BASE_URL.'/purchases/v2'; |
|
22
|
22
|
|
|
23
|
23
|
private $client; |
|
24
|
24
|
private $purchaseHistoryBuilder; |
|
@@ -55,7 +55,7 @@ discard block |
|
|
block discarded – undo |
|
55
|
55
|
|
|
56
|
56
|
public function getPurchasesUrl() |
|
57
|
57
|
{ |
|
58
|
|
- return self::GET_PURCHASES . '?' . http_build_query($this->paramters); |
|
|
58
|
+ return self::GET_PURCHASES.'?'.http_build_query($this->paramters); |
|
59
|
59
|
} |
|
60
|
60
|
|
|
61
|
61
|
public function getPurchaseHistory(): PurchaseHistory |
Please login to merge, or discard this patch.