app/helpers/spree/api/api_helpers.rb in spree_api-2.2.14 vs app/helpers/spree/api/api_helpers.rb in spree_api-2.3.0

- old
+ new

@@ -22,10 +22,11 @@ :state_attributes, :adjustment_attributes, :inventory_unit_attributes, :return_authorization_attributes, :creditcard_attributes, + :payment_source_attributes, :user_attributes, :property_attributes, :stock_location_attributes, :stock_movement_attributes, :stock_item_attributes @@ -82,11 +83,11 @@ @@option_type_attributes = [:id, :name, :presentation, :position] @@payment_attributes = [ :id, :source_type, :source_id, :amount, :display_amount, - :payment_method_id, :state, :avs_response, :created_at, + :payment_method_id, :response_code, :state, :avs_response, :created_at, :updated_at ] @@payment_method_attributes = [:id, :name, :description] @@ -126,9 +127,13 @@ ] @@creditcard_attributes = [ :id, :month, :year, :cc_type, :last_digits, :name, :gateway_customer_profile_id, :gateway_payment_profile_id + ] + + @@payment_source_attributes = [ + :id, :month, :year, :cc_type, :last_digits, :name ] @@user_attributes = [:id, :email, :created_at, :updated_at] @@property_attributes = [:id, :name, :presentation]