Class: DealMakerAPI::DefaultApi
- Inherits:
-
Object
- Object
- DealMakerAPI::DefaultApi
- Defined in:
- lib/DealMakerAPI/api/default_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data(deal_id, opts = {}) ⇒ V1EntitiesPaymentsSelfServeOnboardingDigitalPaymentsConnectionData
Load data for the digital payments connection stage Load data for the digital payments connection stage.
-
#get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data_with_http_info(deal_id, opts = {}) ⇒ Array<(V1EntitiesPaymentsSelfServeOnboardingDigitalPaymentsConnectionData, Integer, Hash)>
Load data for the digital payments connection stage Load data for the digital payments connection stage.
-
#get_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_data(deal_id, opts = {}) ⇒ V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsData
Get payout account data Get payout account data.
-
#get_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_data_with_http_info(deal_id, opts = {}) ⇒ Array<(V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsData, Integer, Hash)>
Get payout account data Get payout account data.
-
#get_deals_id_investors_investor_id_payments_express_wire_instructions(id, investor_id, opts = {}) ⇒ V1EntitiesExpressWireInstruction
Displays the express wire instructions for an investor on a deal Get express wire instructions.
-
#get_deals_id_investors_investor_id_payments_express_wire_instructions_with_http_info(id, investor_id, opts = {}) ⇒ Array<(V1EntitiesExpressWireInstruction, Integer, Hash)>
Displays the express wire instructions for an investor on a deal Get express wire instructions.
-
#get_deals_id_investors_payments_express_wire_instructions(id, opts = {}) ⇒ V1EntitiesExpressWireInstructions
Displays the express wire instructions for all the investors on a deal Get list of express wire instructions.
-
#get_deals_id_investors_payments_express_wire_instructions_with_http_info(id, opts = {}) ⇒ Array<(V1EntitiesExpressWireInstructions, Integer, Hash)>
Displays the express wire instructions for all the investors on a deal Get list of express wire instructions.
-
#get_deals_id_platform_emails_domain(id, opts = {}) ⇒ V1EntitiesDealsPlatformEmailsDomainSettings
Get the email domain settings for the deal Get the email domain settings for the deal.
-
#get_deals_id_platform_emails_domain_with_http_info(id, opts = {}) ⇒ Array<(V1EntitiesDealsPlatformEmailsDomainSettings, Integer, Hash)>
Get the email domain settings for the deal Get the email domain settings for the deal.
-
#get_deals_id_progress_page(id, opts = {}) ⇒ V1EntitiesDealsProgress
Get deal progress Get deal progress.
-
#get_deals_id_progress_page_summary(id, opts = {}) ⇒ V1EntitiesDealsProgressPageSummary
Get the deal progress summary Get the deal progress summary.
-
#get_deals_id_progress_page_summary_with_http_info(id, opts = {}) ⇒ Array<(V1EntitiesDealsProgressPageSummary, Integer, Hash)>
Get the deal progress summary Get the deal progress summary.
-
#get_deals_id_progress_page_with_http_info(id, opts = {}) ⇒ Array<(V1EntitiesDealsProgress, Integer, Hash)>
Get deal progress Get deal progress.
-
#get_deals_id_summary(id, opts = {}) ⇒ nil
Get Deal Overview Get Deal Overview.
-
#get_deals_id_summary_with_http_info(id, opts = {}) ⇒ Array<(nil, Integer, Hash)>
Get Deal Overview Get Deal Overview.
-
#get_deals_payment_onboarding_questionnaire_initial_questions(opts = {}) ⇒ nil
Get initial questions Get initial questions.
-
#get_deals_payment_onboarding_questionnaire_initial_questions_with_http_info(opts = {}) ⇒ Array<(nil, Integer, Hash)>
Get initial questions Get initial questions.
-
#get_webhooks(opts = {}) ⇒ V1EntitiesWebhooksSubscription
Returns a list of webhook subscription which is associated to the user Returns a list of webhook subscription.
-
#get_webhooks_deal_id(id, opts = {}) ⇒ V1EntitiesWebhooksDeal
Finds a deal using the id Returns a deal.
-
#get_webhooks_deal_id_with_http_info(id, opts = {}) ⇒ Array<(V1EntitiesWebhooksDeal, Integer, Hash)>
Finds a deal using the id Returns a deal.
-
#get_webhooks_deals_search(opts = {}) ⇒ V1EntitiesWebhooksSecurityToken
Searches for deals for a given user Searches for deals for a given user.
-
#get_webhooks_deals_search_with_http_info(opts = {}) ⇒ Array<(V1EntitiesWebhooksSecurityToken, Integer, Hash)>
Searches for deals for a given user Searches for deals for a given user.
-
#get_webhooks_security_token(opts = {}) ⇒ V1EntitiesWebhooksSecurityToken
Creates a new security token for webhook subscription Creates a new security token for webhook subscription.
-
#get_webhooks_security_token_with_http_info(opts = {}) ⇒ Array<(V1EntitiesWebhooksSecurityToken, Integer, Hash)>
Creates a new security token for webhook subscription Creates a new security token for webhook subscription.
-
#get_webhooks_with_http_info(opts = {}) ⇒ Array<(V1EntitiesWebhooksSubscription, Integer, Hash)>
Returns a list of webhook subscription which is associated to the user Returns a list of webhook subscription.
-
#initialize(api_client = ApiClient.default) ⇒ DefaultApi
constructor
A new instance of DefaultApi.
-
#patch_deals_id_platform_emails_domain(id, patch_deals_id_platform_emails_domain_request, opts = {}) ⇒ nil
Update the email domain settings for the deal Update the email domain settings for the deal.
-
#patch_deals_id_platform_emails_domain_with_http_info(id, patch_deals_id_platform_emails_domain_request, opts = {}) ⇒ Array<(nil, Integer, Hash)>
Update the email domain settings for the deal Update the email domain settings for the deal.
-
#post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit(deal_id, opts = {}) ⇒ V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult
Submit a payout account details form Submit a payout account details form.
-
#post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit_with_http_info(deal_id, opts = {}) ⇒ Array<(V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult, Integer, Hash)>
Submit a payout account details form Submit a payout account details form.
-
#post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit(deal_id, opts = {}) ⇒ nil
Submit a qualification questionnaire response Submit a qualification questionnaire response.
-
#post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit_with_http_info(deal_id, opts = {}) ⇒ Array<(nil, Integer, Hash)>
Submit a qualification questionnaire response Submit a qualification questionnaire response.
-
#post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit(deal_id, opts = {}) ⇒ V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult
Submit a qualification questionnaire form Submit a qualification questionnaire form.
-
#post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit_with_http_info(deal_id, opts = {}) ⇒ Array<(V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult, Integer, Hash)>
Submit a qualification questionnaire form Submit a qualification questionnaire form.
-
#post_investors_investor_id_transactions_request_refund_process(investor_id, opts = {}) ⇒ nil
Request refund for investor transactions Request refund for investor transactions.
-
#post_investors_investor_id_transactions_request_refund_process_with_http_info(investor_id, opts = {}) ⇒ Array<(nil, Integer, Hash)>
Request refund for investor transactions Request refund for investor transactions.
-
#post_webhooks(post_webhooks_request, opts = {}) ⇒ V1EntitiesWebhooksSubscription
Creates a webhook subscription which is associated to the user Creates new webhook subscription.
-
#post_webhooks_with_http_info(post_webhooks_request, opts = {}) ⇒ Array<(V1EntitiesWebhooksSubscription, Integer, Hash)>
Creates a webhook subscription which is associated to the user Creates new webhook subscription.
-
#put_webhooks_id(id, opts = {}) ⇒ V1EntitiesWebhooksSubscription
Updates webhook subscription and webhooks subcription deals Updates webhook subscription.
-
#put_webhooks_id_with_http_info(id, opts = {}) ⇒ Array<(V1EntitiesWebhooksSubscription, Integer, Hash)>
Updates webhook subscription and webhooks subcription deals Updates webhook subscription.
Constructor Details
#initialize(api_client = ApiClient.default) ⇒ DefaultApi
19 20 21 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 19 def initialize(api_client = ApiClient.default) @api_client = api_client end |
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
17 18 19 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 17 def api_client @api_client end |
Instance Method Details
#get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data(deal_id, opts = {}) ⇒ V1EntitiesPaymentsSelfServeOnboardingDigitalPaymentsConnectionData
Load data for the digital payments connection stage Load data for the digital payments connection stage
27 28 29 30 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 27 def get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data(deal_id, opts = {}) data, _status_code, _headers = get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data_with_http_info(deal_id, opts) data end |
#get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data_with_http_info(deal_id, opts = {}) ⇒ Array<(V1EntitiesPaymentsSelfServeOnboardingDigitalPaymentsConnectionData, Integer, Hash)>
Load data for the digital payments connection stage Load data for the digital payments connection stage
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 37 def get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data_with_http_info(deal_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data ...' end # verify the required parameter 'deal_id' is set if @api_client.config.client_side_validation && deal_id.nil? fail ArgumentError, "Missing the required parameter 'deal_id' when calling DefaultApi.get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data" end # resource path local_var_path = '/deals/{deal_id}/payment_onboarding/questionnaire/digital_payments_connection/data'.sub('{' + 'deal_id' + '}', CGI.escape(deal_id.to_s)) # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'V1EntitiesPaymentsSelfServeOnboardingDigitalPaymentsConnectionData' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#get_deals_deal_id_payment_onboarding_questionnaire_digital_payments_connection_data\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_data(deal_id, opts = {}) ⇒ V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsData
Get payout account data Get payout account data
90 91 92 93 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 90 def get_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_data(deal_id, opts = {}) data, _status_code, _headers = get_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_data_with_http_info(deal_id, opts) data end |
#get_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_data_with_http_info(deal_id, opts = {}) ⇒ Array<(V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsData, Integer, Hash)>
Get payout account data Get payout account data
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 100 def get_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_data_with_http_info(deal_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.get_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_data ...' end # verify the required parameter 'deal_id' is set if @api_client.config.client_side_validation && deal_id.nil? fail ArgumentError, "Missing the required parameter 'deal_id' when calling DefaultApi.get_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_data" end # resource path local_var_path = '/deals/{deal_id}/payment_onboarding/questionnaire/payout_account_details/data'.sub('{' + 'deal_id' + '}', CGI.escape(deal_id.to_s)) # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsData' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.get_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_data", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#get_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_data\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_deals_id_investors_investor_id_payments_express_wire_instructions(id, investor_id, opts = {}) ⇒ V1EntitiesExpressWireInstruction
Displays the express wire instructions for an investor on a deal Get express wire instructions
154 155 156 157 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 154 def get_deals_id_investors_investor_id_payments_express_wire_instructions(id, investor_id, opts = {}) data, _status_code, _headers = get_deals_id_investors_investor_id_payments_express_wire_instructions_with_http_info(id, investor_id, opts) data end |
#get_deals_id_investors_investor_id_payments_express_wire_instructions_with_http_info(id, investor_id, opts = {}) ⇒ Array<(V1EntitiesExpressWireInstruction, Integer, Hash)>
Displays the express wire instructions for an investor on a deal Get express wire instructions
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 165 def get_deals_id_investors_investor_id_payments_express_wire_instructions_with_http_info(id, investor_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.get_deals_id_investors_investor_id_payments_express_wire_instructions ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_deals_id_investors_investor_id_payments_express_wire_instructions" end # verify the required parameter 'investor_id' is set if @api_client.config.client_side_validation && investor_id.nil? fail ArgumentError, "Missing the required parameter 'investor_id' when calling DefaultApi.get_deals_id_investors_investor_id_payments_express_wire_instructions" end # resource path local_var_path = '/deals/{id}/investors/{investor_id}/payments/express_wire/instructions'.sub('{' + 'id' + '}', CGI.escape(id.to_s)).sub('{' + 'investor_id' + '}', CGI.escape(investor_id.to_s)) # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'V1EntitiesExpressWireInstruction' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.get_deals_id_investors_investor_id_payments_express_wire_instructions", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#get_deals_id_investors_investor_id_payments_express_wire_instructions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_deals_id_investors_payments_express_wire_instructions(id, opts = {}) ⇒ V1EntitiesExpressWireInstructions
Displays the express wire instructions for all the investors on a deal Get list of express wire instructions
222 223 224 225 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 222 def get_deals_id_investors_payments_express_wire_instructions(id, opts = {}) data, _status_code, _headers = get_deals_id_investors_payments_express_wire_instructions_with_http_info(id, opts) data end |
#get_deals_id_investors_payments_express_wire_instructions_with_http_info(id, opts = {}) ⇒ Array<(V1EntitiesExpressWireInstructions, Integer, Hash)>
Displays the express wire instructions for all the investors on a deal Get list of express wire instructions
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 232 def get_deals_id_investors_payments_express_wire_instructions_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.get_deals_id_investors_payments_express_wire_instructions ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_deals_id_investors_payments_express_wire_instructions" end # resource path local_var_path = '/deals/{id}/investors/payments/express_wire/instructions'.sub('{' + 'id' + '}', CGI.escape(id.to_s)) # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'V1EntitiesExpressWireInstructions' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.get_deals_id_investors_payments_express_wire_instructions", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#get_deals_id_investors_payments_express_wire_instructions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_deals_id_platform_emails_domain(id, opts = {}) ⇒ V1EntitiesDealsPlatformEmailsDomainSettings
Get the email domain settings for the deal Get the email domain settings for the deal
285 286 287 288 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 285 def get_deals_id_platform_emails_domain(id, opts = {}) data, _status_code, _headers = get_deals_id_platform_emails_domain_with_http_info(id, opts) data end |
#get_deals_id_platform_emails_domain_with_http_info(id, opts = {}) ⇒ Array<(V1EntitiesDealsPlatformEmailsDomainSettings, Integer, Hash)>
Get the email domain settings for the deal Get the email domain settings for the deal
295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 295 def get_deals_id_platform_emails_domain_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.get_deals_id_platform_emails_domain ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_deals_id_platform_emails_domain" end # resource path local_var_path = '/deals/{id}/platform_emails/domain'.sub('{' + 'id' + '}', CGI.escape(id.to_s)) # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'V1EntitiesDealsPlatformEmailsDomainSettings' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.get_deals_id_platform_emails_domain", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#get_deals_id_platform_emails_domain\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_deals_id_progress_page(id, opts = {}) ⇒ V1EntitiesDealsProgress
Get deal progress Get deal progress
348 349 350 351 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 348 def get_deals_id_progress_page(id, opts = {}) data, _status_code, _headers = get_deals_id_progress_page_with_http_info(id, opts) data end |
#get_deals_id_progress_page_summary(id, opts = {}) ⇒ V1EntitiesDealsProgressPageSummary
Get the deal progress summary Get the deal progress summary
411 412 413 414 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 411 def get_deals_id_progress_page_summary(id, opts = {}) data, _status_code, _headers = get_deals_id_progress_page_summary_with_http_info(id, opts) data end |
#get_deals_id_progress_page_summary_with_http_info(id, opts = {}) ⇒ Array<(V1EntitiesDealsProgressPageSummary, Integer, Hash)>
Get the deal progress summary Get the deal progress summary
421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 421 def get_deals_id_progress_page_summary_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.get_deals_id_progress_page_summary ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_deals_id_progress_page_summary" end # resource path local_var_path = '/deals/{id}/progress_page/summary'.sub('{' + 'id' + '}', CGI.escape(id.to_s)) # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'V1EntitiesDealsProgressPageSummary' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.get_deals_id_progress_page_summary", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#get_deals_id_progress_page_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_deals_id_progress_page_with_http_info(id, opts = {}) ⇒ Array<(V1EntitiesDealsProgress, Integer, Hash)>
Get deal progress Get deal progress
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 358 def get_deals_id_progress_page_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.get_deals_id_progress_page ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_deals_id_progress_page" end # resource path local_var_path = '/deals/{id}/progress_page'.sub('{' + 'id' + '}', CGI.escape(id.to_s)) # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'V1EntitiesDealsProgress' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.get_deals_id_progress_page", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#get_deals_id_progress_page\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_deals_id_summary(id, opts = {}) ⇒ nil
Get Deal Overview Get Deal Overview
474 475 476 477 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 474 def get_deals_id_summary(id, opts = {}) get_deals_id_summary_with_http_info(id, opts) nil end |
#get_deals_id_summary_with_http_info(id, opts = {}) ⇒ Array<(nil, Integer, Hash)>
Get Deal Overview Get Deal Overview
484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 484 def get_deals_id_summary_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.get_deals_id_summary ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_deals_id_summary" end # resource path local_var_path = '/deals/{id}/summary'.sub('{' + 'id' + '}', CGI.escape(id.to_s)) # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.get_deals_id_summary", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#get_deals_id_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_deals_payment_onboarding_questionnaire_initial_questions(opts = {}) ⇒ nil
Get initial questions Get initial questions
534 535 536 537 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 534 def get_deals_payment_onboarding_questionnaire_initial_questions(opts = {}) get_deals_payment_onboarding_questionnaire_initial_questions_with_http_info(opts) nil end |
#get_deals_payment_onboarding_questionnaire_initial_questions_with_http_info(opts = {}) ⇒ Array<(nil, Integer, Hash)>
Get initial questions Get initial questions
543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 543 def get_deals_payment_onboarding_questionnaire_initial_questions_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.get_deals_payment_onboarding_questionnaire_initial_questions ...' end # resource path local_var_path = '/deals/payment_onboarding/questionnaire/initial_questions' # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.get_deals_payment_onboarding_questionnaire_initial_questions", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#get_deals_payment_onboarding_questionnaire_initial_questions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_webhooks(opts = {}) ⇒ V1EntitiesWebhooksSubscription
Returns a list of webhook subscription which is associated to the user Returns a list of webhook subscription
592 593 594 595 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 592 def get_webhooks(opts = {}) data, _status_code, _headers = get_webhooks_with_http_info(opts) data end |
#get_webhooks_deal_id(id, opts = {}) ⇒ V1EntitiesWebhooksDeal
Finds a deal using the id Returns a deal
656 657 658 659 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 656 def get_webhooks_deal_id(id, opts = {}) data, _status_code, _headers = get_webhooks_deal_id_with_http_info(id, opts) data end |
#get_webhooks_deal_id_with_http_info(id, opts = {}) ⇒ Array<(V1EntitiesWebhooksDeal, Integer, Hash)>
Finds a deal using the id Returns a deal
666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 666 def get_webhooks_deal_id_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.get_webhooks_deal_id ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.get_webhooks_deal_id" end # resource path local_var_path = '/webhooks/deal/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s)) # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'V1EntitiesWebhooksDeal' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.get_webhooks_deal_id", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#get_webhooks_deal_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_webhooks_deals_search(opts = {}) ⇒ V1EntitiesWebhooksSecurityToken
Searches for deals for a given user Searches for deals for a given user
718 719 720 721 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 718 def get_webhooks_deals_search(opts = {}) data, _status_code, _headers = get_webhooks_deals_search_with_http_info(opts) data end |
#get_webhooks_deals_search_with_http_info(opts = {}) ⇒ Array<(V1EntitiesWebhooksSecurityToken, Integer, Hash)>
Searches for deals for a given user Searches for deals for a given user
727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 727 def get_webhooks_deals_search_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.get_webhooks_deals_search ...' end # resource path local_var_path = '/webhooks/deals/search' # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'V1EntitiesWebhooksSecurityToken' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.get_webhooks_deals_search", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#get_webhooks_deals_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_webhooks_security_token(opts = {}) ⇒ V1EntitiesWebhooksSecurityToken
Creates a new security token for webhook subscription Creates a new security token for webhook subscription
775 776 777 778 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 775 def get_webhooks_security_token(opts = {}) data, _status_code, _headers = get_webhooks_security_token_with_http_info(opts) data end |
#get_webhooks_security_token_with_http_info(opts = {}) ⇒ Array<(V1EntitiesWebhooksSecurityToken, Integer, Hash)>
Creates a new security token for webhook subscription Creates a new security token for webhook subscription
784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 784 def get_webhooks_security_token_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.get_webhooks_security_token ...' end # resource path local_var_path = '/webhooks/security_token' # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'V1EntitiesWebhooksSecurityToken' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.get_webhooks_security_token", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#get_webhooks_security_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_webhooks_with_http_info(opts = {}) ⇒ Array<(V1EntitiesWebhooksSubscription, Integer, Hash)>
Returns a list of webhook subscription which is associated to the user Returns a list of webhook subscription
604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 604 def get_webhooks_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.get_webhooks ...' end # resource path local_var_path = '/webhooks' # query parameters query_params = opts[:query_params] || {} query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil? query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil? query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'V1EntitiesWebhooksSubscription' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.get_webhooks", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#get_webhooks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#patch_deals_id_platform_emails_domain(id, patch_deals_id_platform_emails_domain_request, opts = {}) ⇒ nil
Update the email domain settings for the deal Update the email domain settings for the deal
834 835 836 837 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 834 def patch_deals_id_platform_emails_domain(id, patch_deals_id_platform_emails_domain_request, opts = {}) patch_deals_id_platform_emails_domain_with_http_info(id, patch_deals_id_platform_emails_domain_request, opts) nil end |
#patch_deals_id_platform_emails_domain_with_http_info(id, patch_deals_id_platform_emails_domain_request, opts = {}) ⇒ Array<(nil, Integer, Hash)>
Update the email domain settings for the deal Update the email domain settings for the deal
845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 845 def patch_deals_id_platform_emails_domain_with_http_info(id, patch_deals_id_platform_emails_domain_request, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.patch_deals_id_platform_emails_domain ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.patch_deals_id_platform_emails_domain" end # verify the required parameter 'patch_deals_id_platform_emails_domain_request' is set if @api_client.config.client_side_validation && patch_deals_id_platform_emails_domain_request.nil? fail ArgumentError, "Missing the required parameter 'patch_deals_id_platform_emails_domain_request' when calling DefaultApi.patch_deals_id_platform_emails_domain" end # resource path local_var_path = '/deals/{id}/platform_emails/domain'.sub('{' + 'id' + '}', CGI.escape(id.to_s)) # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? header_params['Content-Type'] = content_type end # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] || @api_client.object_to_http_body(patch_deals_id_platform_emails_domain_request) # return_type return_type = opts[:debug_return_type] # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.patch_deals_id_platform_emails_domain", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#patch_deals_id_platform_emails_domain\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit(deal_id, opts = {}) ⇒ V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult
Submit a payout account details form Submit a payout account details form
905 906 907 908 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 905 def post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit(deal_id, opts = {}) data, _status_code, _headers = post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit_with_http_info(deal_id, opts) data end |
#post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit_with_http_info(deal_id, opts = {}) ⇒ Array<(V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult, Integer, Hash)>
Submit a payout account details form Submit a payout account details form
915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 915 def post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit_with_http_info(deal_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit ...' end # verify the required parameter 'deal_id' is set if @api_client.config.client_side_validation && deal_id.nil? fail ArgumentError, "Missing the required parameter 'deal_id' when calling DefaultApi.post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit" end # resource path local_var_path = '/deals/{deal_id}/payment_onboarding/questionnaire/payout_account_details/submit'.sub('{' + 'deal_id' + '}', CGI.escape(deal_id.to_s)) # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'V1EntitiesPaymentsSelfServeOnboardingPayoutAccountDetailsResult' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:POST, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#post_deals_deal_id_payment_onboarding_questionnaire_payout_account_details_submit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit(deal_id, opts = {}) ⇒ nil
Submit a qualification questionnaire response Submit a qualification questionnaire response
968 969 970 971 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 968 def post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit(deal_id, opts = {}) post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit_with_http_info(deal_id, opts) nil end |
#post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit_with_http_info(deal_id, opts = {}) ⇒ Array<(nil, Integer, Hash)>
Submit a qualification questionnaire response Submit a qualification questionnaire response
978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 978 def post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit_with_http_info(deal_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit ...' end # verify the required parameter 'deal_id' is set if @api_client.config.client_side_validation && deal_id.nil? fail ArgumentError, "Missing the required parameter 'deal_id' when calling DefaultApi.post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit" end # resource path local_var_path = '/deals/{deal_id}/payment_onboarding/questionnaire/qualification_questionnaire/response/submit'.sub('{' + 'deal_id' + '}', CGI.escape(deal_id.to_s)) # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:POST, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_response_submit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit(deal_id, opts = {}) ⇒ V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult
Submit a qualification questionnaire form Submit a qualification questionnaire form
1029 1030 1031 1032 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 1029 def post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit(deal_id, opts = {}) data, _status_code, _headers = post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit_with_http_info(deal_id, opts) data end |
#post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit_with_http_info(deal_id, opts = {}) ⇒ Array<(V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult, Integer, Hash)>
Submit a qualification questionnaire form Submit a qualification questionnaire form
1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 1039 def post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit_with_http_info(deal_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit ...' end # verify the required parameter 'deal_id' is set if @api_client.config.client_side_validation && deal_id.nil? fail ArgumentError, "Missing the required parameter 'deal_id' when calling DefaultApi.post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit" end # resource path local_var_path = '/deals/{deal_id}/payment_onboarding/questionnaire/qualification_questionnaire/submit'.sub('{' + 'deal_id' + '}', CGI.escape(deal_id.to_s)) # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'V1EntitiesPaymentsSelfServeOnboardingQualificationQuestionnaireResult' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:POST, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#post_deals_deal_id_payment_onboarding_questionnaire_qualification_questionnaire_submit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_investors_investor_id_transactions_request_refund_process(investor_id, opts = {}) ⇒ nil
Request refund for investor transactions Request refund for investor transactions
1092 1093 1094 1095 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 1092 def post_investors_investor_id_transactions_request_refund_process(investor_id, opts = {}) post_investors_investor_id_transactions_request_refund_process_with_http_info(investor_id, opts) nil end |
#post_investors_investor_id_transactions_request_refund_process_with_http_info(investor_id, opts = {}) ⇒ Array<(nil, Integer, Hash)>
Request refund for investor transactions Request refund for investor transactions
1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 1102 def post_investors_investor_id_transactions_request_refund_process_with_http_info(investor_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.post_investors_investor_id_transactions_request_refund_process ...' end # verify the required parameter 'investor_id' is set if @api_client.config.client_side_validation && investor_id.nil? fail ArgumentError, "Missing the required parameter 'investor_id' when calling DefaultApi.post_investors_investor_id_transactions_request_refund_process" end # resource path local_var_path = '/investors/{investor_id}/transactions/request_refund/process'.sub('{' + 'investor_id' + '}', CGI.escape(investor_id.to_s)) # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.post_investors_investor_id_transactions_request_refund_process", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:POST, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#post_investors_investor_id_transactions_request_refund_process\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_webhooks(post_webhooks_request, opts = {}) ⇒ V1EntitiesWebhooksSubscription
Creates a webhook subscription which is associated to the user Creates new webhook subscription
1153 1154 1155 1156 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 1153 def post_webhooks(post_webhooks_request, opts = {}) data, _status_code, _headers = post_webhooks_with_http_info(post_webhooks_request, opts) data end |
#post_webhooks_with_http_info(post_webhooks_request, opts = {}) ⇒ Array<(V1EntitiesWebhooksSubscription, Integer, Hash)>
Creates a webhook subscription which is associated to the user Creates new webhook subscription
1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 1163 def post_webhooks_with_http_info(post_webhooks_request, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.post_webhooks ...' end # verify the required parameter 'post_webhooks_request' is set if @api_client.config.client_side_validation && post_webhooks_request.nil? fail ArgumentError, "Missing the required parameter 'post_webhooks_request' when calling DefaultApi.post_webhooks" end # resource path local_var_path = '/webhooks' # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? header_params['Content-Type'] = content_type end # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] || @api_client.object_to_http_body(post_webhooks_request) # return_type return_type = opts[:debug_return_type] || 'V1EntitiesWebhooksSubscription' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.post_webhooks", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:POST, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#post_webhooks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#put_webhooks_id(id, opts = {}) ⇒ V1EntitiesWebhooksSubscription
Updates webhook subscription and webhooks subcription deals Updates webhook subscription
1222 1223 1224 1225 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 1222 def put_webhooks_id(id, opts = {}) data, _status_code, _headers = put_webhooks_id_with_http_info(id, opts) data end |
#put_webhooks_id_with_http_info(id, opts = {}) ⇒ Array<(V1EntitiesWebhooksSubscription, Integer, Hash)>
Updates webhook subscription and webhooks subcription deals Updates webhook subscription
1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 |
# File 'lib/DealMakerAPI/api/default_api.rb', line 1233 def put_webhooks_id_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DefaultApi.put_webhooks_id ...' end # verify the required parameter 'id' is set if @api_client.config.client_side_validation && id.nil? fail ArgumentError, "Missing the required parameter 'id' when calling DefaultApi.put_webhooks_id" end # resource path local_var_path = '/webhooks/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s)) # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? header_params['Content-Type'] = content_type end # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'put_webhooks_id_request']) # return_type return_type = opts[:debug_return_type] || 'V1EntitiesWebhooksSubscription' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"DefaultApi.put_webhooks_id", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:PUT, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: DefaultApi#put_webhooks_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |