mirror of
https://git.yoomoney.ru/scm/sdk/yookassa-sdk-php.git
synced 2026-09-12 19:06:14 +00:00
Update CreatePaymentRequestSerializer.php
add "metadata" in serializeTransfers
This commit is contained in:
@@ -354,10 +354,11 @@ class CreatePaymentRequestSerializer
|
||||
foreach ($transfers as $transfer) {
|
||||
$result[] = array(
|
||||
'account_id' => $transfer->getAccountId(),
|
||||
'amount' => $this->serializeAmount($transfer->getAmount())
|
||||
'amount' => $this->serializeAmount($transfer->getAmount()),
|
||||
'metadata' => $transfer->getMetadata(),
|
||||
);
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user