# ps.module.PlanApi

All URIs are relative to */*

Method | HTTP request | Description
------------- | ------------- | -------------
[**apiVersionPlanGet**](PlanApi.md#apiVersionPlanGet) | **GET** /api/{version}/plan | Returns a list of plan.

<a name="apiVersionPlanGet"></a>
# **apiVersionPlanGet**
> apiVersionPlanGet(version, opts)

Returns a list of plan.

### Example
```javascript
import ps.module from 'phonespeakv2_api';
let defaultClient = ps.module.ApiClient.instance;

// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';

let apiInstance = new ps.module.PlanApi();
let version = "version_example"; // String | 
let opts = { 
  'billInterval': new ps.module.PhoneSpeakEntitiesEnumsBillingInterval(), // PhoneSpeakEntitiesEnumsBillingInterval | 
  'country': new ps.module.PhoneSpeakEntitiesEnumsCountry() // PhoneSpeakEntitiesEnumsCountry | 
};
apiInstance.apiVersionPlanGet(version, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **version** | **String**|  | 
 **billInterval** | [**PhoneSpeakEntitiesEnumsBillingInterval**](.md)|  | [optional] 
 **country** | [**PhoneSpeakEntitiesEnumsCountry**](.md)|  | [optional] 

### Return type

null (empty response body)

### Authorization

[oauth2](../README.md#oauth2)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

