Skip to content

Commit

Permalink
5.7.5 (#46)
Browse files Browse the repository at this point in the history
Co-authored-by: Unknown <[email protected]>
  • Loading branch information
magnomoreira and samuelleitemundipagg authored Jun 22, 2023
1 parent 0af9d04 commit abad017
Show file tree
Hide file tree
Showing 15 changed files with 2,871 additions and 2,740 deletions.
2,280 changes: 1,141 additions & 1,139 deletions README.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ class Configuration
* @var string
*/
public static $BASEURI = 'https://api.pagar.me/core/v5';
/**
* @todo Replace the $serviceRefererName with an appropriate value
*/
public static $serviceRefererName = '';

/**
* The username to use with basic authentication
Expand Down
10 changes: 5 additions & 5 deletions src/Controllers/BaseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class BaseController
* User-agent to be sent with API calls
* @var string
*/
const USER_AGENT = 'PagarmeCoreApi - PHP 5.7.4';
const USER_AGENT = 'PagarmeCoreApi - PHP 5.7.5';

/**
* HttpCallBack instance associated with this controller
Expand Down Expand Up @@ -58,15 +58,15 @@ protected function getJsonMapper()
{
$mapper = new JsonMapper();
$mapper->arChildClasses['PagarmeCoreApiLib\\Models\\GetTransactionResponse'] = array(
'PagarmeCoreApiLib\\Models\\GetBankTransferTransactionResponse',
'PagarmeCoreApiLib\\Models\\GetSafetyPayTransactionResponse',
'PagarmeCoreApiLib\\Models\\GetBankTransferTransactionResponse',
'PagarmeCoreApiLib\\Models\\GetVoucherTransactionResponse',
'PagarmeCoreApiLib\\Models\\GetBoletoTransactionResponse',
'PagarmeCoreApiLib\\Models\\GetDebitCardTransactionResponse',
'PagarmeCoreApiLib\\Models\\GetPrivateLabelTransactionResponse',
'PagarmeCoreApiLib\\Models\\GetCashTransactionResponse',
'PagarmeCoreApiLib\\Models\\GetCreditCardTransactionResponse',
'PagarmeCoreApiLib\\Models\\GetPixTransactionResponse'
'PagarmeCoreApiLib\\Models\\GetBoletoTransactionResponse',
'PagarmeCoreApiLib\\Models\\GetPixTransactionResponse',
'PagarmeCoreApiLib\\Models\\GetCreditCardTransactionResponse'
);
return $mapper;
}
Expand Down
401 changes: 207 additions & 194 deletions src/Controllers/ChargesController.php

Large diffs are not rendered by default.

Loading

0 comments on commit abad017

Please sign in to comment.