Partilhar via


PhoneNumbersModelFactory.PhoneNumberCost Método

Definição

Inicializa uma nova instância de PhoneNumberCost.

public static Azure.Communication.PhoneNumbers.PhoneNumberCost PhoneNumberCost (double amount = 0, string isoCurrencySymbol = default, Azure.Communication.PhoneNumbers.BillingFrequency billingFrequency = default);
static member PhoneNumberCost : double * string * Azure.Communication.PhoneNumbers.BillingFrequency -> Azure.Communication.PhoneNumbers.PhoneNumberCost
Public Shared Function PhoneNumberCost (Optional amount As Double = 0, Optional isoCurrencySymbol As String = Nothing, Optional billingFrequency As BillingFrequency = Nothing) As PhoneNumberCost

Parâmetros

amount
Double

O valor do custo.

isoCurrencySymbol
String

O código de moeda ISO 4217 para o valor do custo, por exemplo, USD.

billingFrequency
BillingFrequency

A frequência com que o custo é cobrado.

Retornos

Uma nova PhoneNumberCost instância para zombar.

Exceções

isoCurrencySymbol é nulo.

Aplica-se a