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

Feature/acp 4656/master adjust event status payment history #27

Merged

Conversation

stereomon
Copy link
Contributor

@stereomon stereomon commented Jan 7, 2025

  • Added payment status history table.
  • Send payment status history in PaymentCreated and PaymentUpdated messages.

SCCOS Sales Detail Page with changes down below:

Screenshot 2025-01-08 at 09 59 19

</transfer>

<transfer name="PaymentStatusHistoryCollection" strict="true">
<property name="paymentStatusHistory" type="PaymentStatusHistory[]" singular="paymentStatusHistory"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<property name="paymentStatusHistory" type="PaymentStatusHistory[]" singular="paymentStatusHistory"/>
<property name="paymentStatusHistoryItems" type="PaymentStatusHistory[]" singular="paymentStatusHistoryItem"/>

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was also thinking about a different name here. "Item" reminds me too much of an order item. How about using just PaymentStatus and PaymentStatusHistory? The latter is the collection and the first is an "item" in the history.

I will go for it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied, looks much more natural now. The PaymentStatusHistory implies already that it is a collection that contains PaymentStates aka PaymentStatusTransfer's.

@stereomon stereomon merged commit 6d081bc into master Jan 9, 2025
1 of 2 checks passed
@stereomon stereomon deleted the feature/acp-4656/master-adjust-event-status-payment-history branch January 9, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants