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
- #attachments ⇒ Merge::Accounting::AttachmentsClient readonly
- #audit_trail ⇒ Merge::Accounting::AuditTrailClient readonly
- #available_actions ⇒ Merge::Accounting::AvailableActionsClient readonly
- #balance_sheets ⇒ Merge::Accounting::BalanceSheetsClient 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
- #expenses ⇒ Merge::Accounting::ExpensesClient readonly
- #field_mapping ⇒ Merge::Accounting::FieldMappingClient readonly
- #force_resync ⇒ Merge::Accounting::ForceResyncClient 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
- #payments ⇒ Merge::Accounting::PaymentsClient readonly
- #phone_numbers ⇒ Merge::Accounting::PhoneNumbersClient 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
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_details ⇒ Merge::Accounting::AccountDetailsClient (readonly)
47 48 49 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 47 def account_details @account_details end |
#account_token ⇒ Merge::Accounting::AccountTokenClient (readonly)
49 50 51 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 49 def account_token @account_token end |
#accounting_periods ⇒ Merge::Accounting::AccountingPeriodsClient (readonly)
51 52 53 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 51 def accounting_periods @accounting_periods end |
#accounts ⇒ Merge::Accounting::AccountsClient (readonly)
53 54 55 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 53 def accounts @accounts end |
#addresses ⇒ Merge::Accounting::AddressesClient (readonly)
55 56 57 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 55 def addresses @addresses end |
#async_passthrough ⇒ Merge::Accounting::AsyncPassthroughClient (readonly)
57 58 59 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 57 def async_passthrough @async_passthrough end |
#attachments ⇒ Merge::Accounting::AttachmentsClient (readonly)
59 60 61 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 59 def @attachments end |
#audit_trail ⇒ Merge::Accounting::AuditTrailClient (readonly)
61 62 63 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 61 def audit_trail @audit_trail end |
#available_actions ⇒ Merge::Accounting::AvailableActionsClient (readonly)
63 64 65 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 63 def available_actions @available_actions end |
#balance_sheets ⇒ Merge::Accounting::BalanceSheetsClient (readonly)
65 66 67 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 65 def balance_sheets @balance_sheets end |
#cash_flow_statements ⇒ Merge::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_info ⇒ Merge::Accounting::CompanyInfoClient (readonly)
69 70 71 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 69 def company_info @company_info end |
#contacts ⇒ Merge::Accounting::ContactsClient (readonly)
71 72 73 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 71 def contacts @contacts end |
#credit_notes ⇒ Merge::Accounting::CreditNotesClient (readonly)
73 74 75 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 73 def credit_notes @credit_notes end |
#delete_account ⇒ Merge::Accounting::DeleteAccountClient (readonly)
77 78 79 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 77 def delete_account @delete_account end |
#expenses ⇒ Merge::Accounting::ExpensesClient (readonly)
79 80 81 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 79 def expenses @expenses end |
#field_mapping ⇒ Merge::Accounting::FieldMappingClient (readonly)
81 82 83 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 81 def field_mapping @field_mapping end |
#force_resync ⇒ Merge::Accounting::ForceResyncClient (readonly)
111 112 113 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 111 def force_resync @force_resync end |
#generate_key ⇒ Merge::Accounting::GenerateKeyClient (readonly)
83 84 85 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 83 def generate_key @generate_key end |
#income_statements ⇒ Merge::Accounting::IncomeStatementsClient (readonly)
85 86 87 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 85 def income_statements @income_statements end |
#invoices ⇒ Merge::Accounting::InvoicesClient (readonly)
87 88 89 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 87 def invoices @invoices end |
#issues ⇒ Merge::Accounting::IssuesClient (readonly)
89 90 91 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 89 def issues @issues end |
#items ⇒ Merge::Accounting::ItemsClient (readonly)
91 92 93 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 91 def items @items end |
#journal_entries ⇒ Merge::Accounting::JournalEntriesClient (readonly)
93 94 95 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 93 def journal_entries @journal_entries end |
#link_token ⇒ Merge::Accounting::LinkTokenClient (readonly)
95 96 97 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 95 def link_token @link_token end |
#linked_accounts ⇒ Merge::Accounting::LinkedAccountsClient (readonly)
97 98 99 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 97 def linked_accounts @linked_accounts end |
#passthrough ⇒ Merge::Accounting::PassthroughClient (readonly)
99 100 101 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 99 def passthrough @passthrough end |
#payments ⇒ Merge::Accounting::PaymentsClient (readonly)
101 102 103 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 101 def payments @payments end |
#phone_numbers ⇒ Merge::Accounting::PhoneNumbersClient (readonly)
103 104 105 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 103 def phone_numbers @phone_numbers end |
#purchase_orders ⇒ Merge::Accounting::PurchaseOrdersClient (readonly)
105 106 107 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 105 def purchase_orders @purchase_orders end |
#regenerate_key ⇒ Merge::Accounting::RegenerateKeyClient (readonly)
107 108 109 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 107 def regenerate_key @regenerate_key end |
#scopes ⇒ Merge::Accounting::ScopesClient (readonly)
75 76 77 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 75 def scopes @scopes end |
#sync_status ⇒ Merge::Accounting::SyncStatusClient (readonly)
109 110 111 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 109 def sync_status @sync_status end |
#tax_rates ⇒ Merge::Accounting::TaxRatesClient (readonly)
113 114 115 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 113 def tax_rates @tax_rates end |
#tracking_categories ⇒ Merge::Accounting::TrackingCategoriesClient (readonly)
115 116 117 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 115 def tracking_categories @tracking_categories end |
#transactions ⇒ Merge::Accounting::TransactionsClient (readonly)
117 118 119 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 117 def transactions @transactions end |
#vendor_credits ⇒ Merge::Accounting::VendorCreditsClient (readonly)
119 120 121 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 119 def vendor_credits @vendor_credits end |
#webhook_receivers ⇒ Merge::Accounting::WebhookReceiversClient (readonly)
121 122 123 |
# File 'lib/merge_ruby_client/accounting/client.rb', line 121 def webhook_receivers @webhook_receivers end |