# AutocompletePiggy

Type: object

Schema: [AutocompletePiggy](https://sourcey-firefly.pages.dev/api/models/autocompletepiggy/index.md)

- `id` (required)
  Type: string, string
  
  Example:
  
  ```json
  "2"
  ```

- `name` (required)
  Type: string, string
  
  Name of the piggy bank found by an auto-complete search.
  
  Example:
  
  ```json
  "New couch"
  ```

- `currency_id` (optional)
  Type: string, string
  
  Currency ID for this piggy bank. This will always be the currency of the piggy bank, never the user's primary currency.
  
  Example:
  
  ```json
  "12"
  ```

- `currency_code` (optional)
  Type: string, string
  
  Currency code for this piggy bank. This will always be the currency of the piggy bank, never the user's primary currency.
  
  Example:
  
  ```json
  "EUR"
  ```

- `currency_symbol` (optional)
  Type: string, string
  
  Example:
  
  ```json
  "$"
  ```

- `currency_name` (optional)
  Type: string, string
  
  Currency name for the currency used by this piggy bank. This will always be the currency of the piggy bank, never the user's primary currency.
  
  Example:
  
  ```json
  "Euro"
  ```

- `currency_decimal_places` (optional)
  Type: integer, int32
  
  Number of decimal places for the currency used by this piggy bank. This will always be the currency of the piggy bank, never the user's primary currency.
  
  Example:
  
  ```json
  2
  ```

- `object_group_id` (optional)
  Type: string, string; nullable
  
  The group ID of the group this object is part of. NULL if no group.
  
  Example:
  
  ```json
  "5"
  ```

- `object_group_title` (optional)
  Type: string, string; nullable
  
  The name of the group. NULL if no group.
  
  Example:
  
  ```json
  "Example Group"
  ```