CodeExplorer getPaymentData example
'accountNumber' =>
$data['debit'
]['account'
],
'bankCode' =>
$data['debit'
]['bankCode'
],
'bankName' =>
$data['debit'
]['bankName'
],
'accountHolder' =>
$data['debit'
]['accountHolder'
],
'paymentMeanId' =>
$debitPaymentMean->
getId(),
],
];
} } $paymentDataInstances =
$this->
checkDataReplacement( $customer->
getPaymentData(),
$data,
'paymentData',
false
);
foreach ($data['paymentData'
] as &
$paymentDataData) { try { $paymentData =
$this->
getOneToManySubElement( $paymentDataInstances,
$paymentDataData,
PaymentData::
class,
[