
## MaxiCodeStructuredSecondMessage class

Class for encoding and decoding structured second message for MaxiCode barcode.

```js
new MaxiCodeStructuredSecondMessage()
```

## Methods

| Name | Description |
| --- | --- |
| [add(identifier)](#add) | Adds new identifier |
| [clear()](#clear) | Clear identifiers list |
| [equals(obj)](#equals) | Returns a value indicating whether this instance is equal to a specified value. |
| [getHashCode()](#gethashcode) | Returns the hash code for this instance. |
| [getIdentifiers()](#getidentifiers) | Gets identifiers list |
| [getMessage()](#getmessage) | Gets constructed second message |
| [getYear()](#getyear) | Gets year. Year must be 2 digit integer value. |
| [setYear()](#setyear) | Sets year. Year must be 2 digit integer value. |

### add(identifier) {#add}

Adds new identifier

| Parameter | Description |
| --- | --- |
| identifier | Identifier to be added |

### clear() {#clear}

Clear identifiers list

### equals(obj) {#equals}

Returns a value indicating whether this instance is equal to a specified value.

| Parameter | Description |
| --- | --- |
| obj | "obj">An value to compare to this instance. |

**Returns:** true if obj has the same value as this instance; otherwise, false .

### getHashCode() {#gethashcode}

Returns the hash code for this instance.

**Returns:** A 32-bit signed integer hash code.

### getIdentifiers() {#getidentifiers}

Gets identifiers list

**Returns:** List of identifiers

### getMessage() {#getmessage}

Gets constructed second message

**Returns:** Constructed second message

### getYear() {#getyear}

Gets year. Year must be 2 digit integer value.

### setYear() {#setyear}

Sets year. Year must be 2 digit integer value.
