Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions sdk-generation-log/transfers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"service": "transfers",
"project": "php",
"generatedAt": "2026-04-20T10:49:53Z",
"openapiCommitSha": "3550ecd3f320efaad6bee55ffed5122cb9ba09d5",
"automationCommitSha": "4ad0c0c7e87bc0e5994a9a3350a991d0691350bb",
"libraryCommitSha": "543a990aa9c3dc0c5899292b33c6762d153edca7"
}
6 changes: 3 additions & 3 deletions src/Adyen/Model/Transfers/CapitalGrant.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class CapitalGrant implements ModelInterface, ArrayAccess, \JsonSerializable
protected static $openAPITypes = [
'amount' => '\Adyen\Model\Transfers\Amount',
'balances' => '\Adyen\Model\Transfers\CapitalBalance',
'counterparty' => '\Adyen\Model\Transfers\Counterparty',
'counterparty' => '\Adyen\Model\Transfers\GrantCounterparty',
'fee' => '\Adyen\Model\Transfers\Fee',
'grantAccountId' => 'string',
'grantOfferId' => 'string',
Expand Down Expand Up @@ -426,7 +426,7 @@ public function setBalances($balances)
/**
* Gets counterparty
*
* @return \Adyen\Model\Transfers\Counterparty|null
* @return \Adyen\Model\Transfers\GrantCounterparty|null
*/
public function getCounterparty()
{
Expand All @@ -436,7 +436,7 @@ public function getCounterparty()
/**
* Sets counterparty
*
* @param \Adyen\Model\Transfers\Counterparty|null $counterparty counterparty
* @param \Adyen\Model\Transfers\GrantCounterparty|null $counterparty counterparty
*
* @return self
*/
Expand Down
6 changes: 3 additions & 3 deletions src/Adyen/Model/Transfers/CapitalGrantInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class CapitalGrantInfo implements ModelInterface, ArrayAccess, \JsonSerializable
* @var string[]
*/
protected static $openAPITypes = [
'counterparty' => '\Adyen\Model\Transfers\Counterparty',
'counterparty' => '\Adyen\Model\Transfers\GrantInfoCounterparty',
'grantAccountId' => 'string',
'grantOfferId' => 'string'
];
Expand Down Expand Up @@ -296,7 +296,7 @@ public function valid()
/**
* Gets counterparty
*
* @return \Adyen\Model\Transfers\Counterparty|null
* @return \Adyen\Model\Transfers\GrantInfoCounterparty|null
*/
public function getCounterparty()
{
Expand All @@ -306,7 +306,7 @@ public function getCounterparty()
/**
* Sets counterparty
*
* @param \Adyen\Model\Transfers\Counterparty|null $counterparty counterparty
* @param \Adyen\Model\Transfers\GrantInfoCounterparty|null $counterparty counterparty
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
use Adyen\Model\Transfers\ObjectSerializer;

/**
* Counterparty Class Doc Comment
* GrantCounterparty Class Doc Comment
*
* @package Adyen
* @implements ArrayAccess<string, mixed>
*/
class Counterparty implements ModelInterface, ArrayAccess, \JsonSerializable
class GrantCounterparty implements ModelInterface, ArrayAccess, \JsonSerializable

Check warning on line 27 in src/Adyen/Model/Transfers/GrantCounterparty.php

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Class "GrantCounterparty" has 28 methods, which is greater than 20 authorized. Split it into smaller classes.

See more on https://sonarcloud.io/project/issues?id=Adyen_adyen-php-api-library&issues=AZ1xWiiA4U2dS2z0PmD-&open=AZ1xWiiA4U2dS2z0PmD-&pullRequest=887
{
public const DISCRIMINATOR = null;

Expand All @@ -33,7 +33,7 @@
*
* @var string
*/
protected static $openAPIModelName = 'Counterparty';
protected static $openAPIModelName = 'GrantCounterparty';

/**
* Array of property to type mappings. Used for (de)serialization
Expand Down Expand Up @@ -122,7 +122,7 @@
*
* @param boolean[] $openAPINullablesSetToNull
*/
private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void

Check warning on line 125 in src/Adyen/Model/Transfers/GrantCounterparty.php

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove this unused private "setopenapinullablessettonull" method.

See more on https://sonarcloud.io/project/issues?id=Adyen_adyen-php-api-library&issues=AZ1xWiiA4U2dS2z0PmD8&open=AZ1xWiiA4U2dS2z0PmD8&pullRequest=887
{
$this->openAPINullablesSetToNull = $openAPINullablesSetToNull;
}
Expand Down Expand Up @@ -270,7 +270,7 @@
*/
public function listInvalidProperties()
{
$invalidProperties = [];

Check warning on line 273 in src/Adyen/Model/Transfers/GrantCounterparty.php

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Immediately return this expression instead of assigning it to the temporary variable "$invalidProperties".

See more on https://sonarcloud.io/project/issues?id=Adyen_adyen-php-api-library&issues=AZ1xWiiA4U2dS2z0PmD9&open=AZ1xWiiA4U2dS2z0PmD9&pullRequest=887

return $invalidProperties;
}
Expand Down Expand Up @@ -300,7 +300,7 @@
/**
* Sets accountHolderId
*
* @param string|null $accountHolderId The identifier of the receiving account holder. The payout will default to the primary balance account of this account holder if no `balanceAccountId` is provided.
* @param string|null $accountHolderId The identifier of the receiving account holder.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The documentation for the $accountHolderId parameter has been shortened, removing what appears to be a helpful detail. The previous version mentioned that the payout defaults to the primary balance account if balanceAccountId is not provided. This is valuable information for developers using the SDK. If this behavior is still valid, please restore this part of the documentation to improve clarity.

     * @param string|null $accountHolderId The identifier of the receiving account holder. The payout will default to the primary balance account of this account holder if no balanceAccountId is provided.

*
* @return self
*/
Expand Down
Loading
Loading