You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Change PaymentCurrencyAmount.value type from float to string
Per the W3C Payment Request API specification, the `value` field in
PaymentCurrencyAmount is defined as a DOMString, not a number type.
This change aligns the implementation across Python, Go, and Kotlin
with the W3C standard for cross-language consistency.
Updated type definitions:
- Python: float -> str
- Go: float64 -> string
- Kotlin: Double -> String
Updated all sample code to use string values and handle
float conversions where arithmetic is needed.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: samples/android/shopping_assistant/app/src/main/java/com/example/a2achatassistant/data/ShoppingAgentTypes.kt
0 commit comments