Class: Merge::Accounting::Client
- Inherits:
-
Object
- Object
- Merge::Accounting::Client
- Defined in:
- lib/merge_ruby_client/accounting/client.rb
Instance Attribute Summary collapse
- #account_details ⇒ Merge::Accounting::AccountDetailsClient readonly
- #account_token ⇒ Merge::Accounting::AccountTokenClient readonly
- #accounting_periods ⇒ Merge::Accounting::AccountingPeriodsClient readonly
- #accounts ⇒ Merge::Accounting::AccountsClient readonly
- #addresses ⇒ Merge::Accounting::AddressesClient readonly
- #async_passthrough ⇒ Merge::Accounting::AsyncPassthroughClient readonly
- #async_tasks ⇒ Merge::Accounting::AsyncTasksClient readonly
- #attachments ⇒ Merge::Accounting::AttachmentsClient readonly
- #audit_trail ⇒ Merge::Accounting::AuditTrailClient readonly
- #available_actions ⇒ Merge::Accounting::AvailableActionsClient readonly
- #balance_sheets ⇒ Merge::Accounting::BalanceSheetsClient readonly
- #bank_feed_accounts ⇒ Merge::Accounting::BankFeedAccountsClient readonly
- #bank_feed_transactions ⇒ Merge::Accounting::BankFeedTransactionsClient readonly
- #cash_flow_statements ⇒ Merge::Accounting::CashFlowStatementsClient readonly
- #company_info ⇒ Merge::Accounting::CompanyInfoClient readonly
- #contacts ⇒ Merge::Accounting::ContactsClient readonly
- #credit_notes ⇒ Merge::Accounting::CreditNotesClient readonly
- #delete_account ⇒ Merge::Accounting::DeleteAccountClient readonly
- #employees ⇒ Merge::Accounting::EmployeesClient readonly
- #expense_reports ⇒ Merge::Accounting::ExpenseReportsClient readonly
- #expenses ⇒ Merge::Accounting::ExpensesClient readonly
- #field_mapping ⇒ Merge::Accounting::FieldMappingClient readonly
- #force_resync ⇒ Merge::Accounting::ForceResyncClient readonly
- #general_ledger_transactions ⇒ Merge::Accounting::GeneralLedgerTransactionsClient readonly
- #generate_key ⇒ Merge::Accounting::GenerateKeyClient readonly
- #income_statements ⇒ Merge::Accounting::IncomeStatementsClient readonly
- #invoices ⇒ Merge::Accounting::InvoicesClient readonly
- #issues ⇒ Merge::Accounting::IssuesClient readonly
- #items ⇒ Merge::Accounting::ItemsClient readonly
- #journal_entries ⇒ Merge::Accounting::JournalEntriesClient readonly
- #link_token ⇒ Merge::Accounting::LinkTokenClient readonly
- #linked_accounts ⇒ Merge::Accounting::LinkedAccountsClient readonly
- #passthrough ⇒ Merge::Accounting::PassthroughClient readonly
- #payment_methods ⇒ Merge::Accounting::PaymentMethodsClient readonly
- #payment_terms ⇒ Merge::Accounting::PaymentTermsClient readonly
- #payments ⇒ Merge::Accounting::PaymentsClient readonly
- #phone_numbers ⇒ Merge::Accounting::PhoneNumbersClient readonly
- #projects ⇒ Merge::Accounting::ProjectsClient readonly
- #purchase_orders ⇒ Merge::Accounting::PurchaseOrdersClient readonly
- #regenerate_key ⇒ Merge::Accounting::RegenerateKeyClient readonly
- #scopes ⇒ Merge::Accounting::ScopesClient readonly
- #sync_status ⇒ Merge::Accounting::SyncStatusClient readonly
- #tax_rates ⇒ Merge::Accounting::TaxRatesClient readonly
- #tracking_categories ⇒ Merge::Accounting::TrackingCategoriesClient readonly
- #transactions ⇒ Merge::Accounting::TransactionsClient readonly
- #vendor_credits ⇒ Merge::Accounting::VendorCreditsClient readonly
- #webhook_receivers ⇒ Merge::Accounting::WebhookReceiversClient readonly
Instance Method Summary collapse
Constructor Details
#initialize(request_client:) ⇒ Merge::Accounting::Client
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) = 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) @delete_account = 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_details ⇒ Merge::Accounting::AccountDetailsClient (readonly)
56 57 58 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 56 def account_details @account_details end |
#account_token ⇒ Merge::Accounting::AccountTokenClient (readonly)
58 59 60 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 58 def account_token @account_token end |
#accounting_periods ⇒ Merge::Accounting::AccountingPeriodsClient (readonly)
60 61 62 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 60 def accounting_periods @accounting_periods end |
#accounts ⇒ Merge::Accounting::AccountsClient (readonly)
62 63 64 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 62 def accounts @accounts end |
#addresses ⇒ Merge::Accounting::AddressesClient (readonly)
64 65 66 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 64 def addresses @addresses end |
#async_passthrough ⇒ Merge::Accounting::AsyncPassthroughClient (readonly)
66 67 68 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 66 def async_passthrough @async_passthrough end |
#async_tasks ⇒ Merge::Accounting::AsyncTasksClient (readonly)
68 69 70 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 68 def async_tasks @async_tasks end |
#attachments ⇒ Merge::Accounting::AttachmentsClient (readonly)
70 71 72 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 70 def end |
#audit_trail ⇒ Merge::Accounting::AuditTrailClient (readonly)
72 73 74 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 72 def audit_trail @audit_trail end |
#available_actions ⇒ Merge::Accounting::AvailableActionsClient (readonly)
74 75 76 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 74 def available_actions @available_actions end |
#balance_sheets ⇒ Merge::Accounting::BalanceSheetsClient (readonly)
76 77 78 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 76 def balance_sheets @balance_sheets end |
#bank_feed_accounts ⇒ Merge::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_transactions ⇒ Merge::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_statements ⇒ Merge::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_info ⇒ Merge::Accounting::CompanyInfoClient (readonly)
84 85 86 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 84 def company_info @company_info end |
#contacts ⇒ Merge::Accounting::ContactsClient (readonly)
86 87 88 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 86 def contacts @contacts end |
#credit_notes ⇒ Merge::Accounting::CreditNotesClient (readonly)
88 89 90 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 88 def credit_notes @credit_notes end |
#delete_account ⇒ Merge::Accounting::DeleteAccountClient (readonly)
92 93 94 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 92 def delete_account @delete_account end |
#employees ⇒ Merge::Accounting::EmployeesClient (readonly)
94 95 96 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 94 def employees @employees end |
#expense_reports ⇒ Merge::Accounting::ExpenseReportsClient (readonly)
96 97 98 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 96 def expense_reports @expense_reports end |
#expenses ⇒ Merge::Accounting::ExpensesClient (readonly)
98 99 100 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 98 def expenses @expenses end |
#field_mapping ⇒ Merge::Accounting::FieldMappingClient (readonly)
100 101 102 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 100 def field_mapping @field_mapping end |
#force_resync ⇒ Merge::Accounting::ForceResyncClient (readonly)
138 139 140 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 138 def force_resync @force_resync end |
#general_ledger_transactions ⇒ Merge::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_key ⇒ Merge::Accounting::GenerateKeyClient (readonly)
104 105 106 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 104 def generate_key @generate_key end |
#income_statements ⇒ Merge::Accounting::IncomeStatementsClient (readonly)
106 107 108 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 106 def income_statements @income_statements end |
#invoices ⇒ Merge::Accounting::InvoicesClient (readonly)
108 109 110 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 108 def invoices @invoices end |
#issues ⇒ Merge::Accounting::IssuesClient (readonly)
110 111 112 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 110 def issues @issues end |
#items ⇒ Merge::Accounting::ItemsClient (readonly)
112 113 114 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 112 def items @items end |
#journal_entries ⇒ Merge::Accounting::JournalEntriesClient (readonly)
114 115 116 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 114 def journal_entries @journal_entries end |
#link_token ⇒ Merge::Accounting::LinkTokenClient (readonly)
116 117 118 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 116 def link_token @link_token end |
#linked_accounts ⇒ Merge::Accounting::LinkedAccountsClient (readonly)
118 119 120 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 118 def linked_accounts @linked_accounts end |
#passthrough ⇒ Merge::Accounting::PassthroughClient (readonly)
120 121 122 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 120 def passthrough @passthrough end |
#payment_methods ⇒ Merge::Accounting::PaymentMethodsClient (readonly)
122 123 124 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 122 def payment_methods @payment_methods end |
#payment_terms ⇒ Merge::Accounting::PaymentTermsClient (readonly)
124 125 126 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 124 def payment_terms @payment_terms end |
#payments ⇒ Merge::Accounting::PaymentsClient (readonly)
126 127 128 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 126 def payments @payments end |
#phone_numbers ⇒ Merge::Accounting::PhoneNumbersClient (readonly)
128 129 130 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 128 def phone_numbers @phone_numbers end |
#projects ⇒ Merge::Accounting::ProjectsClient (readonly)
130 131 132 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 130 def projects @projects end |
#purchase_orders ⇒ Merge::Accounting::PurchaseOrdersClient (readonly)
132 133 134 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 132 def purchase_orders @purchase_orders end |
#regenerate_key ⇒ Merge::Accounting::RegenerateKeyClient (readonly)
134 135 136 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 134 def regenerate_key @regenerate_key end |
#scopes ⇒ Merge::Accounting::ScopesClient (readonly)
90 91 92 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 90 def scopes @scopes end |
#sync_status ⇒ Merge::Accounting::SyncStatusClient (readonly)
136 137 138 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 136 def sync_status @sync_status end |
#tax_rates ⇒ Merge::Accounting::TaxRatesClient (readonly)
140 141 142 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 140 def tax_rates @tax_rates end |
#tracking_categories ⇒ Merge::Accounting::TrackingCategoriesClient (readonly)
142 143 144 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 142 def tracking_categories @tracking_categories end |
#transactions ⇒ Merge::Accounting::TransactionsClient (readonly)
144 145 146 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 144 def transactions @transactions end |
#vendor_credits ⇒ Merge::Accounting::VendorCreditsClient (readonly)
146 147 148 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 146 def vendor_credits @vendor_credits end |
#webhook_receivers ⇒ Merge::Accounting::WebhookReceiversClient (readonly)
148 149 150 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 148 def webhook_receivers @webhook_receivers end |