File tree Expand file tree Collapse file tree 4 files changed +32
-3
lines changed Expand file tree Collapse file tree 4 files changed +32
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ ) and this project adheres
6
6
to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
7
7
8
+ ## [ 3.12.0] ( https://github.com/unzerdev/php-sdk/compare/3.11.0..3.12.0 )
9
+
10
+ ### Added
11
+
12
+ * Add Styling properties for v2 Paypage ` \UnzerSDK\Resources\V2\Paypage ` :
13
+ * ` basketBackgroundColor `
14
+ * ` paymentFormBackgroundColor `
15
+ * Add prototypes for v2 Customer: ` \UnzerSDK\Resources\V2\Customer ` .
16
+ * Add prototypes for v3 Basket: ` \UnzerSDK\Resources\V3\Basket ` .
17
+
8
18
## [ 3.11.0] ( https://github.com/unzerdev/php-sdk/compare/3.10.0..3.11.0 )
9
19
10
20
### Added
Original file line number Diff line number Diff line change 6
6
use UnzerSDK \Constants \ApiVersions ;
7
7
use UnzerSDK \Resources \Customer as CustomerV1 ;
8
8
9
+ /**
10
+ *
11
+ * This is a prototype version of the v2 Customer resource.
12
+ *
13
+ * This class represents version 2 of Customer resource in the Unzer API.
14
+ * The version uses bearer authentication for API calls.
15
+ * Make sure to use the same Unzer instance to use the same JWT token across multiple calls.
16
+ * Also, the resource ID incorporates UUID and has a length of 42.
17
+ *
18
+ * @category prototype
19
+ */
9
20
class Customer extends CustomerV1
10
21
{
11
22
public function getApiVersion (): string
@@ -17,6 +28,4 @@ public function getApiConfig(): string
17
28
{
18
29
return PaymentApiConfigBearerAuth::class;
19
30
}
20
-
21
-
22
31
}
Original file line number Diff line number Diff line change 6
6
use UnzerSDK \Constants \ApiVersions ;
7
7
use UnzerSDK \Resources \Basket as BasketV2 ;
8
8
9
+ /**
10
+ * This is a prototype of the v3 Basket resource.
11
+ *
12
+ * This class represents version 3 of Basket resource in the Unzer API.
13
+ * The version uses bearer authentication for API calls.
14
+ * Make sure to use the same Unzer instance to use the same JWT token across multiple calls.
15
+ * Also, the resource ID incorporates UUID and has a length of 42.
16
+ *
17
+ * @category prototype
18
+ */
9
19
class Basket extends BasketV2
10
20
{
11
21
public function __construct (
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ class Unzer implements
58
58
public const BASE_URL = 'api.unzer.com ' ;
59
59
public const API_VERSION = ApiVersions::V1 ;
60
60
public const SDK_TYPE = 'UnzerPHP ' ;
61
- public const SDK_VERSION = '3.11 .0 ' ;
61
+ public const SDK_VERSION = '3.12 .0 ' ;
62
62
63
63
/** @var string $key */
64
64
private $ key ;
You can’t perform that action at this time.
0 commit comments