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

Service for RatePlan API operations.

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

# `create`

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

Operation: `CreateWirelessRatePlan` | Tags: PreviewWirelessRatePlan

## Optional Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `CommandsEnabled` | boolean |  |
| `DataEnabled` | boolean |  |
| `DataLimit` | integer |  |
| `DataMetering` | string |  |
| `FriendlyName` | string |  |
| `InternationalRoaming` | array |  |
| `MessagingEnabled` | boolean |  |
| `NationalRoamingEnabled` | boolean |  |
| `UniqueName` | string |  |
| `VoiceEnabled` | boolean |  |

# `delete`

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

Operation: `DeleteWirelessRatePlan` | Tags: PreviewWirelessRatePlan

# `fetch`

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

Operation: `FetchWirelessRatePlan` | Tags: PreviewWirelessRatePlan

# `list`

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

Operation: `ListWirelessRatePlan` | Tags: PreviewWirelessRatePlan

# `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.Preview.Wireless.RatePlan.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `UpdateWirelessRatePlan` | Tags: PreviewWirelessRatePlan

## Optional Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `FriendlyName` | string |  |
| `UniqueName` | string |  |

---

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