Module square_rs::money [−][src]
Expand description
Representation of Money for the crate.
We follow the same convention as the Square API, that is Money consists of an amount and a currency in a valid currency code.
Structs
Money | Representation of Money for the crate. The amount is given in the lowest possible denomination. So for GBP the ammount is in pence. |
Enums
Currency | The Currency code corresponding to the ammount of Money. |