Sha256: 89b4077cf86443263165edf421ee0b927a8598c825fa40870e68097fbc1eb31d
Contents?: true
Size: 929 Bytes
Versions: 1
Compression:
Stored size: 929 Bytes
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 'order' require_relative 'user' association :order, Supplier::Order association :user, Supplier::User collection :refunds, Supplier::Refund 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tickethub-0.3.41 | lib/tickethub/supplier/payment.rb |