# `Twilio.Wireless.V1.RatePlanService`
[🔗](https://github.com/jeffhuen/twilio_elixir/blob/main/lib/twilio/wireless/v1/rate_plan_service.ex#L2)

Capabilities and restrictions for SIMs

Operations: `list`, `create`, `fetch`, `update`, `delete`

# `create`

```elixir
@spec create(Twilio.Client.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Wireless.V1.RatePlan.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `CreateRatePlan` | Tags: WirelessV1RatePlan

## Optional Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `DataEnabled` | boolean | Whether SIMs can use GPRS/3G/4G/LTE data connectivity. |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `DataLimit` | integer | The total data usage (download and upload combined) in Megabytes that the Network allows during one month on the home network (T-Mobile USA). The metering period begins the day of activation and ends on the same day in the following month. Can be up to 2TB and the default value is `1000`. |
| `DataLimitStrategy` | string |  Values: `block`, `throttle` |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `DataMetering` | string | The model used to meter data usage. Can be: `payg` and `quota-1`, `quota-10`, and `quota-50`. Learn more about the available [data metering models](https://www.twilio.com/docs/iot/wireless/api/rateplan-resource#payg-vs-quota-data-plans). |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `FriendlyName` | string | A descriptive string that you create to describe the resource. It does not have to be unique. |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `InternationalRoaming` | array | The list of services that SIMs capable of using GPRS/3G/4G/LTE data connectivity can use outside of the United States. Can contain: `data` and `messaging`. |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `InternationalRoamingDataLimit` | integer | The total data usage (download and upload combined) in Megabytes that the Network allows during one month when roaming outside the United States. Can be up to 2TB. |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `MessagingEnabled` | boolean | Whether SIMs can make, send, and receive SMS using [Commands](https://www.twilio.com/docs/iot/wireless/api/command-resource). |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `NationalRoamingDataLimit` | integer | The total data usage (download and upload combined) in Megabytes that the Network allows during one month on non-home networks in the United States. The metering period begins the day of activation and ends on the same day in the following month. Can be up to 2TB. See [national roaming](https://www.twilio.com/docs/iot/wireless/api/rateplan-resource#national-roaming) for more info. |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `NationalRoamingEnabled` | boolean | Whether SIMs can roam on networks other than the home network (T-Mobile USA) in the United States. See [national roaming](https://www.twilio.com/docs/iot/wireless/api/rateplan-resource#national-roaming). |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `UniqueName` | string | An application-defined string that uniquely identifies the resource. It can be used in place of the resource's `sid` in the URL to address the resource. |
| `VoiceEnabled` | boolean | Deprecated. |

# `delete`

```elixir
@spec delete(Twilio.Client.t(), String.t(), keyword()) ::
  {:ok, map()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
```

Operation: `DeleteRatePlan` | Tags: WirelessV1RatePlan

# `fetch`

```elixir
@spec fetch(Twilio.Client.t(), String.t(), keyword()) ::
  {:ok, Twilio.Resources.Wireless.V1.RatePlan.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `FetchRatePlan` | Tags: WirelessV1RatePlan

# `list`

```elixir
@spec list(Twilio.Client.t(), map(), keyword()) ::
  {:ok, Twilio.Page.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `ListRatePlan` | Tags: WirelessV1RatePlan

# `stream`

```elixir
@spec stream(Twilio.Client.t(), map(), keyword()) :: Enumerable.t()
```

Stream:  (lazy auto-pagination).

# `update`

```elixir
@spec update(Twilio.Client.t(), String.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Wireless.V1.RatePlan.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `UpdateRatePlan` | Tags: WirelessV1RatePlan

## Optional Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `FriendlyName` | string | A descriptive string that you create to describe the resource. It does not have to be unique. |
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `UniqueName` | string | An application-defined string that uniquely identifies the resource. It can be used in place of the resource's `sid` in the URL to address the resource. |

---

*Consult [api-reference.md](api-reference.md) for complete listing*
