# frozen_string_literal: true # Payment # total: float class Payment < ApplicationRecord has_one :order belongs_to :card end