Class: Api::Taxjar::Transaction
- Inherits:
-
Data
- Object
- Data
- Api::Taxjar::Transaction
- Defined in:
- app/services/api/taxjar/transaction.rb
Overview
An order/refund transaction returned by the TaxJar transactions
endpoints. Only sales_tax is read by the submit services.
Instance Attribute Summary collapse
-
#sales_tax ⇒ Object
readonly
Returns the value of attribute sales_tax.
Instance Method Summary collapse
-
#initialize(sales_tax: nil) ⇒ Transaction
constructor
A new instance of Transaction.
Constructor Details
#initialize(sales_tax: nil) ⇒ Transaction
Returns a new instance of Transaction.
8 |
# File 'app/services/api/taxjar/transaction.rb', line 8 def initialize(sales_tax: nil) = super |
Instance Attribute Details
#sales_tax ⇒ Object (readonly)
Returns the value of attribute sales_tax
7 8 9 |
# File 'app/services/api/taxjar/transaction.rb', line 7 def sales_tax @sales_tax end |