Page MenuHomePhabricator

Remove status from Donation domain model
Open, Needs TriagePublic5 Estimated Story Points


While working on T276820: Use bounded context use cases for actions that change donations in Fundraising Operation Center we separated the moderation and deletion state from the payment state. The Legacy converters can convert to and from the internal state field using moderation, deletion and payment information, so the state no longer serves a purpose.

Acceptance criteria

  • Domain\Model\Donation does no longer have a status field, getter or constructor argument. This is a BC break, you must release a new version of the Donation bounded context.
  • The tests in the fundraising-donations and fundraising-app repositories pass

Implementation Notes:

We have already done most of the work, the only place where we still call getStatus is in the tests.