public class PhoneNumberPrice extends Object
For more information see: Pricing Docs
Modifier and Type | Class and Description |
---|---|
static class |
PhoneNumberPrice.Type
Possible phone number type.
|
Constructor and Description |
---|
PhoneNumberPrice(double basePrice,
double currentPrice,
PhoneNumberPrice.Type type)
Initialize a PhoneNumberPrice.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
double |
getBasePrice()
Returns the base price of the phone number.
|
double |
getCurrentPrice()
Returns the current price of the phone number.
|
PhoneNumberPrice.Type |
getType()
Returns the type of phone number.
|
int |
hashCode() |
String |
toString() |
public PhoneNumberPrice(double basePrice, double currentPrice, PhoneNumberPrice.Type type)
basePrice
- base price of the phone numbercurrentPrice
- current price of the phone numbertype
- type of phone numberpublic double getBasePrice()
public double getCurrentPrice()
public PhoneNumberPrice.Type getType()
Copyright © 2011 Twilio, Inc. All Rights Reserved.