Mangopay / mangopay2-php-sdk

PHP SDK for MANGOPAY
https://packagist.org/packages/mangopay/php-sdk-v2
MIT License
123 stars 134 forks source link

Add missing ChargeDate information in transaction #510

Closed nicolas-anaxago closed 3 years ago

nicolas-anaxago commented 3 years ago

Charge date was not exposed by SDK.

Information is usefull for direct debit payin

H4wKs commented 3 years ago

I may be wrong, but as ChargeDate is only available for the Direct-Debit Direct PayIn object, maybe it would be better implement it in PayInPaymentDetailsDirectDebitDirect instead of Transaction Class that is used in Payin,Payout, Transfer, Refund.

nicolas-anaxago commented 3 years ago

Yes you're right. I put it in PayInPaymentDetailsDirectDebit.php :+1: