View Issue Details

IDProjectCategoryView StatusLast Update
0011853Talerwallet-corepublic2026-10-06 11:14
ReporterMarcS Assigned ToFlorian Dold  
PriorityhighSeveritymajorReproducibilityhave not tried
Status assignedResolutionopen 
Product Version1.6 
Summary0011853: Need calls getUnits() and getUnitById
DescriptionMerchant units are not yet defined in https://docs.taler.net/wallet/wallet-core.html
but in https://docs.taler.net/core/api-merchant.html#managing-measurement-units

ProductSold has a field "unit" which identifies a merchant unit by name. However, this is not unique - different merchants could define the same name but with different specs (like different exchanges could use the same currency name. We solved that with ScopeInfo).
Luckily there is already a <Unique serial for the unit>: "unit_serial: Integer"
But we currently don’t get this unique identifier in ProductSold, only the (ambiguous) name. So we need to add the field "unit_serial", and deprecate the field "unit".

Finally wallet-core needs to provide calls "getUnits()" and "getUnitById(serial: Integer)".
TagsNo tags attached.

Relationships

child of 0010509 assignedMarcS need support for v1 contracts incl. subscription and discounts in UI 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-10-06 11:09 MarcS New Issue
2026-10-06 11:13 MarcS Relationship added child of 0010509
2026-10-06 11:13 MarcS Assigned To => Florian Dold
2026-10-06 11:13 MarcS Status new => assigned