Skip to content

Commit

Permalink
Release/1.11.1 Added checkout_links field for Smart Transaction model (
Browse files Browse the repository at this point in the history
…#31)

* Added checkout_links field for Smart Transaction model

* Release stuff
  • Loading branch information
AntonLunyovBV authored Feb 12, 2019
1 parent 6f85eb2 commit 6b60bd5
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Removed

## [1.11.1] - 2019-01-28

### Added
- Smart Transaction model: new field checkout_links

## [1.11.0] - 2019-01-11

Expand Down Expand Up @@ -455,3 +459,4 @@ First release
[1.10.0]:https://github.com/secucard/secucard-connect-php-sdk/compare/v1.9.5...v1.10.0
[1.10.1]:https://github.com/secucard/secucard-connect-php-sdk/compare/v1.10.0...v1.10.1
[1.11.0]:https://github.com/secucard/secucard-connect-php-sdk/compare/v1.10.1...v1.11.0
[1.11.1]:https://github.com/secucard/secucard-connect-php-sdk/compare/v1.11.0...v1.11.1
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "secucard connect PHP client SDK",
"license": "Apache-2.0",
"homepage": "https://github.com/secucard/secucard-connect-php-sdk",
"version": "v1.11.0",
"version": "v1.11.1",
"require": {
"php": ">=5.5.0",
"guzzlehttp/guzzle": "~6.3",
Expand Down
33 changes: 33 additions & 0 deletions src/SecucardConnect/Product/Smart/Model/CheckoutLinks.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php


namespace SecucardConnect\Product\Smart\Model;


/**
* Class CheckoutLinks
*
* @author Anton Lunyov <[email protected]>
*/
class CheckoutLinks
{
/**
* @var string
*/
public $url_checkout;

/**
* @var string
*/
public $url_success;

/**
* @var string
*/
public $url_abort;

/**
* @var string
*/
public $url_error;
}
5 changes: 5 additions & 0 deletions src/SecucardConnect/Product/Smart/Model/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,11 @@ class Transaction extends BaseModel
*/
public $iframe_url;

/**
* @var CheckoutLinks
*/
public $checkout_links;

/**
* @return array
*/
Expand Down
2 changes: 1 addition & 1 deletion src/SecucardConnect/SecucardConnect.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ final class SecucardConnect
/**
* SDK version
*/
const VERSION = '1.11.0';
const VERSION = '1.11.1';

/**
* @var OAuthProvider
Expand Down

0 comments on commit 6b60bd5

Please sign in to comment.