Class: Merge::Accounting::Client

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::Client

Parameters:



152
153
154
155
156
157
158
159
160
161
162
163
164
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
# File 'lib/merge_ruby_client/accounting/client.rb', line 152

def initialize(request_client:)
  @account_details = Merge::Accounting::AccountDetailsClient.new(request_client: request_client)
  @account_token = Merge::Accounting::AccountTokenClient.new(request_client: request_client)
  @accounting_periods = Merge::Accounting::AccountingPeriodsClient.new(request_client: request_client)
  @accounts = Merge::Accounting::AccountsClient.new(request_client: request_client)
  @addresses = Merge::Accounting::AddressesClient.new(request_client: request_client)
  @async_passthrough = Merge::Accounting::AsyncPassthroughClient.new(request_client: request_client)
  @async_tasks = Merge::Accounting::AsyncTasksClient.new(request_client: request_client)
  @attachments = Merge::Accounting::AttachmentsClient.new(request_client: request_client)
  @audit_trail = Merge::Accounting::AuditTrailClient.new(request_client: request_client)
  @available_actions = Merge::Accounting::AvailableActionsClient.new(request_client: request_client)
  @balance_sheets = Merge::Accounting::BalanceSheetsClient.new(request_client: request_client)
  @bank_feed_accounts = Merge::Accounting::BankFeedAccountsClient.new(request_client: request_client)
  @bank_feed_transactions = Merge::Accounting::BankFeedTransactionsClient.new(request_client: request_client)
  @cash_flow_statements = Merge::Accounting::CashFlowStatementsClient.new(request_client: request_client)
  @company_info = Merge::Accounting::CompanyInfoClient.new(request_client: request_client)
  @contacts = Merge::Accounting::ContactsClient.new(request_client: request_client)
  @credit_notes = Merge::Accounting::CreditNotesClient.new(request_client: request_client)
  @scopes = Merge::Accounting::ScopesClient.new(request_client: request_client)
   = Merge::Accounting::DeleteAccountClient.new(request_client: request_client)
  @employees = Merge::Accounting::EmployeesClient.new(request_client: request_client)
  @expense_reports = Merge::Accounting::ExpenseReportsClient.new(request_client: request_client)
  @expenses = Merge::Accounting::ExpensesClient.new(request_client: request_client)
  @field_mapping = Merge::Accounting::FieldMappingClient.new(request_client: request_client)
  @general_ledger_transactions = Merge::Accounting::GeneralLedgerTransactionsClient.new(request_client: request_client)
  @generate_key = Merge::Accounting::GenerateKeyClient.new(request_client: request_client)
  @income_statements = Merge::Accounting::IncomeStatementsClient.new(request_client: request_client)
  @invoices = Merge::Accounting::InvoicesClient.new(request_client: request_client)
  @issues = Merge::Accounting::IssuesClient.new(request_client: request_client)
  @items = Merge::Accounting::ItemsClient.new(request_client: request_client)
  @journal_entries = Merge::Accounting::JournalEntriesClient.new(request_client: request_client)
  @link_token = Merge::Accounting::LinkTokenClient.new(request_client: request_client)
  @linked_accounts = Merge::Accounting::LinkedAccountsClient.new(request_client: request_client)
  @passthrough = Merge::Accounting::PassthroughClient.new(request_client: request_client)
  @payment_methods = Merge::Accounting::PaymentMethodsClient.new(request_client: request_client)
  @payment_terms = Merge::Accounting::PaymentTermsClient.new(request_client: request_client)
  @payments = Merge::Accounting::PaymentsClient.new(request_client: request_client)
  @phone_numbers = Merge::Accounting::PhoneNumbersClient.new(request_client: request_client)
  @projects = Merge::Accounting::ProjectsClient.new(request_client: request_client)
  @purchase_orders = Merge::Accounting::PurchaseOrdersClient.new(request_client: request_client)
  @regenerate_key = Merge::Accounting::RegenerateKeyClient.new(request_client: request_client)
  @sync_status = Merge::Accounting::SyncStatusClient.new(request_client: request_client)
  @force_resync = Merge::Accounting::ForceResyncClient.new(request_client: request_client)
  @tax_rates = Merge::Accounting::TaxRatesClient.new(request_client: request_client)
  @tracking_categories = Merge::Accounting::TrackingCategoriesClient.new(request_client: request_client)
  @transactions = Merge::Accounting::TransactionsClient.new(request_client: request_client)
  @vendor_credits = Merge::Accounting::VendorCreditsClient.new(request_client: request_client)
  @webhook_receivers = Merge::Accounting::WebhookReceiversClient.new(request_client: request_client)
end

Instance Attribute Details

#account_detailsMerge::Accounting::AccountDetailsClient (readonly)



56
57
58
# File 'lib/merge_ruby_client/accounting/client.rb', line 56

def 
  @account_details
end

#account_tokenMerge::Accounting::AccountTokenClient (readonly)



58
59
60
# File 'lib/merge_ruby_client/accounting/client.rb', line 58

def 
  @account_token
end

#accounting_periodsMerge::Accounting::AccountingPeriodsClient (readonly)



60
61
62
# File 'lib/merge_ruby_client/accounting/client.rb', line 60

def accounting_periods
  @accounting_periods
end

#accountsMerge::Accounting::AccountsClient (readonly)



62
63
64
# File 'lib/merge_ruby_client/accounting/client.rb', line 62

def accounts
  @accounts
end

#addressesMerge::Accounting::AddressesClient (readonly)



64
65
66
# File 'lib/merge_ruby_client/accounting/client.rb', line 64

def addresses
  @addresses
end

#async_passthroughMerge::Accounting::AsyncPassthroughClient (readonly)



66
67
68
# File 'lib/merge_ruby_client/accounting/client.rb', line 66

def async_passthrough
  @async_passthrough
end

#async_tasksMerge::Accounting::AsyncTasksClient (readonly)



68
69
70
# File 'lib/merge_ruby_client/accounting/client.rb', line 68

def async_tasks
  @async_tasks
end

#attachmentsMerge::Accounting::AttachmentsClient (readonly)



70
71
72
# File 'lib/merge_ruby_client/accounting/client.rb', line 70

def attachments
  @attachments
end

#audit_trailMerge::Accounting::AuditTrailClient (readonly)



72
73
74
# File 'lib/merge_ruby_client/accounting/client.rb', line 72

def audit_trail
  @audit_trail
end

#available_actionsMerge::Accounting::AvailableActionsClient (readonly)



74
75
76
# File 'lib/merge_ruby_client/accounting/client.rb', line 74

def available_actions
  @available_actions
end

#balance_sheetsMerge::Accounting::BalanceSheetsClient (readonly)



76
77
78
# File 'lib/merge_ruby_client/accounting/client.rb', line 76

def balance_sheets
  @balance_sheets
end

#bank_feed_accountsMerge::Accounting::BankFeedAccountsClient (readonly)



78
79
80
# File 'lib/merge_ruby_client/accounting/client.rb', line 78

def bank_feed_accounts
  @bank_feed_accounts
end

#bank_feed_transactionsMerge::Accounting::BankFeedTransactionsClient (readonly)



80
81
82
# File 'lib/merge_ruby_client/accounting/client.rb', line 80

def bank_feed_transactions
  @bank_feed_transactions
end

#cash_flow_statementsMerge::Accounting::CashFlowStatementsClient (readonly)



82
83
84
# File 'lib/merge_ruby_client/accounting/client.rb', line 82

def cash_flow_statements
  @cash_flow_statements
end

#company_infoMerge::Accounting::CompanyInfoClient (readonly)



84
85
86
# File 'lib/merge_ruby_client/accounting/client.rb', line 84

def company_info
  @company_info
end

#contactsMerge::Accounting::ContactsClient (readonly)



86
87
88
# File 'lib/merge_ruby_client/accounting/client.rb', line 86

def contacts
  @contacts
end

#credit_notesMerge::Accounting::CreditNotesClient (readonly)



88
89
90
# File 'lib/merge_ruby_client/accounting/client.rb', line 88

def credit_notes
  @credit_notes
end

#delete_accountMerge::Accounting::DeleteAccountClient (readonly)



92
93
94
# File 'lib/merge_ruby_client/accounting/client.rb', line 92

def 
  
end

#employeesMerge::Accounting::EmployeesClient (readonly)



94
95
96
# File 'lib/merge_ruby_client/accounting/client.rb', line 94

def employees
  @employees
end

#expense_reportsMerge::Accounting::ExpenseReportsClient (readonly)



96
97
98
# File 'lib/merge_ruby_client/accounting/client.rb', line 96

def expense_reports
  @expense_reports
end

#expensesMerge::Accounting::ExpensesClient (readonly)



98
99
100
# File 'lib/merge_ruby_client/accounting/client.rb', line 98

def expenses
  @expenses
end

#field_mappingMerge::Accounting::FieldMappingClient (readonly)



100
101
102
# File 'lib/merge_ruby_client/accounting/client.rb', line 100

def field_mapping
  @field_mapping
end

#force_resyncMerge::Accounting::ForceResyncClient (readonly)



138
139
140
# File 'lib/merge_ruby_client/accounting/client.rb', line 138

def force_resync
  @force_resync
end

#general_ledger_transactionsMerge::Accounting::GeneralLedgerTransactionsClient (readonly)



102
103
104
# File 'lib/merge_ruby_client/accounting/client.rb', line 102

def general_ledger_transactions
  @general_ledger_transactions
end

#generate_keyMerge::Accounting::GenerateKeyClient (readonly)



104
105
106
# File 'lib/merge_ruby_client/accounting/client.rb', line 104

def generate_key
  @generate_key
end

#income_statementsMerge::Accounting::IncomeStatementsClient (readonly)



106
107
108
# File 'lib/merge_ruby_client/accounting/client.rb', line 106

def income_statements
  @income_statements
end

#invoicesMerge::Accounting::InvoicesClient (readonly)



108
109
110
# File 'lib/merge_ruby_client/accounting/client.rb', line 108

def invoices
  @invoices
end

#issuesMerge::Accounting::IssuesClient (readonly)



110
111
112
# File 'lib/merge_ruby_client/accounting/client.rb', line 110

def issues
  @issues
end

#itemsMerge::Accounting::ItemsClient (readonly)



112
113
114
# File 'lib/merge_ruby_client/accounting/client.rb', line 112

def items
  @items
end

#journal_entriesMerge::Accounting::JournalEntriesClient (readonly)



114
115
116
# File 'lib/merge_ruby_client/accounting/client.rb', line 114

def journal_entries
  @journal_entries
end


116
117
118
# File 'lib/merge_ruby_client/accounting/client.rb', line 116

def link_token
  @link_token
end

#linked_accountsMerge::Accounting::LinkedAccountsClient (readonly)



118
119
120
# File 'lib/merge_ruby_client/accounting/client.rb', line 118

def linked_accounts
  @linked_accounts
end

#passthroughMerge::Accounting::PassthroughClient (readonly)



120
121
122
# File 'lib/merge_ruby_client/accounting/client.rb', line 120

def passthrough
  @passthrough
end

#payment_methodsMerge::Accounting::PaymentMethodsClient (readonly)



122
123
124
# File 'lib/merge_ruby_client/accounting/client.rb', line 122

def payment_methods
  @payment_methods
end

#payment_termsMerge::Accounting::PaymentTermsClient (readonly)



124
125
126
# File 'lib/merge_ruby_client/accounting/client.rb', line 124

def payment_terms
  @payment_terms
end

#paymentsMerge::Accounting::PaymentsClient (readonly)



126
127
128
# File 'lib/merge_ruby_client/accounting/client.rb', line 126

def payments
  @payments
end

#phone_numbersMerge::Accounting::PhoneNumbersClient (readonly)



128
129
130
# File 'lib/merge_ruby_client/accounting/client.rb', line 128

def phone_numbers
  @phone_numbers
end

#projectsMerge::Accounting::ProjectsClient (readonly)



130
131
132
# File 'lib/merge_ruby_client/accounting/client.rb', line 130

def projects
  @projects
end

#purchase_ordersMerge::Accounting::PurchaseOrdersClient (readonly)



132
133
134
# File 'lib/merge_ruby_client/accounting/client.rb', line 132

def purchase_orders
  @purchase_orders
end

#regenerate_keyMerge::Accounting::RegenerateKeyClient (readonly)



134
135
136
# File 'lib/merge_ruby_client/accounting/client.rb', line 134

def regenerate_key
  @regenerate_key
end

#scopesMerge::Accounting::ScopesClient (readonly)



90
91
92
# File 'lib/merge_ruby_client/accounting/client.rb', line 90

def scopes
  @scopes
end

#sync_statusMerge::Accounting::SyncStatusClient (readonly)



136
137
138
# File 'lib/merge_ruby_client/accounting/client.rb', line 136

def sync_status
  @sync_status
end

#tax_ratesMerge::Accounting::TaxRatesClient (readonly)



140
141
142
# File 'lib/merge_ruby_client/accounting/client.rb', line 140

def tax_rates
  @tax_rates
end

#tracking_categoriesMerge::Accounting::TrackingCategoriesClient (readonly)



142
143
144
# File 'lib/merge_ruby_client/accounting/client.rb', line 142

def tracking_categories
  @tracking_categories
end

#transactionsMerge::Accounting::TransactionsClient (readonly)



144
145
146
# File 'lib/merge_ruby_client/accounting/client.rb', line 144

def transactions
  @transactions
end

#vendor_creditsMerge::Accounting::VendorCreditsClient (readonly)



146
147
148
# File 'lib/merge_ruby_client/accounting/client.rb', line 146

def vendor_credits
  @vendor_credits
end

#webhook_receiversMerge::Accounting::WebhookReceiversClient (readonly)



148
149
150
# File 'lib/merge_ruby_client/accounting/client.rb', line 148

def webhook_receivers
  @webhook_receivers
end