Class: Merge::Accounting::AsyncClient

Inherits:
Object
  • Object
show all
Defined in:
lib/merge_ruby_client/accounting/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(request_client:) ⇒ Merge::Accounting::AsyncClient

Parameters:



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
342
343
344
345
346
347
348
349
# File 'lib/merge_ruby_client/accounting/client.rb', line 301

def initialize(request_client:)
  @account_details = Merge::Accounting::AsyncAccountDetailsClient.new(request_client: request_client)
  @account_token = Merge::Accounting::AsyncAccountTokenClient.new(request_client: request_client)
  @accounting_periods = Merge::Accounting::AsyncAccountingPeriodsClient.new(request_client: request_client)
  @accounts = Merge::Accounting::AsyncAccountsClient.new(request_client: request_client)
  @addresses = Merge::Accounting::AsyncAddressesClient.new(request_client: request_client)
  @async_passthrough = Merge::Accounting::AsyncAsyncPassthroughClient.new(request_client: request_client)
  @async_tasks = Merge::Accounting::AsyncAsyncTasksClient.new(request_client: request_client)
  @attachments = Merge::Accounting::AsyncAttachmentsClient.new(request_client: request_client)
  @audit_trail = Merge::Accounting::AsyncAuditTrailClient.new(request_client: request_client)
  @available_actions = Merge::Accounting::AsyncAvailableActionsClient.new(request_client: request_client)
  @balance_sheets = Merge::Accounting::AsyncBalanceSheetsClient.new(request_client: request_client)
  @bank_feed_accounts = Merge::Accounting::AsyncBankFeedAccountsClient.new(request_client: request_client)
  @bank_feed_transactions = Merge::Accounting::AsyncBankFeedTransactionsClient.new(request_client: request_client)
  @cash_flow_statements = Merge::Accounting::AsyncCashFlowStatementsClient.new(request_client: request_client)
  @company_info = Merge::Accounting::AsyncCompanyInfoClient.new(request_client: request_client)
  @contacts = Merge::Accounting::AsyncContactsClient.new(request_client: request_client)
  @credit_notes = Merge::Accounting::AsyncCreditNotesClient.new(request_client: request_client)
  @scopes = Merge::Accounting::AsyncScopesClient.new(request_client: request_client)
  @delete_account = Merge::Accounting::AsyncDeleteAccountClient.new(request_client: request_client)
  @employees = Merge::Accounting::AsyncEmployeesClient.new(request_client: request_client)
  @expense_reports = Merge::Accounting::AsyncExpenseReportsClient.new(request_client: request_client)
  @expenses = Merge::Accounting::AsyncExpensesClient.new(request_client: request_client)
  @field_mapping = Merge::Accounting::AsyncFieldMappingClient.new(request_client: request_client)
  @general_ledger_transactions = Merge::Accounting::AsyncGeneralLedgerTransactionsClient.new(request_client: request_client)
  @generate_key = Merge::Accounting::AsyncGenerateKeyClient.new(request_client: request_client)
  @income_statements = Merge::Accounting::AsyncIncomeStatementsClient.new(request_client: request_client)
  @invoices = Merge::Accounting::AsyncInvoicesClient.new(request_client: request_client)
  @issues = Merge::Accounting::AsyncIssuesClient.new(request_client: request_client)
  @items = Merge::Accounting::AsyncItemsClient.new(request_client: request_client)
  @journal_entries = Merge::Accounting::AsyncJournalEntriesClient.new(request_client: request_client)
  @link_token = Merge::Accounting::AsyncLinkTokenClient.new(request_client: request_client)
  @linked_accounts = Merge::Accounting::AsyncLinkedAccountsClient.new(request_client: request_client)
  @passthrough = Merge::Accounting::AsyncPassthroughClient.new(request_client: request_client)
  @payment_methods = Merge::Accounting::AsyncPaymentMethodsClient.new(request_client: request_client)
  @payment_terms = Merge::Accounting::AsyncPaymentTermsClient.new(request_client: request_client)
  @payments = Merge::Accounting::AsyncPaymentsClient.new(request_client: request_client)
  @phone_numbers = Merge::Accounting::AsyncPhoneNumbersClient.new(request_client: request_client)
  @projects = Merge::Accounting::AsyncProjectsClient.new(request_client: request_client)
  @purchase_orders = Merge::Accounting::AsyncPurchaseOrdersClient.new(request_client: request_client)
  @regenerate_key = Merge::Accounting::AsyncRegenerateKeyClient.new(request_client: request_client)
  @sync_status = Merge::Accounting::AsyncSyncStatusClient.new(request_client: request_client)
  @force_resync = Merge::Accounting::AsyncForceResyncClient.new(request_client: request_client)
  @tax_rates = Merge::Accounting::AsyncTaxRatesClient.new(request_client: request_client)
  @tracking_categories = Merge::Accounting::AsyncTrackingCategoriesClient.new(request_client: request_client)
  @transactions = Merge::Accounting::AsyncTransactionsClient.new(request_client: request_client)
  @vendor_credits = Merge::Accounting::AsyncVendorCreditsClient.new(request_client: request_client)
  @webhook_receivers = Merge::Accounting::AsyncWebhookReceiversClient.new(request_client: request_client)
end

Instance Attribute Details

#account_detailsMerge::Accounting::AsyncAccountDetailsClient (readonly)



205
206
207
# File 'lib/merge_ruby_client/accounting/client.rb', line 205

def 
  @account_details
end

#account_tokenMerge::Accounting::AsyncAccountTokenClient (readonly)



207
208
209
# File 'lib/merge_ruby_client/accounting/client.rb', line 207

def 
  @account_token
end

#accounting_periodsMerge::Accounting::AsyncAccountingPeriodsClient (readonly)



209
210
211
# File 'lib/merge_ruby_client/accounting/client.rb', line 209

def accounting_periods
  @accounting_periods
end

#accountsMerge::Accounting::AsyncAccountsClient (readonly)



211
212
213
# File 'lib/merge_ruby_client/accounting/client.rb', line 211

def accounts
  @accounts
end

#addressesMerge::Accounting::AsyncAddressesClient (readonly)



213
214
215
# File 'lib/merge_ruby_client/accounting/client.rb', line 213

def addresses
  @addresses
end

#async_passthroughMerge::Accounting::AsyncAsyncPassthroughClient (readonly)



215
216
217
# File 'lib/merge_ruby_client/accounting/client.rb', line 215

def async_passthrough
  @async_passthrough
end

#async_tasksMerge::Accounting::AsyncAsyncTasksClient (readonly)



217
218
219
# File 'lib/merge_ruby_client/accounting/client.rb', line 217

def async_tasks
  @async_tasks
end

#attachmentsMerge::Accounting::AsyncAttachmentsClient (readonly)



219
220
221
# File 'lib/merge_ruby_client/accounting/client.rb', line 219

def attachments
  @attachments
end

#audit_trailMerge::Accounting::AsyncAuditTrailClient (readonly)



221
222
223
# File 'lib/merge_ruby_client/accounting/client.rb', line 221

def audit_trail
  @audit_trail
end

#available_actionsMerge::Accounting::AsyncAvailableActionsClient (readonly)



223
224
225
# File 'lib/merge_ruby_client/accounting/client.rb', line 223

def available_actions
  @available_actions
end

#balance_sheetsMerge::Accounting::AsyncBalanceSheetsClient (readonly)



225
226
227
# File 'lib/merge_ruby_client/accounting/client.rb', line 225

def balance_sheets
  @balance_sheets
end

#bank_feed_accountsMerge::Accounting::AsyncBankFeedAccountsClient (readonly)



227
228
229
# File 'lib/merge_ruby_client/accounting/client.rb', line 227

def bank_feed_accounts
  @bank_feed_accounts
end

#bank_feed_transactionsMerge::Accounting::AsyncBankFeedTransactionsClient (readonly)



229
230
231
# File 'lib/merge_ruby_client/accounting/client.rb', line 229

def bank_feed_transactions
  @bank_feed_transactions
end

#cash_flow_statementsMerge::Accounting::AsyncCashFlowStatementsClient (readonly)



231
232
233
# File 'lib/merge_ruby_client/accounting/client.rb', line 231

def cash_flow_statements
  @cash_flow_statements
end

#company_infoMerge::Accounting::AsyncCompanyInfoClient (readonly)



233
234
235
# File 'lib/merge_ruby_client/accounting/client.rb', line 233

def company_info
  @company_info
end

#contactsMerge::Accounting::AsyncContactsClient (readonly)



235
236
237
# File 'lib/merge_ruby_client/accounting/client.rb', line 235

def contacts
  @contacts
end

#credit_notesMerge::Accounting::AsyncCreditNotesClient (readonly)



237
238
239
# File 'lib/merge_ruby_client/accounting/client.rb', line 237

def credit_notes
  @credit_notes
end

#delete_accountMerge::Accounting::AsyncDeleteAccountClient (readonly)



241
242
243
# File 'lib/merge_ruby_client/accounting/client.rb', line 241

def 
  @delete_account
end

#employeesMerge::Accounting::AsyncEmployeesClient (readonly)



243
244
245
# File 'lib/merge_ruby_client/accounting/client.rb', line 243

def employees
  @employees
end

#expense_reportsMerge::Accounting::AsyncExpenseReportsClient (readonly)



245
246
247
# File 'lib/merge_ruby_client/accounting/client.rb', line 245

def expense_reports
  @expense_reports
end

#expensesMerge::Accounting::AsyncExpensesClient (readonly)



247
248
249
# File 'lib/merge_ruby_client/accounting/client.rb', line 247

def expenses
  @expenses
end

#field_mappingMerge::Accounting::AsyncFieldMappingClient (readonly)



249
250
251
# File 'lib/merge_ruby_client/accounting/client.rb', line 249

def field_mapping
  @field_mapping
end

#force_resyncMerge::Accounting::AsyncForceResyncClient (readonly)



287
288
289
# File 'lib/merge_ruby_client/accounting/client.rb', line 287

def force_resync
  @force_resync
end

#general_ledger_transactionsMerge::Accounting::AsyncGeneralLedgerTransactionsClient (readonly)



251
252
253
# File 'lib/merge_ruby_client/accounting/client.rb', line 251

def general_ledger_transactions
  @general_ledger_transactions
end

#generate_keyMerge::Accounting::AsyncGenerateKeyClient (readonly)



253
254
255
# File 'lib/merge_ruby_client/accounting/client.rb', line 253

def generate_key
  @generate_key
end

#income_statementsMerge::Accounting::AsyncIncomeStatementsClient (readonly)



255
256
257
# File 'lib/merge_ruby_client/accounting/client.rb', line 255

def income_statements
  @income_statements
end

#invoicesMerge::Accounting::AsyncInvoicesClient (readonly)



257
258
259
# File 'lib/merge_ruby_client/accounting/client.rb', line 257

def invoices
  @invoices
end

#issuesMerge::Accounting::AsyncIssuesClient (readonly)



259
260
261
# File 'lib/merge_ruby_client/accounting/client.rb', line 259

def issues
  @issues
end

#itemsMerge::Accounting::AsyncItemsClient (readonly)



261
262
263
# File 'lib/merge_ruby_client/accounting/client.rb', line 261

def items
  @items
end

#journal_entriesMerge::Accounting::AsyncJournalEntriesClient (readonly)



263
264
265
# File 'lib/merge_ruby_client/accounting/client.rb', line 263

def journal_entries
  @journal_entries
end


265
266
267
# File 'lib/merge_ruby_client/accounting/client.rb', line 265

def link_token
  @link_token
end

#linked_accountsMerge::Accounting::AsyncLinkedAccountsClient (readonly)



267
268
269
# File 'lib/merge_ruby_client/accounting/client.rb', line 267

def linked_accounts
  @linked_accounts
end

#passthroughMerge::Accounting::AsyncPassthroughClient (readonly)



269
270
271
# File 'lib/merge_ruby_client/accounting/client.rb', line 269

def passthrough
  @passthrough
end

#payment_methodsMerge::Accounting::AsyncPaymentMethodsClient (readonly)



271
272
273
# File 'lib/merge_ruby_client/accounting/client.rb', line 271

def payment_methods
  @payment_methods
end

#payment_termsMerge::Accounting::AsyncPaymentTermsClient (readonly)



273
274
275
# File 'lib/merge_ruby_client/accounting/client.rb', line 273

def payment_terms
  @payment_terms
end

#paymentsMerge::Accounting::AsyncPaymentsClient (readonly)



275
276
277
# File 'lib/merge_ruby_client/accounting/client.rb', line 275

def payments
  @payments
end

#phone_numbersMerge::Accounting::AsyncPhoneNumbersClient (readonly)



277
278
279
# File 'lib/merge_ruby_client/accounting/client.rb', line 277

def phone_numbers
  @phone_numbers
end

#projectsMerge::Accounting::AsyncProjectsClient (readonly)



279
280
281
# File 'lib/merge_ruby_client/accounting/client.rb', line 279

def projects
  @projects
end

#purchase_ordersMerge::Accounting::AsyncPurchaseOrdersClient (readonly)



281
282
283
# File 'lib/merge_ruby_client/accounting/client.rb', line 281

def purchase_orders
  @purchase_orders
end

#regenerate_keyMerge::Accounting::AsyncRegenerateKeyClient (readonly)



283
284
285
# File 'lib/merge_ruby_client/accounting/client.rb', line 283

def regenerate_key
  @regenerate_key
end

#scopesMerge::Accounting::AsyncScopesClient (readonly)



239
240
241
# File 'lib/merge_ruby_client/accounting/client.rb', line 239

def scopes
  @scopes
end

#sync_statusMerge::Accounting::AsyncSyncStatusClient (readonly)



285
286
287
# File 'lib/merge_ruby_client/accounting/client.rb', line 285

def sync_status
  @sync_status
end

#tax_ratesMerge::Accounting::AsyncTaxRatesClient (readonly)



289
290
291
# File 'lib/merge_ruby_client/accounting/client.rb', line 289

def tax_rates
  @tax_rates
end

#tracking_categoriesMerge::Accounting::AsyncTrackingCategoriesClient (readonly)



291
292
293
# File 'lib/merge_ruby_client/accounting/client.rb', line 291

def tracking_categories
  @tracking_categories
end

#transactionsMerge::Accounting::AsyncTransactionsClient (readonly)



293
294
295
# File 'lib/merge_ruby_client/accounting/client.rb', line 293

def transactions
  @transactions
end

#vendor_creditsMerge::Accounting::AsyncVendorCreditsClient (readonly)



295
296
297
# File 'lib/merge_ruby_client/accounting/client.rb', line 295

def vendor_credits
  @vendor_credits
end

#webhook_receiversMerge::Accounting::AsyncWebhookReceiversClient (readonly)



297
298
299
# File 'lib/merge_ruby_client/accounting/client.rb', line 297

def webhook_receivers
  @webhook_receivers
end