Sha256: ab6e9b13d1c586cf7efd1a090ad383df802d77ee9e597a39c2b59e2e8c781b21
Contents?: true
Size: 646 Bytes
Versions: 17
Compression:
Stored size: 646 Bytes
Contents
module Spree module Tax # Simple object to pass back tax data from a calculator. # # Will be used by {Spree::OrderTaxation} to create or update tax # adjustments on an order. # # @attr_reader [Integer] order_id the {Spree::Order} these taxes apply to # @attr_reader [Array<Spree::Tax::ItemTax>] line_item_taxes an array of # tax data for order's line items # @attr_reader [Array<Spree::Tax::ItemTax>] shipment_taxes an array of # tax data for the order's shipments class OrderTax include ActiveModel::Model attr_accessor :order_id, :line_item_taxes, :shipment_taxes end end end
Version data entries
17 entries across 17 versions & 1 rubygems