Purchase a inbound number using the specified credit card details
Namespace: Dynmark.Services.API
Assembly: Dynmark.Services.API (in Dynmark.Services.API.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Sub PurchaseInboundNumber( _ ByVal availableNumber As AvailableInboundNumberClass, _ ByVal card As CreditCardClass _ ) |
| C# |
|---|
| public void PurchaseInboundNumber( AvailableInboundNumberClass availableNumber, CreditCardClass card ) |
| C++ |
|---|
| public: void PurchaseInboundNumber( AvailableInboundNumberClass availableNumber, CreditCardClass card ) sealed |
| J# |
|---|
| public void PurchaseInboundNumber( AvailableInboundNumberClass availableNumber, CreditCardClass card ) |
| JScript |
|---|
| public
function PurchaseInboundNumber( availableNumber : AvailableInboundNumberClass, card : CreditCardClass ) |
Parameters
- availableNumber
- Available number to purchase
- card
- Credit card details
Exceptions
| Exception Type | Condition |
|---|---|
| ApiDeveloperException | Thrown if a user has not been logged on prior to call to method |
| ApiArgumentException | Thrown if invalid parameters are set for purchasing inbound |
| ApiConnectivityException | Thrown if unable to connect to the web server |