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:



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
279
280
281
282
283
284
285
286
# File 'lib/merge_ruby_client/accounting/client.rb', line 247

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)
  @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)
  @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)
  @expenses = Merge::Accounting::AsyncExpensesClient.new(request_client: request_client)
  @field_mapping = Merge::Accounting::AsyncFieldMappingClient.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)
  @payments = Merge::Accounting::AsyncPaymentsClient.new(request_client: request_client)
  @phone_numbers = Merge::Accounting::AsyncPhoneNumbersClient.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)



169
170
171
# File 'lib/merge_ruby_client/accounting/client.rb', line 169

def 
  @account_details
end

#account_tokenMerge::Accounting::AsyncAccountTokenClient (readonly)



171
172
173
# File 'lib/merge_ruby_client/accounting/client.rb', line 171

def 
  @account_token
end

#accounting_periodsMerge::Accounting::AsyncAccountingPeriodsClient (readonly)



173
174
175
# File 'lib/merge_ruby_client/accounting/client.rb', line 173

def accounting_periods
  @accounting_periods
end

#accountsMerge::Accounting::AsyncAccountsClient (readonly)



175
176
177
# File 'lib/merge_ruby_client/accounting/client.rb', line 175

def accounts
  @accounts
end

#addressesMerge::Accounting::AsyncAddressesClient (readonly)



177
178
179
# File 'lib/merge_ruby_client/accounting/client.rb', line 177

def addresses
  @addresses
end

#async_passthroughMerge::Accounting::AsyncAsyncPassthroughClient (readonly)



179
180
181
# File 'lib/merge_ruby_client/accounting/client.rb', line 179

def async_passthrough
  @async_passthrough
end

#attachmentsMerge::Accounting::AsyncAttachmentsClient (readonly)



181
182
183
# File 'lib/merge_ruby_client/accounting/client.rb', line 181

def attachments
  @attachments
end

#audit_trailMerge::Accounting::AsyncAuditTrailClient (readonly)



183
184
185
# File 'lib/merge_ruby_client/accounting/client.rb', line 183

def audit_trail
  @audit_trail
end

#available_actionsMerge::Accounting::AsyncAvailableActionsClient (readonly)



185
186
187
# File 'lib/merge_ruby_client/accounting/client.rb', line 185

def available_actions
  @available_actions
end

#balance_sheetsMerge::Accounting::AsyncBalanceSheetsClient (readonly)



187
188
189
# File 'lib/merge_ruby_client/accounting/client.rb', line 187

def balance_sheets
  @balance_sheets
end

#cash_flow_statementsMerge::Accounting::AsyncCashFlowStatementsClient (readonly)



189
190
191
# File 'lib/merge_ruby_client/accounting/client.rb', line 189

def cash_flow_statements
  @cash_flow_statements
end

#company_infoMerge::Accounting::AsyncCompanyInfoClient (readonly)



191
192
193
# File 'lib/merge_ruby_client/accounting/client.rb', line 191

def company_info
  @company_info
end

#contactsMerge::Accounting::AsyncContactsClient (readonly)



193
194
195
# File 'lib/merge_ruby_client/accounting/client.rb', line 193

def contacts
  @contacts
end

#credit_notesMerge::Accounting::AsyncCreditNotesClient (readonly)



195
196
197
# File 'lib/merge_ruby_client/accounting/client.rb', line 195

def credit_notes
  @credit_notes
end

#delete_accountMerge::Accounting::AsyncDeleteAccountClient (readonly)



199
200
201
# File 'lib/merge_ruby_client/accounting/client.rb', line 199

def 
  @delete_account
end

#expensesMerge::Accounting::AsyncExpensesClient (readonly)



201
202
203
# File 'lib/merge_ruby_client/accounting/client.rb', line 201

def expenses
  @expenses
end

#field_mappingMerge::Accounting::AsyncFieldMappingClient (readonly)



203
204
205
# File 'lib/merge_ruby_client/accounting/client.rb', line 203

def field_mapping
  @field_mapping
end

#force_resyncMerge::Accounting::AsyncForceResyncClient (readonly)



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

def force_resync
  @force_resync
end

#generate_keyMerge::Accounting::AsyncGenerateKeyClient (readonly)



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

def generate_key
  @generate_key
end

#income_statementsMerge::Accounting::AsyncIncomeStatementsClient (readonly)



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

def income_statements
  @income_statements
end

#invoicesMerge::Accounting::AsyncInvoicesClient (readonly)



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

def invoices
  @invoices
end

#issuesMerge::Accounting::AsyncIssuesClient (readonly)



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

def issues
  @issues
end

#itemsMerge::Accounting::AsyncItemsClient (readonly)



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

def items
  @items
end

#journal_entriesMerge::Accounting::AsyncJournalEntriesClient (readonly)



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

def journal_entries
  @journal_entries
end


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

def link_token
  @link_token
end

#linked_accountsMerge::Accounting::AsyncLinkedAccountsClient (readonly)



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

def linked_accounts
  @linked_accounts
end

#passthroughMerge::Accounting::AsyncPassthroughClient (readonly)



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

def passthrough
  @passthrough
end

#paymentsMerge::Accounting::AsyncPaymentsClient (readonly)



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

def payments
  @payments
end

#phone_numbersMerge::Accounting::AsyncPhoneNumbersClient (readonly)



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

def phone_numbers
  @phone_numbers
end

#purchase_ordersMerge::Accounting::AsyncPurchaseOrdersClient (readonly)



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

def purchase_orders
  @purchase_orders
end

#regenerate_keyMerge::Accounting::AsyncRegenerateKeyClient (readonly)



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

def regenerate_key
  @regenerate_key
end

#scopesMerge::Accounting::AsyncScopesClient (readonly)



197
198
199
# File 'lib/merge_ruby_client/accounting/client.rb', line 197

def scopes
  @scopes
end

#sync_statusMerge::Accounting::AsyncSyncStatusClient (readonly)



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

def sync_status
  @sync_status
end

#tax_ratesMerge::Accounting::AsyncTaxRatesClient (readonly)



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

def tax_rates
  @tax_rates
end

#tracking_categoriesMerge::Accounting::AsyncTrackingCategoriesClient (readonly)



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

def tracking_categories
  @tracking_categories
end

#transactionsMerge::Accounting::AsyncTransactionsClient (readonly)



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

def transactions
  @transactions
end

#vendor_creditsMerge::Accounting::AsyncVendorCreditsClient (readonly)



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

def vendor_credits
  @vendor_credits
end

#webhook_receiversMerge::Accounting::AsyncWebhookReceiversClient (readonly)



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

def webhook_receivers
  @webhook_receivers
end