module Spree
  class Fulfillment::Configuration < Spree::Preferences::Configuration
    preference :mws_marketplace_id, :string
    preference :mws_merchant_id, :string
    preference :aws_access_key_id, :string
    preference :aws_secret_access_key, :string
    preference :amazon_stock_location_id, :integer
    preference :load_most_recent_reports, :boolean, default: false

    def amazon_provider
      @amazon_provider ||= Providers::Amazon::Provider.new
    end
  end
end
module Spree
  class Fulfillment::Configuration < Spree::Preferences::Configuration
    preference :mws_marketplace_id, :string
    preference :mws_merchant_id, :string
    preference :aws_access_key_id, :string
    preference :aws_secret_access_key, :string
    preference :amazon_stock_location_id, :integer
    preference :load_most_recent_reports, :boolean, default: false

    def amazon_provider
      @amazon_provider ||= ::Spree::Fulfillment::Providers::Amazon::Provider.new
    end
  end
end
Fix lazy loading of amazon provider
Fix lazy loading of amazon provider
