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:



125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# File 'lib/merge_ruby_client/accounting/client.rb', line 125

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)
  @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)
  @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)
  @delete_account = Merge::Accounting::DeleteAccountClient.new(request_client: request_client)
  @expenses = Merge::Accounting::ExpensesClient.new(request_client: request_client)
  @field_mapping = Merge::Accounting::FieldMappingClient.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)
  @payments = Merge::Accounting::PaymentsClient.new(request_client: request_client)
  @phone_numbers = Merge::Accounting::PhoneNumbersClient.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)



47
48
49
# File 'lib/merge_ruby_client/accounting/client.rb', line 47

def 
  @account_details
end

#account_tokenMerge::Accounting::AccountTokenClient (readonly)



49
50
51
# File 'lib/merge_ruby_client/accounting/client.rb', line 49

def 
  @account_token
end

#accounting_periodsMerge::Accounting::AccountingPeriodsClient (readonly)



51
52
53
# File 'lib/merge_ruby_client/accounting/client.rb', line 51

def accounting_periods
  @accounting_periods
end

#accountsMerge::Accounting::AccountsClient (readonly)



53
54
55
# File 'lib/merge_ruby_client/accounting/client.rb', line 53

def accounts
  @accounts
end

#addressesMerge::Accounting::AddressesClient (readonly)



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

def addresses
  @addresses
end

#async_passthroughMerge::Accounting::AsyncPassthroughClient (readonly)



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

def async_passthrough
  @async_passthrough
end

#attachmentsMerge::Accounting::AttachmentsClient (readonly)



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

def attachments
  @attachments
end

#audit_trailMerge::Accounting::AuditTrailClient (readonly)



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

def audit_trail
  @audit_trail
end

#available_actionsMerge::Accounting::AvailableActionsClient (readonly)



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

def available_actions
  @available_actions
end

#balance_sheetsMerge::Accounting::BalanceSheetsClient (readonly)



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

def balance_sheets
  @balance_sheets
end

#cash_flow_statementsMerge::Accounting::CashFlowStatementsClient (readonly)



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

def cash_flow_statements
  @cash_flow_statements
end

#company_infoMerge::Accounting::CompanyInfoClient (readonly)



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

def company_info
  @company_info
end

#contactsMerge::Accounting::ContactsClient (readonly)



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

def contacts
  @contacts
end

#credit_notesMerge::Accounting::CreditNotesClient (readonly)



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

def credit_notes
  @credit_notes
end

#delete_accountMerge::Accounting::DeleteAccountClient (readonly)



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

def 
  @delete_account
end

#expensesMerge::Accounting::ExpensesClient (readonly)



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

def expenses
  @expenses
end

#field_mappingMerge::Accounting::FieldMappingClient (readonly)



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

def field_mapping
  @field_mapping
end

#force_resyncMerge::Accounting::ForceResyncClient (readonly)



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

def force_resync
  @force_resync
end

#generate_keyMerge::Accounting::GenerateKeyClient (readonly)



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

def generate_key
  @generate_key
end

#income_statementsMerge::Accounting::IncomeStatementsClient (readonly)



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

def income_statements
  @income_statements
end

#invoicesMerge::Accounting::InvoicesClient (readonly)



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

def invoices
  @invoices
end

#issuesMerge::Accounting::IssuesClient (readonly)



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

def issues
  @issues
end

#itemsMerge::Accounting::ItemsClient (readonly)



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

def items
  @items
end

#journal_entriesMerge::Accounting::JournalEntriesClient (readonly)



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

def journal_entries
  @journal_entries
end


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

def link_token
  @link_token
end

#linked_accountsMerge::Accounting::LinkedAccountsClient (readonly)



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

def linked_accounts
  @linked_accounts
end

#passthroughMerge::Accounting::PassthroughClient (readonly)



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

def passthrough
  @passthrough
end

#paymentsMerge::Accounting::PaymentsClient (readonly)



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

def payments
  @payments
end

#phone_numbersMerge::Accounting::PhoneNumbersClient (readonly)



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

def phone_numbers
  @phone_numbers
end

#purchase_ordersMerge::Accounting::PurchaseOrdersClient (readonly)



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

def purchase_orders
  @purchase_orders
end

#regenerate_keyMerge::Accounting::RegenerateKeyClient (readonly)



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

def regenerate_key
  @regenerate_key
end

#scopesMerge::Accounting::ScopesClient (readonly)



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

def scopes
  @scopes
end

#sync_statusMerge::Accounting::SyncStatusClient (readonly)



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

def sync_status
  @sync_status
end

#tax_ratesMerge::Accounting::TaxRatesClient (readonly)



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

def tax_rates
  @tax_rates
end

#tracking_categoriesMerge::Accounting::TrackingCategoriesClient (readonly)



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

def tracking_categories
  @tracking_categories
end

#transactionsMerge::Accounting::TransactionsClient (readonly)



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

def transactions
  @transactions
end

#vendor_creditsMerge::Accounting::VendorCreditsClient (readonly)



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

def vendor_credits
  @vendor_credits
end

#webhook_receiversMerge::Accounting::WebhookReceiversClient (readonly)



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

def webhook_receivers
  @webhook_receivers
end