Skip to content

Commit bc6d5d5

Browse files
authored
release 3.12.0
1 parent a619d73 commit bc6d5d5

File tree

4 files changed

+32
-3
lines changed

4 files changed

+32
-3
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres
66
to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

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+
818
## [3.11.0](https://github.com/unzerdev/php-sdk/compare/3.10.0..3.11.0)
919

1020
### Added

src/Resources/V2/Customer.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@
66
use UnzerSDK\Constants\ApiVersions;
77
use UnzerSDK\Resources\Customer as CustomerV1;
88

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+
*/
920
class Customer extends CustomerV1
1021
{
1122
public function getApiVersion(): string
@@ -17,6 +28,4 @@ public function getApiConfig(): string
1728
{
1829
return PaymentApiConfigBearerAuth::class;
1930
}
20-
21-
2231
}

src/Resources/V3/Basket.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@
66
use UnzerSDK\Constants\ApiVersions;
77
use UnzerSDK\Resources\Basket as BasketV2;
88

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+
*/
919
class Basket extends BasketV2
1020
{
1121
public function __construct(

src/Unzer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class Unzer implements
5858
public const BASE_URL = 'api.unzer.com';
5959
public const API_VERSION = ApiVersions::V1;
6060
public const SDK_TYPE = 'UnzerPHP';
61-
public const SDK_VERSION = '3.11.0';
61+
public const SDK_VERSION = '3.12.0';
6262

6363
/** @var string $key */
6464
private $key;

0 commit comments

Comments
 (0)