# Google Cloud Document Ai V1 Client - Class NormalizedValue (2.7.0)

2.7.0 (latest) 2.6.1 2.5.1 2.4.1 2.3.0 2.2.2 2.1.3 2.0.0 1.14.0 1.13.1 1.12.2 1.9.0 1.8.2 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.2 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Document Ai V1 Client class NormalizedValue.

Parsed and normalized entity value.

Generated from protobuf message `google.cloud.documentai.v1.Document.Entity.NormalizedValue`

## Namespace

Google \\ Cloud \\ DocumentAI \\ V1 \\ Document \\ Entity

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ money_value` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html` Money value. See also: <https://github.com/googleapis/googleapis/blob/master/google/type/money.proto> |
| `↳ date_value` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` Date value. Includes year, month, day. See also: <https://github.com/googleapis/googleapis/blob/master/google/type/date.proto> |
| `↳ datetime_value` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.DateTime.html` DateTime value. Includes date, time, and timezone. See also: <https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto> |
| `↳ address_value` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.PostalAddress.html` Postal address. See also: <https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto> |
| `↳ boolean_value` | `bool` Boolean value. Can be used for entities with binary values, or for checkboxes. |
| `↳ integer_value` | `int` Integer value. |
| `↳ float_value` | `float` Float value. |
| `↳ signature_value` | `bool` A signature - a graphical representation of a person's name, often used to sign a document. |
| `↳ text` | `string` Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format. |

### getMoneyValue

Money value. See also:
<https://github.com/googleapis/googleapis/blob/master/google/type/money.proto>

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html|null` |   |

### hasMoneyValue

### setMoneyValue

Money value. See also:
<https://github.com/googleapis/googleapis/blob/master/google/type/money.proto>

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Money.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDateValue

Date value. Includes year, month, day. See also:
<https://github.com/googleapis/googleapis/blob/master/google/type/date.proto>

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html|null` |   |

### hasDateValue

### setDateValue

Date value. Includes year, month, day. See also:
<https://github.com/googleapis/googleapis/blob/master/google/type/date.proto>

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDatetimeValue

DateTime value. Includes date, time, and timezone. See also:
<https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto>

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.DateTime.html|null` |   |

### hasDatetimeValue

### setDatetimeValue

DateTime value. Includes date, time, and timezone. See also:
<https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto>

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.DateTime.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAddressValue

Postal address. See also:
<https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto>

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.PostalAddress.html|null` |   |

### hasAddressValue

### setAddressValue

Postal address. See also:
<https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto>

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.PostalAddress.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getBooleanValue

Boolean value. Can be used for entities with binary values, or for
checkboxes.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasBooleanValue

### setBooleanValue

Boolean value. Can be used for entities with binary values, or for
checkboxes.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getIntegerValue

Integer value.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasIntegerValue

### setIntegerValue

Integer value.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFloatValue

Float value.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### hasFloatValue

### setFloatValue

Float value.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `float` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSignatureValue

A signature - a graphical representation of a person's name,
often used to sign a document.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasSignatureValue

### setSignatureValue

A signature - a graphical representation of a person's name,
often used to sign a document.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getText

Optional. An optional field to store a normalized string.

For some entity types, one of respective `structured_value` fields may
also be populated. Also not all the types of `structured_value` will be
normalized. For example, some processors may not generate `float`
or `integer` normalized text by default.
Below are sample formats mapped to structured values.

- Money/Currency type (`money_value`) is in the ISO 4217 text format.
- Date type (`date_value`) is in the ISO 8601 text format.
- Datetime type (`datetime_value`) is in the ISO 8601 text format.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setText

Optional. An optional field to store a normalized string.

For some entity types, one of respective `structured_value` fields may
also be populated. Also not all the types of `structured_value` will be
normalized. For example, some processors may not generate `float`
or `integer` normalized text by default.
Below are sample formats mapped to structured values.

- Money/Currency type (`money_value`) is in the ISO 4217 text format.
- Date type (`date_value`) is in the ISO 8601 text format.
- Datetime type (`datetime_value`) is in the ISO 8601 text format.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getStructuredValue

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |