# Subscription

This is a base object that allows the user to create a Subscription.

## withAddressApn(addressApn)


Set the addressApn attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **addressApn** | `string` | ❌ | optional field |

### Retorna

{{% notice tip %}}
**Tipo:** `Subscription`
<br>

{{% /notice %}}

---
## withAddressType(addressType)


Set the addressType attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **addressType** | `string` | ❌ | optional field |

### Retorna

{{% notice tip %}}
**Tipo:** `Subscription`
<br>

{{% /notice %}}

---
## withAddressValue(addressValue)


Set the addressValue attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **addressValue** | `string` | ❌ | optional field |

### Retorna

{{% notice tip %}}
**Tipo:** `Subscription`
<br>

{{% /notice %}}

---
## withDescription(description)


Set the description attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **description** | `string` | ❌ | optional field |

### Retorna

{{% notice tip %}}
**Tipo:** `Subscription`
<br>

{{% /notice %}}

---
## withId(id)


Set the id attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **id** | `string` | ❌ | optional field |

### Retorna

{{% notice tip %}}
**Tipo:** `Subscription`
<br>

{{% /notice %}}

---
## withImsi(imsi)


Set the imsi attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **imsi** | `string` | ❌ | optional field |

### Retorna

{{% notice tip %}}
**Tipo:** `Subscription`
<br>

{{% /notice %}}

---
## withMsisdn(msisdn)


Set the msisdn attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **msisdn** | `string` | ❌ | optional field |

### Retorna

{{% notice tip %}}
**Tipo:** `Subscription`
<br>

{{% /notice %}}

---
## withName(name)


Set the name attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **name** | `string` | ❌ | optional field |

### Retorna

{{% notice tip %}}
**Tipo:** `Subscription`
<br>

{{% /notice %}}

---
## withOperator(operator)


Set the operator attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **operator** | `string` | ❌ | optional field |

### Retorna

{{% notice tip %}}
**Tipo:** `Subscription`
<br>

{{% /notice %}}

---
## withType(type)


Set the type attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **type** | `string` | ❌ | optional field |

### Retorna

{{% notice tip %}}
**Tipo:** `Subscription`
<br>

{{% /notice %}}

---

