```ruby
module Spree
  class Konbini < Spree::Base
    STORES = %i(lawson family-mart sunkus circle-k ministop daily-yamazaki seven-eleven)

    belongs_to :payment_method
    belongs_to :user, class_name: Spree.user_class, foreign_key: 'user_id'
    has_many :payments, as: :source

    validates :convenience, presence: true

    def actions
      %w{capture void}
    end

    def can_capture?(payment)
      return false unless ['checkout', 'pending'].include?(payment.state)
      payment.source.expires_at && (payment.source.expires_at > DateTime.current)
    end

    def can_void?(payment)
      payment.state != 'void'
    end

    def instruction_partial_path
      "spree/orders/konbini"
    end
  end
end
```

Add missing method on Spree::Konbini
user
```ruby
module Spree
  class Konbini < Spree::Base
    STORES = %i(lawson family-mart sunkus circle-k ministop daily-yamazaki seven-eleven)

    belongs_to :payment_method
    belongs_to :user, class_name: Spree.user_class, foreign_key: 'user_id'
    has_many :payments, as: :source

    validates :convenience, presence: true

    def actions
      %w{capture void}
    end

    def can_capture?(payment)
      return false unless ['checkout', 'pending'].include?(payment.state)
      payment.source.expires_at && (payment.source.expires_at > DateTime.current)
    end

    def can_void?(payment)
      payment.state != 'void'
    end

    def instruction_partial_path
      "spree/orders/konbini"
    end

    def imported
      false
    end
  end
end
```
assistant