Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML generation refactor #61

Merged
merged 9 commits into from
Nov 5, 2024
Merged

XML generation refactor #61

merged 9 commits into from
Nov 5, 2024

Conversation

johnnynotsolucky
Copy link
Contributor

@johnnynotsolucky johnnynotsolucky commented Oct 30, 2024

  • Resolves Add ability to override fields, such as title or quantity #22
  • Requires PHP 8.1 or higher.
  • Added Xml::ORDER_EVENT event.
  • Added OrderEvent.
  • Removed the Xml::ORDER_FIELD_EVENT event. Xml::ORDER_EVENT should be used instead.
  • Removed OrderFieldEvent. All details about an order can be updated in a single event now.

@johnnynotsolucky johnnynotsolucky marked this pull request as ready for review October 30, 2024 14:41
- Removed unused imports and commented-out code in Plugin.php
- Changed public properties to private
- Added getter and setter methods for encapsulated properties in models
- Updated Xml service to use new property accessors
@johnnynotsolucky johnnynotsolucky merged commit 7c56b93 into main Nov 5, 2024
3 checks passed
@johnnynotsolucky johnnynotsolucky deleted the xmlgen branch November 5, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ability to override fields, such as title or quantity
1 participant