class

Twilio::BalanceApi

Inherits Reference / Object

Constants

FETCH_BALANCE_MAX_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_BALANCE_MIN_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_BALANCE_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/

Constructors

new(api_client : Twilio::ApiClient = ApiClient.default)
Source

Instance methods

account_sid
Source
account_sid=(account_sid : String)
Source
api_client
Source
api_client=(api_client : ApiClient)
Source
build_api_request_for_fetch_balance(*, account_sid : String | Nil = @account_sid) : Crest::Request

@return Crest::Request

Source
client_side_validation?(*args, **options)
Source
client_side_validation?(*args, **options, &)
Source
debugging?(*args, **options)
Source
debugging?(*args, **options, &)
Source
fetch_balance(*, account_sid : String | Nil = @account_sid) : Twilio::Balance

Fetch the balance for an Account based on Account Sid. Balance changes may not be reflected immediately. Child accounts do not contain balance information @required @param account_sid [String?] The unique SID identifier of the Account. @return [Twilio::Balance]

Source
fetch_balance(*, account_sid : String | Nil = @account_sid, &block : Crest::Response -> ) : Nil

Fetch the balance for an Account based on Account Sid. Balance changes may not be reflected immediately. Child accounts do not contain balance information @required @param account_sid [String?] The unique SID identifier of the Account. @return nil

Source
fetch_balance_with_http_info(*, account_sid : String | Nil = @account_sid) : Tuple(Twilio::Balance, Int32, Hash(String, Array(String) | String))

Fetch the balance for an Account based on Account Sid. Balance changes may not be reflected immediately. Child accounts do not contain balance information @required @param account_sid [String?] The unique SID identifier of the Account. @return [Tuple(Twilio::Balance, Integer, Hash)] Twilio::Balance, response status code and response headers

Source