CurrencyAmount
shipping.v1.CurrencyAmount
A money amount, preserving integer precision in both encodings.
Fields
Section titled “Fields”Field presence and validation are separate properties. Implicit scalar defaults are normally omitted in ProtoJSON.
currency
Section titled “currency”ISO currency code, such as USD.
| Property | Value |
|---|---|
| Protobuf name | currency |
| JSON name | currency |
| Field number | 1 |
| Protobuf type | string |
| JSON representation | String |
| Presence | Implicit; default and absent are not distinguished |
minor_units
Section titled “minor_units”Minor units. ProtoJSON emits a decimal string.
| Property | Value |
|---|---|
| Protobuf name | minor_units |
| JSON name | minorUnits |
| Field number | 2 |
| Protobuf type | int64 |
| JSON representation | Decimal string |
| Presence | Implicit; default and absent are not distinguished |
Source: fixture-v1 · Generator: Wirelit 0.1.0