app/helpers/spree/api/api_helpers.rb in spree_api-2.1.3 vs app/helpers/spree/api/api_helpers.rb in spree_api-2.1.4
- old
+ new
@@ -19,14 +19,12 @@
:return_authorization_attributes,
:address_attributes,
:country_attributes,
:state_attributes,
:adjustment_attributes,
- :taxon_attributes,
:inventory_unit_attributes,
:return_authorization_attributes,
- :adjustment_attributes,
:creditcard_attributes,
:user_attributes,
:property_attributes,
:stock_location_attributes,
:stock_movement_attributes,
@@ -71,11 +69,11 @@
]
@@order_attributes = [
:id, :number, :item_total, :total, :ship_total, :state, :adjustment_total,
:user_id, :created_at, :updated_at, :completed_at, :payment_total,
- :shipment_state, :payment_state, :email, :special_instructions, :channel
+ :shipment_state, :payment_state, :email, :special_instructions, :channel, :tax_total
]
@@line_item_attributes = [:id, :quantity, :price, :variant_id]
@@option_type_attributes = [:id, :name, :presentation, :position]
@@ -91,10 +89,10 @@
@@shipment_attributes = [:id, :tracking, :number, :cost, :shipped_at, :state]
@@taxonomy_attributes = [:id, :name]
@@taxon_attributes = [
- :id, :name, :pretty_name, :permalink, :position, :parent_id,
+ :id, :name, :pretty_name, :permalink, :parent_id,
:taxonomy_id
]
@@inventory_unit_attributes = [
:id, :lock_version, :state, :variant_id, :shipment_id,