Table of Contents

Class Money

Namespace
GoogleMapsApi.Entities.Routes.Response
Assembly
GoogleMapsApi.dll

Monetary amount in a given currency (Google's google.type.Money).

public sealed class Money
Inheritance
Money
Inherited Members

Properties

CurrencyCode

Three-letter ISO 4217 currency code (e.g. "USD").

[JsonPropertyName("currencyCode")]
public string? CurrencyCode { get; set; }

Property Value

string

Nanos

Fractional units, in nanos (10^-9). 100,000,000 nanos = $0.10. Sign matches Units.

[JsonPropertyName("nanos")]
public int? Nanos { get; set; }

Property Value

int?

Units

Whole units of the amount (e.g. 42 USD).

[JsonPropertyName("units")]
public string? Units { get; set; }

Property Value

string