Skip to content

Commit

Permalink
Release 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vttn committed Jul 6, 2021
1 parent 780b8c5 commit 7e267d7
Show file tree
Hide file tree
Showing 67 changed files with 19,999 additions and 158 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postfinancecheckout/sdk",
"version": "3.0.0",
"version": "3.0.1",
"description": "PostFinance Checkout SDK for PHP",
"keywords": [
"postfinancecheckout",
Expand Down
110 changes: 109 additions & 1 deletion lib/ApiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ final class ApiClient {
*
* @var string
*/
private $userAgent = 'PHP-Client/3.0.0/php';
private $userAgent = 'PHP-Client/3.0.1/php';

/**
* The path to the certificate authority file.
Expand Down Expand Up @@ -980,6 +980,30 @@ public function getPaymentProcessorService() {
return $this->paymentProcessorService;
}

protected $paymentTerminalService;

/**
* @return \PostFinanceCheckout\Sdk\Service\PaymentTerminalService
*/
public function getPaymentTerminalService() {
if(is_null($this->paymentTerminalService)){
$this->paymentTerminalService = new \PostFinanceCheckout\Sdk\Service\PaymentTerminalService($this);
}
return $this->paymentTerminalService;
}

protected $paymentTerminalTillService;

/**
* @return \PostFinanceCheckout\Sdk\Service\PaymentTerminalTillService
*/
public function getPaymentTerminalTillService() {
if(is_null($this->paymentTerminalTillService)){
$this->paymentTerminalTillService = new \PostFinanceCheckout\Sdk\Service\PaymentTerminalTillService($this);
}
return $this->paymentTerminalTillService;
}

protected $permissionService;

/**
Expand Down Expand Up @@ -1040,6 +1064,78 @@ public function getRefundService() {
return $this->refundService;
}

protected $shopifyRecurringOrderService;

/**
* @return \PostFinanceCheckout\Sdk\Service\ShopifyRecurringOrderService
*/
public function getShopifyRecurringOrderService() {
if(is_null($this->shopifyRecurringOrderService)){
$this->shopifyRecurringOrderService = new \PostFinanceCheckout\Sdk\Service\ShopifyRecurringOrderService($this);
}
return $this->shopifyRecurringOrderService;
}

protected $shopifySubscriberService;

/**
* @return \PostFinanceCheckout\Sdk\Service\ShopifySubscriberService
*/
public function getShopifySubscriberService() {
if(is_null($this->shopifySubscriberService)){
$this->shopifySubscriberService = new \PostFinanceCheckout\Sdk\Service\ShopifySubscriberService($this);
}
return $this->shopifySubscriberService;
}

protected $shopifySubscriptionProductService;

/**
* @return \PostFinanceCheckout\Sdk\Service\ShopifySubscriptionProductService
*/
public function getShopifySubscriptionProductService() {
if(is_null($this->shopifySubscriptionProductService)){
$this->shopifySubscriptionProductService = new \PostFinanceCheckout\Sdk\Service\ShopifySubscriptionProductService($this);
}
return $this->shopifySubscriptionProductService;
}

protected $shopifySubscriptionService;

/**
* @return \PostFinanceCheckout\Sdk\Service\ShopifySubscriptionService
*/
public function getShopifySubscriptionService() {
if(is_null($this->shopifySubscriptionService)){
$this->shopifySubscriptionService = new \PostFinanceCheckout\Sdk\Service\ShopifySubscriptionService($this);
}
return $this->shopifySubscriptionService;
}

protected $shopifySubscriptionSuspensionService;

/**
* @return \PostFinanceCheckout\Sdk\Service\ShopifySubscriptionSuspensionService
*/
public function getShopifySubscriptionSuspensionService() {
if(is_null($this->shopifySubscriptionSuspensionService)){
$this->shopifySubscriptionSuspensionService = new \PostFinanceCheckout\Sdk\Service\ShopifySubscriptionSuspensionService($this);
}
return $this->shopifySubscriptionSuspensionService;
}

protected $shopifySubscriptionVersionService;

/**
* @return \PostFinanceCheckout\Sdk\Service\ShopifySubscriptionVersionService
*/
public function getShopifySubscriptionVersionService() {
if(is_null($this->shopifySubscriptionVersionService)){
$this->shopifySubscriptionVersionService = new \PostFinanceCheckout\Sdk\Service\ShopifySubscriptionVersionService($this);
}
return $this->shopifySubscriptionVersionService;
}

protected $shopifyTransactionService;

/**
Expand Down Expand Up @@ -1208,6 +1304,18 @@ public function getTransactionService() {
return $this->transactionService;
}

protected $transactionTerminalService;

/**
* @return \PostFinanceCheckout\Sdk\Service\TransactionTerminalService
*/
public function getTransactionTerminalService() {
if(is_null($this->transactionTerminalService)){
$this->transactionTerminalService = new \PostFinanceCheckout\Sdk\Service\TransactionTerminalService($this);
}
return $this->transactionTerminalService;
}

protected $transactionVoidService;

/**
Expand Down
6 changes: 3 additions & 3 deletions lib/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class Configuration
*
* @var string
*/
protected $userAgent = 'PostFinanceCheckout\Sdk/3.0.0/php';
protected $userAgent = 'PostFinanceCheckout\Sdk/3.0.1/php';

/**
* Debug switch (default set to false)
Expand Down Expand Up @@ -388,8 +388,8 @@ public static function toDebugReport()
$report = 'PHP SDK (PostFinanceCheckout\Sdk) Debug Report:' . PHP_EOL;
$report .= ' OS: ' . php_uname() . PHP_EOL;
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
$report .= ' OpenAPI Spec Version: 3.0.0' . PHP_EOL;
$report .= ' SDK Package Version: 3.0.0' . PHP_EOL;
$report .= ' OpenAPI Spec Version: 3.0.1' . PHP_EOL;
$report .= ' SDK Package Version: 3.0.1' . PHP_EOL;
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;

return $report;
Expand Down
Loading

0 comments on commit 7e267d7

Please sign in to comment.