Sha256: 55cd629f46a5228185909ae66ea5708cdd22b3a31b48d31a2966419a87a24b45
Contents?: true
Size: 701 Bytes
Versions: 26
Compression:
Stored size: 701 Bytes
Contents
require_relative '../resource' module Tickethub class Reseller::Payment < Resource path '/reseller/payments' require_relative 'refund' require_relative 'payment/credit' require_relative 'payment/stripe' require_relative 'order' require_relative 'user' association :order, Reseller::Order association :user, Reseller::User collection :refunds, Reseller::Refund attribute :amount, type: :money attribute :refunded, type: :money attribute :balance, 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
26 entries across 26 versions & 1 rubygems