Sha256: 7304a05141d0e29ae161fd07a0ad8b915f1c660640c42b530e497218b36c1394
Contents?: true
Size: 1.02 KB
Versions: 22
Compression:
Stored size: 1.02 KB
Contents
require_relative '../resource' module Tickethub class Supplier::Payment < Resource path '/supplier/payments' require_relative 'charge' require_relative 'refund' require_relative 'payment/cash' require_relative 'payment/credit' require_relative 'payment/direct' require_relative 'payment/stripe' require_relative 'payment/paypal' require_relative 'payment/handpoint' require_relative 'payment/complimentary' require_relative 'partner' require_relative 'order' require_relative 'user' association :order, Supplier::Order association :user, Supplier::User association :partner, Supplier::Partner collection :refunds, Supplier::Refund collection :charges, Supplier::Charge attribute :balance, type: :money attribute :amount, type: :money attribute :refunded, type: :money attribute :refunded_at, type: :datetime attribute :confirmed_at, type: :datetime attribute :created_at, type: :datetime attribute :updated_at, type: :datetime end end
Version data entries
22 entries across 22 versions & 1 rubygems