Module: SuperGood::SolidusTaxjar
- Defined in:
- lib/super_good/solidus_taxjar.rb,
lib/super_good/solidus_taxjar/api.rb,
lib/super_good/solidus_taxjar/version.rb,
lib/super_good/solidus_taxjar/addresses.rb,
lib/super_good/solidus_taxjar/reporting.rb,
lib/super_good/solidus_taxjar/api_params.rb,
lib/super_good/solidus_taxjar/cached_api.rb,
lib/super_good/solidus_taxjar/reportable.rb,
lib/super_good/solidus_taxjar/tax_calculator.rb,
lib/super_good/solidus_taxjar/calculator_helper.rb,
lib/super_good/solidus_taxjar/discount_calculator.rb,
lib/super_good/solidus_taxjar/tax_rate_calculator.rb,
app/models/super_good/solidus_taxjar/configuration.rb,
lib/super_good/solidus_taxjar/backfill_transactions.rb,
app/models/super_good/solidus_taxjar/order_transaction.rb,
lib/super_good/solidus_taxjar/transaction_id_generator.rb,
app/models/super_good/solidus_taxjar/refund_transaction.rb,
lib/super_good/solidus_taxjar/overrides/request_override.rb,
lib/super_good/solidus_taxjar/spree/reporting_subscriber.rb,
app/jobs/super_good/solidus_taxjar/report_transaction_job.rb,
app/jobs/super_good/solidus_taxjar/replace_transaction_job.rb,
app/overrides/super_good/solidus_taxjar/spree/order_override.rb,
lib/super_good/solidus_taxjar/spree/legacy_reporting_subscriber.rb,
lib/generators/super_good/solidus_taxjar/install/install_generator.rb,
app/jobs/super_good/solidus_taxjar/backfill_transaction_sync_batch_job.rb
Defined Under Namespace
Modules: ApiParams, CalculatorHelper, Generators, Reportable, RequestOverride, Spree Classes: Addresses, Api, BackfillTransactionSyncBatchJob, BackfillTransactions, CachedApi, Configuration, DiscountCalculator, OrderTransaction, RefundTransaction, ReplaceTransactionJob, ReportTransactionJob, Reporting, TaxCalculator, TaxRateCalculator, TransactionIdGenerator, TransactionSyncBatch, TransactionSyncLog
Constant Summary collapse
- VERSION =
"1.0.0"
Class Attribute Summary collapse
-
.cache_duration ⇒ Object
Returns the value of attribute cache_duration.
-
.cache_key ⇒ Object
Returns the value of attribute cache_key.
-
.custom_order_params ⇒ Object
Returns the value of attribute custom_order_params.
-
.discount_calculator ⇒ Object
Returns the value of attribute discount_calculator.
-
.exception_handler ⇒ Object
Returns the value of attribute exception_handler.
-
.job_queue ⇒ Object
Returns the value of attribute job_queue.
-
.line_item_tax_label_maker ⇒ Object
Returns the value of attribute line_item_tax_label_maker.
- .logger ⇒ Object
-
.logging_enabled ⇒ Object
Returns the value of attribute logging_enabled.
-
.shipping_calculator ⇒ Object
Returns the value of attribute shipping_calculator.
-
.shipping_tax_label_maker ⇒ Object
Returns the value of attribute shipping_tax_label_maker.
-
.taxable_address_check ⇒ Object
Returns the value of attribute taxable_address_check.
-
.taxable_order_check ⇒ Object
Returns the value of attribute taxable_order_check.
-
.test_mode ⇒ Object
Returns the value of attribute test_mode.
Class Method Summary collapse
Class Attribute Details
.cache_duration ⇒ Object
Returns the value of attribute cache_duration.
24 25 26 |
# File 'lib/super_good/solidus_taxjar.rb', line 24 def cache_duration @cache_duration end |
.cache_key ⇒ Object
Returns the value of attribute cache_key.
25 26 27 |
# File 'lib/super_good/solidus_taxjar.rb', line 25 def cache_key @cache_key end |
.custom_order_params ⇒ Object
Returns the value of attribute custom_order_params.
26 27 28 |
# File 'lib/super_good/solidus_taxjar.rb', line 26 def custom_order_params @custom_order_params end |
.discount_calculator ⇒ Object
Returns the value of attribute discount_calculator.
27 28 29 |
# File 'lib/super_good/solidus_taxjar.rb', line 27 def discount_calculator @discount_calculator end |
.exception_handler ⇒ Object
Returns the value of attribute exception_handler.
28 29 30 |
# File 'lib/super_good/solidus_taxjar.rb', line 28 def exception_handler @exception_handler end |
.job_queue ⇒ Object
Returns the value of attribute job_queue.
29 30 31 |
# File 'lib/super_good/solidus_taxjar.rb', line 29 def job_queue @job_queue end |
.line_item_tax_label_maker ⇒ Object
Returns the value of attribute line_item_tax_label_maker.
30 31 32 |
# File 'lib/super_good/solidus_taxjar.rb', line 30 def line_item_tax_label_maker @line_item_tax_label_maker end |
.logger ⇒ Object
55 56 57 |
# File 'lib/super_good/solidus_taxjar.rb', line 55 def logger @logger || Rails.logger end |
.logging_enabled ⇒ Object
Returns the value of attribute logging_enabled.
31 32 33 |
# File 'lib/super_good/solidus_taxjar.rb', line 31 def logging_enabled @logging_enabled end |
.shipping_calculator ⇒ Object
Returns the value of attribute shipping_calculator.
32 33 34 |
# File 'lib/super_good/solidus_taxjar.rb', line 32 def shipping_calculator @shipping_calculator end |
.shipping_tax_label_maker ⇒ Object
Returns the value of attribute shipping_tax_label_maker.
33 34 35 |
# File 'lib/super_good/solidus_taxjar.rb', line 33 def shipping_tax_label_maker @shipping_tax_label_maker end |
.taxable_address_check ⇒ Object
Returns the value of attribute taxable_address_check.
34 35 36 |
# File 'lib/super_good/solidus_taxjar.rb', line 34 def taxable_address_check @taxable_address_check end |
.taxable_order_check ⇒ Object
Returns the value of attribute taxable_order_check.
35 36 37 |
# File 'lib/super_good/solidus_taxjar.rb', line 35 def taxable_order_check @taxable_order_check end |
.test_mode ⇒ Object
Returns the value of attribute test_mode.
36 37 38 |
# File 'lib/super_good/solidus_taxjar.rb', line 36 def test_mode @test_mode end |
Class Method Details
.api ⇒ Object
43 44 45 |
# File 'lib/super_good/solidus_taxjar.rb', line 43 def api ::SuperGood::SolidusTaxjar::Api.new end |
.configuration ⇒ Object
39 40 41 |
# File 'lib/super_good/solidus_taxjar.rb', line 39 def configuration ::SuperGood::SolidusTaxjar::Configuration.default end |
.reporting ⇒ Object
51 52 53 |
# File 'lib/super_good/solidus_taxjar.rb', line 51 def reporting ::SuperGood::SolidusTaxjar::Reporting.new end |
.table_name_prefix ⇒ Object
47 48 49 |
# File 'lib/super_good/solidus_taxjar.rb', line 47 def table_name_prefix "solidus_taxjar_" end |