GoogleApi.WalletObjects.V1.Model.MerchantLocation (google_api_wallet_objects v0.12.0)

View Source

Locations of interest for this class or object. Currently, this location is used for geofenced notifications. When a user is within a set radius of this lat/long, and dwells there, Google will trigger a notification. When a user exits this radius, the notification will be hidden.

Attributes

  • latitude (type: float(), default: nil) - The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected.
  • longitude (type: float(), default: nil) - The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.MerchantLocation{
  latitude: float() | nil,
  longitude: float() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.