[ACL-69] Merchant account transactions - #81
Draft
stefandanaita wants to merge 8 commits into
Draft
Conversation
stefandanaita
marked this pull request as ready for review
May 6, 2025 18:55
lighe
reviewed
May 8, 2025
lighe
reviewed
May 9, 2025
stefandanaita
force-pushed
the
acl-69/merchant-account-transactions
branch
from
May 9, 2025 10:35
20c3e51 to
0d8ebd7
Compare
stefandanaita
marked this pull request as draft
May 13, 2025 09:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces support for retrieving merchant account transactions, including new transaction types, interfaces, and related constants. It also updates the documentation and configuration files to reflect these changes. Below is a breakdown of the most important changes:
New Features and Enhancements:
Merchant Account Transactions API:
getTransactionsmethod to theMerchantAccountclass to retrieve transactions within a specified date range. This method utilizes theMerchantAccountTransactionRetrievedInterfaceand theentityFactoryto handle transaction data. (src/Entities/MerchantAccount/MerchantAccount.php)MerchantAccountPayment,MerchantAccountRefund,MerchantAccountPayout,MerchantAccountExecutedPayout, andMerchantAccountPendingPayout. These classes define specific transaction types and their associated fields. [1] [2] [3] [4] [5]Constants for Transactions:
MerchantAccountTransactionTypesandMerchantAccountPayoutStatusesconstants to define transaction type and payout status values. (src/Constants/MerchantAccountTransactionTypes.php,src/Constants/MerchantAccountPayoutStatuses.php) [1] [2]Configuration Updates:
Dependency Bindings:
config/bindings.php.Discriminators for Polymorphism:
config/discriminations.phpto include discriminators for transaction types and payout statuses, enabling polymorphic behavior for transaction entities.Documentation:
README Update:
README.mdfile. This example demonstrates the usage of the newgetTransactionsmethod.Changelog Update:
CHANGELOG.mdfile under version3.1.1.