public class MessagingCountry extends NextGenInstanceResource<TwilioPricingClient>
| Modifier and Type | Class and Description |
|---|---|
class |
MessagingCountry.MessagingPrice |
class |
MessagingCountry.OutboundSmsPrice
Represents current prices for outbound Twilio SMS to the
given list of number prefixes.
|
| Constructor and Description |
|---|
MessagingCountry(TwilioPricingClient client) |
MessagingCountry(TwilioPricingClient client,
Map<String,Object> properties) |
MessagingCountry(TwilioPricingClient client,
String isoCountry) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCountry()
Get the name of the country this pricing information applies to.
|
List<MessagingCountry.MessagingPrice> |
getInboundSmsPrices()
Get a list of prices for inbound SNS in this country,
broken out by number type
|
String |
getIsoCountry()
Get an abbreviated identifier for the country this pricing information
applies to.
|
List<MessagingCountry.OutboundSmsPrice> |
getOutboundSmsPrices()
Get a list of prices for outbound SNS in this country,
broken out by number type
|
String |
getPriceUnit()
Get the currency unit for this pricing information.
|
getCastedObject, getObject, getProperty, getPropertyAsInteger, toJSON, update, updatesetRequestAccountSidpublic MessagingCountry(TwilioPricingClient client)
public MessagingCountry(TwilioPricingClient client, String isoCountry)
public MessagingCountry(TwilioPricingClient client, Map<String,Object> properties)
public String getCountry()
public String getIsoCountry()
public String getPriceUnit()
public List<MessagingCountry.OutboundSmsPrice> getOutboundSmsPrices()
public List<MessagingCountry.MessagingPrice> getInboundSmsPrices()
Copyright © 2011 Twilio, Inc. All Rights Reserved.