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/tta/free products #396

Merged
merged 12 commits into from
Apr 16, 2023
Merged

Feature/tta/free products #396

merged 12 commits into from
Apr 16, 2023

Conversation

TTA777
Copy link
Member

@TTA777 TTA777 commented Feb 14, 2023

Makes receipts use v2 endpoint instead
App now supports free products, when such products occur in the database

Verifying the status of a free purchase is blocked by backend 122, though it is not a requirement for this branch to function. The update to receipts, so it makes use of the v2 endpoint instead does, however, require a new deployment of the backend

@TTA777 TTA777 requested review from marfavi and fremartini February 14, 2023 19:03
@TTA777 TTA777 force-pushed the feature/tta/freeProducts branch 2 times, most recently from ff96c13 to f33a31d Compare March 21, 2023 15:24
@TTA777 TTA777 force-pushed the feature/tta/freeProducts branch 5 times, most recently from ef7147b to b73c62e Compare March 30, 2023 06:00
@TTA777 TTA777 marked this pull request as ready for review March 30, 2023 06:00
@TTA777 TTA777 force-pushed the feature/tta/freeProducts branch from b73c62e to 194c333 Compare March 30, 2023 06:12
lib/payment/payment_handler.dart Outdated Show resolved Hide resolved
openapi/coffeecard_api_v2.swagger.json Outdated Show resolved Hide resolved
@TTA777 TTA777 force-pushed the feature/tta/freeProducts branch from 52f84e4 to 3c20f66 Compare April 11, 2023 18:25
@codecov
Copy link

codecov bot commented Apr 11, 2023

Codecov Report

Merging #396 (aade6a9) into develop (2374f77) will decrease coverage by 0.47%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop     #396      +/-   ##
===========================================
- Coverage    50.52%   50.06%   -0.47%     
===========================================
  Files           95       96       +1     
  Lines         1611     1626      +15     
===========================================
  Hits           814      814              
- Misses         797      812      +15     
Flag Coverage Δ
unittests 50.06% <0.00%> (-0.47%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
lib/base/strings.dart 34.21% <0.00%> (ø)
lib/cubits/receipt/receipt_cubit.dart 100.00% <ø> (ø)
lib/data/repositories/v1/ticket_repository.dart 55.00% <0.00%> (ø)
lib/data/repositories/v2/receipt_repository.dart 0.00% <0.00%> (ø)
lib/models/purchase/payment.dart 0.00% <ø> (ø)
lib/models/purchase/payment_status.dart 0.00% <0.00%> (ø)
lib/models/purchase/single_purchase.dart 0.00% <0.00%> (ø)
lib/models/receipts/receipt.dart 6.66% <0.00%> (-2.43%) ⬇️
lib/service_locator.dart 0.00% <0.00%> (ø)
...dgets/components/tickets/swipe_ticket_confirm.dart 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

lib/cubits/purchase/purchase_cubit.dart Outdated Show resolved Hide resolved
lib/data/repositories/v2/receipt_repository.dart Outdated Show resolved Hide resolved
lib/models/receipts/receipt.dart Outdated Show resolved Hide resolved
lib/payment/free_product_service.dart Outdated Show resolved Hide resolved
lib/payment/payment_handler.dart Outdated Show resolved Hide resolved
lib/payment/free_product_service.dart Show resolved Hide resolved
lib/payment/free_product_service.dart Outdated Show resolved Hide resolved
lib/payment/free_product_service.dart Outdated Show resolved Hide resolved
lib/payment/free_product_service.dart Show resolved Hide resolved
@TTA777 TTA777 requested review from fremartini and duckth April 14, 2023 22:26
@TTA777 TTA777 force-pushed the feature/tta/freeProducts branch from 47c17ed to 6ffe92b Compare April 14, 2023 22:28
@TTA777 TTA777 force-pushed the feature/tta/freeProducts branch from a17b930 to 137500a Compare April 15, 2023 18:38
@TTA777 TTA777 enabled auto-merge (squash) April 16, 2023 09:28
@TTA777 TTA777 merged commit 8e17d4e into develop Apr 16, 2023
@TTA777 TTA777 deleted the feature/tta/freeProducts branch April 16, 2023 15:21
@marfavi marfavi mentioned this pull request Apr 18, 2023
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.

4 participants