require_relative '../payment' module Tickethub class Supplier::Payment::Card < Supplier::Payment polymorphic 'card' require_relative '../card' require_relative '../dispute' require_relative '../../address' require_relative '../charge/gateway' require_relative '../charge/service' association :dispute, Supplier::Dispute association :card, Supplier::Card association :address, Tickethub::Address association :gateway_charge, Supplier::Charge::Gateway association :service_charge, Supplier::Charge::Service attribute :charges, type: :money end end