# AutocompletePiggyBalance

Type: object

Schema: [AutocompletePiggyBalance](https://sourcey-firefly.pages.dev/api/models/autocompletepiggybalance/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"
  ```

- `name_with_balance` (optional)
  Type: string, string
  
  Name of the piggy bank found by an auto-complete search, including the currently saved amount and the target amount.
  
  Example:
  
  ```json
  "New couch ($234.56 / $600)"
  ```

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

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

- `currency_symbol` (optional)
  Type: string, string
  
  Currency symbol for the currency used by this piggy bank. This will always be the piggy bank's currency, never the primary currency.
  
  Example:
  
  ```json
  "$"
  ```

- `currency_decimal_places` (optional)
  Type: integer, int32
  
  Currency decimal places for the currency used by this piggy bank. This will always be the piggy bank's currency, never the 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"
  ```