////////////////////////////////////////////////////////////////////////////////////////////////////
        /// <summary>   Gets an available balance. </summary>
        ///
        /// <param name="enumTangoCardServiceApi">  The enum tango card service api. </param>
        /// <param name="username">                 The username. </param>
        /// <param name="password">                 The password. </param>
        /// <param name="response">                 [out] The response. </param>
        ///
        /// <returns>   true if it succeeds, false if it fails. </returns>
        ////////////////////////////////////////////////////////////////////////////////////////////////////
        public static bool GetAvailableBalance(
           TangoCardServiceApiEnum enumTangoCardServiceApi,
           string username,
           string password,
           out Version2_GetAvailableBalance_Response response
           )
        {
            // set up the request
            var request = new Version2_GetAvailableBalance_Request
            (
                enumTangoCardServiceApi: enumTangoCardServiceApi,
                username: String.IsNullOrEmpty(username) ? null : username.Trim(),
                password: password
            );

            // make the request
            return request.Execute(out response);
        }
 ////////////////////////////////////////////////////////////////////////////////////////////////////
 /// <summary>   Executes the given out GetAvailableBalanceResponse. </summary>
 ///
 /// <param name="response"> [out] The response. </param>
 ///
 /// <returns>   true if it succeeds, false if it fails. </returns>
 ////////////////////////////////////////////////////////////////////////////////////////////////////
 public bool Execute(out Version2_GetAvailableBalance_Response response)
 {
     string requestSerialized = this.Serialize<Version2_GetAvailableBalance_Request>();
     return base.Execute<Version2_GetAvailableBalance_Response>(requestSerialized, out response);
 }