app/models/solidus_subscriptions/line_item.rb
# Get a placeholder line item for calculating the values of future
# subscription orders. It is frozen and cannot be saved
Get a placeholder line item for calculating the values of future
subscription orders. It is frozen and cannot be saved
Get a placeholder line item for calculating the values of future subscription orders . It is frozen and cannot be saved
def dummy_line_item
      li = LineItemBuilder.new([self]).spree_line_items.first
      return unless li
      li.order = dummy_order
      li.validate
      li.freeze
    end
def dummy_line_item li = LineItemBuilder . new ( [ self ] ) . spree_line_items . first return unless li li . order = dummy_order li . validate li . freeze end
Get a placeholder line item for calculating the values of future
subscription orders.
Get a placeholder line item for calculating the values of future subscription orders .