-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #346 from Adyen/feature/AD-105
AD-105 Create Backoffice view with AdyenNotificationItem
- Loading branch information
Showing
11 changed files
with
170 additions
and
62 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
51 changes: 51 additions & 0 deletions
51
adyenv6notification/resources/adyenv6notification-backoffice-config.xml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
|
||
|
||
<config xmlns="http://www.hybris.com/cockpit/config" | ||
xmlns:et="http://www.hybris.com/cockpitng/config/explorertree" | ||
xmlns:as="http://www.hybris.com/cockpitng/config/advancedsearch" | ||
xmlns:lv="http://www.hybris.com/cockpitng/component/listView" | ||
xmlns:explorer-tree="http://www.hybris.com/cockpitng/config/explorertree"> | ||
|
||
|
||
<context component="explorer-tree"> | ||
<et:explorer-tree> | ||
<et:type-node id="hmc_adyen_notification_item" code="NotificationItem"/> | ||
</et:explorer-tree> | ||
</context> | ||
|
||
<context type="NotificationItem" component="advanced-search" merge-by="type" parent="GenericItem"> | ||
<as:advanced-search> | ||
<as:field-list> | ||
<as:field name="uuid"/> | ||
<as:field name="amountValue"/> | ||
<as:field name="amountCurrency"/> | ||
<as:field name="eventCode"/> | ||
<as:field name="eventDate"/> | ||
<as:field name="merchantAccountCode"/> | ||
<as:field name="merchantReference"/> | ||
<as:field name="originalReference"/> | ||
<as:field name="pspReference"/> | ||
<as:field name="paymentMethod"/> | ||
<as:field name="createdAt"/> | ||
<as:field name="processedAt"/> | ||
<as:field name="success"/> | ||
</as:field-list> | ||
</as:advanced-search> | ||
</context> | ||
|
||
<context merge-by="type" parent="GenericItem" type="NotificationItem" component="listview"> | ||
<lv:list-view> | ||
<lv:column qualifier="uuid"/> | ||
<lv:column qualifier="merchantReference"/> | ||
<lv:column qualifier="pspReference"/> | ||
<lv:column qualifier="amountValue"/> | ||
<lv:column qualifier="amountCurrency"/> | ||
<lv:column qualifier="paymentMethod"/> | ||
<lv:column qualifier="eventCode"/> | ||
<lv:column qualifier="success"/> | ||
<lv:column qualifier="originalReference"/> | ||
</lv:list-view> | ||
</context> | ||
|
||
</config> |
39 changes: 39 additions & 0 deletions
39
adyenv6notification/resources/localization/adyenv6notification-locales_en.properties
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# ----------------------------------------------------------------------- | ||
# Copyright (c) 2021 SAP SE or an SAP affiliate company. All rights reserved. | ||
# ----------------------------------------------------------------------- | ||
|
||
# put localizations of item types into this file | ||
# Note that you can also add special locatizations which | ||
# can be retrieved with the | ||
# | ||
# ...tools.localization.Localization.getLocalizedString(...) | ||
# | ||
# methods. | ||
# | ||
# syntax for type localizations: | ||
# | ||
# type.<code of type>.name=XY | ||
# type.<code of type>.<qualifier of attribute>.name=XY | ||
# type.<code of type>.description=XY | ||
# type.<code of type>.<qualifier of attribute>.description=XY | ||
# | ||
# yourcustomlocalekey=value | ||
hmc_adyen_notification_item=Adyen Notification Item | ||
|
||
type.NotificationItem.name=Adyen Notification | ||
type.NotificationItem.uuid.name=UUID | ||
type.NotificationItem.amountValue.name=Amount value | ||
type.NotificationItem.amountCurrency.name=Amount currency | ||
type.NotificationItem.eventCode.name=Event code | ||
type.NotificationItem.eventDate.name=Event date | ||
type.NotificationItem.merchantAccountCode.name=Merchant account code | ||
type.NotificationItem.merchantReference.name=Merchant reference | ||
type.NotificationItem.originalReference.name=Original reference | ||
type.NotificationItem.pspReference.name=PSP reference | ||
type.NotificationItem.reason.name=Reason | ||
type.NotificationItem.success.name=Success | ||
type.NotificationItem.paymentMethod.name=Payment method | ||
type.NotificationItem.additionalData.name=Additional data | ||
type.NotificationItem.createdAt.name=Created at | ||
type.NotificationItem.processedAt.name=Processed at | ||
|
This file contains 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
This file contains 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
55 changes: 55 additions & 0 deletions
55
adyenv6notificationv2/resources/adyenv6notificationv2-backoffice-config.xml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
|
||
|
||
<config xmlns="http://www.hybris.com/cockpit/config" | ||
xmlns:et="http://www.hybris.com/cockpitng/config/explorertree" | ||
xmlns:as="http://www.hybris.com/cockpitng/config/advancedsearch" | ||
xmlns:lv="http://www.hybris.com/cockpitng/component/listView" | ||
xmlns:explorer-tree="http://www.hybris.com/cockpitng/config/explorertree"> | ||
|
||
|
||
<context component="explorer-tree"> | ||
<explorer-tree:explorer-tree> | ||
<et:type-node id="hmc_adyen_notification" code="AdyenNotification"/> | ||
</explorer-tree:explorer-tree> | ||
</context> | ||
|
||
|
||
|
||
<context type="AdyenNotification" component="advanced-search" merge-by="type" parent="GenericItem"> | ||
<as:advanced-search> | ||
<as:field-list> | ||
<as:field name="uuid"/> | ||
<as:field name="amountValue"/> | ||
<as:field name="amountCurrency"/> | ||
<as:field name="eventCode"/> | ||
<as:field name="eventDate"/> | ||
<as:field name="merchantAccountCode"/> | ||
<as:field name="merchantReference"/> | ||
<as:field name="originalReference"/> | ||
<as:field name="pspReference"/> | ||
<as:field name="paymentMethod"/> | ||
<as:field name="createdAt"/> | ||
<as:field name="processedAt"/> | ||
<as:field name="success"/> | ||
</as:field-list> | ||
</as:advanced-search> | ||
</context> | ||
|
||
|
||
<context merge-by="type" parent="GenericItem" type="AdyenNotification" component="listview"> | ||
<lv:list-view> | ||
<lv:column qualifier="uuid"/> | ||
<lv:column qualifier="merchantReference"/> | ||
<lv:column qualifier="pspReference"/> | ||
<lv:column qualifier="amountValue"/> | ||
<lv:column qualifier="amountCurrency"/> | ||
<lv:column qualifier="paymentMethod"/> | ||
<lv:column qualifier="eventCode"/> | ||
<lv:column qualifier="success"/> | ||
<lv:column qualifier="originalReference"/> | ||
</lv:list-view> | ||
</context> | ||
|
||
|
||
</config> |
This file contains 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