Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056346
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Gift cards and gift voucherstrivialhave not tried2024-09-03 09:112024-09-24 13:00
Reporterinaki_luqueView Statuspublic 
Assigned Toinaki_luque 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056346: Add credit to Giftcards through API

DescriptionBe able to increase the current amount of a gift card by API and if the gift card was closed, it needs to be at a status usable.

Jira link (https://openbravo.atlassian.net/browse/RM-14434 [^])
Steps To Reproduce- Customer purchases shoes with a GC
- Amount of GC is diminished (or exhausted)
- Customer comes back, return the shoes
- GC is credited with the paid amount.
Proposed SolutionCreate a new webservice, ImportService/AddCreditGiftCard and will receive the following information:

  - "client"
  - "organization"
  - "giftCardIdentifier"
  - "amount"
  - "returnOrder"
  - "expirationDate"

The update should share the infos on:

  - New Amount of the gift card
  - Status update (As the gift card might have been closed before)
  - Expiration date
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0168812)
hgbot (developer)
2024-09-05 13:27

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.giftcards/-/merge_requests/40 [^]
(0169139)
hgbot (developer)
2024-09-12 13:55

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/374 [^]
(0169145)
hgbot (developer)
2024-09-12 16:50

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/116 [^]
(0169519)
hgbot (developer)
2024-09-24 13:00

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.giftcards [^]
Changeset: 89993a5e83a9ab8c10673c2038fedb97c877287b
Author: Iñaki Luque <i.luque@orisha.com>
Date: 24-09-2024 11:00:33
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.giftcards/-/commit/89993a5e83a9ab8c10673c2038fedb97c877287b [^]

Fixed ISSUE-56346: Created new Web Service for recrediting an existing gift card

---
A api/org.openbravo.retail.api.giftcards-addcreditgiftcards.yml
A src/org/openbravo/retail/api/giftcards/service/AddCreditGiftCardApiImportWebService.java
A src/org/openbravo/retail/api/giftcards/utils/GiftCardsApiUtils.java
M config/org.openbravo.retail.api.giftcards-provider-config.xml
M examples/Retail API GiftCard.postman_collection.json
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/api/giftcards/service/ConsumeGiftCardApiImportWebService.java
---
(0169520)
hgbot (developer)
2024-09-24 13:00

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api.giftcards/-/merge_requests/40 [^]
(0169521)
hgbot (developer)
2024-09-24 13:00

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/374 [^]
(0169522)
hgbot (developer)
2024-09-24 13:00

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 56ebb6a35d348f98a62b81448228e6a60d5158b1
Author: Iñaki Luque <i.luque@orisha.com>
Date: 24-09-2024 11:00:37
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/56ebb6a35d348f98a62b81448228e6a60d5158b1 [^]

Related to ISSUE-56346: Unifying GC Web Services code

* Created utility class for GC Web Services purposes
* Calling utility methods in classes that are used by the Web
  Services

---
A src/org/openbravo/retail/giftcards/utils/GiftCardUtils.java
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/giftcards/ConsumeGiftCardAmount.java
M src/org/openbravo/retail/giftcards/ConsumeGiftCardAmountExtension.java
M src/org/openbravo/retail/giftcards/GiftCardModel.java
---
(0169523)
hgbot (developer)
2024-09-24 13:00

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api [^]
Changeset: 0772ac804e35016e3c4d7273bd582d5ea031e904
Author: Iñaki <i.luque@orisha.com>
Date: 19-09-2024 10:35:17
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/commit/0772ac804e35016e3c4d7273bd582d5ea031e904 [^]

Related to ISSUE-56346: Created new generic messages for API unsupported operations

---
A src-db/database/sourcedata/AD_MESSAGE.xml
---
(0169524)
hgbot (developer)
2024-09-24 13:00

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.api/-/merge_requests/116 [^]

- Issue History
Date Modified Username Field Change
2024-09-03 09:11 inaki_luque New Issue
2024-09-03 09:11 inaki_luque Assigned To => Retail
2024-09-03 09:11 inaki_luque Triggers an Emergency Pack => No
2024-09-03 09:12 inaki_luque Status new => scheduled
2024-09-03 09:12 inaki_luque Steps to Reproduce Updated View Revisions
2024-09-03 09:12 inaki_luque Assigned To Retail => inaki_luque
2024-09-05 13:27 hgbot Note Added: 0168812
2024-09-12 13:55 hgbot Note Added: 0169139
2024-09-12 16:50 hgbot Note Added: 0169145
2024-09-24 13:00 hgbot Resolution open => fixed
2024-09-24 13:00 hgbot Status scheduled => closed
2024-09-24 13:00 hgbot Note Added: 0169519
2024-09-24 13:00 hgbot Note Added: 0169520
2024-09-24 13:00 hgbot Note Added: 0169521
2024-09-24 13:00 hgbot Note Added: 0169522
2024-09-24 13:00 hgbot Note Added: 0169523
2024-09-24 13:00 hgbot Note Added: 0169524


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker