class Twilio::BalanceApi
- Twilio::BalanceApi
- Reference
- Object
Defined in:
twilio/api/balance_api.crConstant Summary
-
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
Instance Method Summary
- #account_sid : String
- #account_sid=(account_sid : String)
- #api_client : ApiClient
- #api_client=(api_client : ApiClient)
-
#build_api_request_for_fetch_balance(*, account_sid : String | Nil = @account_sid) : Crest::Request
@return Crest::Request
- #client_side_validation?(*args, **options)
- #client_side_validation?(*args, **options, &)
- #debugging?(*args, **options)
- #debugging?(*args, **options, &)
-
#fetch_balance(*, account_sid : String | Nil = @account_sid) : Twilio::Balance
Fetch the balance for an Account based on Account Sid.
-
#fetch_balance(*, account_sid : String | Nil = @account_sid, &block : Crest::Response -> ) : Nil
Fetch the balance for an Account based on Account Sid.
-
#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.
Constructor Detail
Instance Method Detail
@return Crest::Request
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]
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
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