Sha256: a24ada9bccffd031ae8bd91d35fa6f2d446d22162a9b0d8f69fa6670a91ca33a
Contents?: true
Size: 742 Bytes
Versions: 5
Compression:
Stored size: 742 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 :currency, type: :currency 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
5 entries across 5 versions & 1 rubygems