Sha256: 423b680074a45a5bce490f5a3b169d18ed7e2655e172f4990ca7dbf294204684
Contents?: true
Size: 1019 Bytes
Versions: 2
Compression:
Stored size: 1019 Bytes
Contents
require_relative '../resource' module Tickethub class Reseller::Booking < Resource path '/reseller/bookings' require_relative 'booking/ticket' require_relative 'booking/voucher' require_relative 'order' require_relative 'answer' require_relative 'product' require_relative 'variant' require_relative 'purchase' require_relative 'fee' require_relative 'tier' collection :answers, Reseller::Answer collection :purchases, Reseller::Purchase collection :fees, Reseller::Fee collection :tiers, Reseller::Tier association :order, Reseller::Order association :product, Reseller::Product association :variant, Reseller::Variant attribute :amount, type: :money attribute :tax, type: :money attribute :total, type: :money attribute :charges, type: :money attribute :currency, type: :currency attribute :created_at, type: :datetime attribute :updated_at, type: :datetime attribute :cancelled_at, type: :datetime end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tickethub-0.3.37 | lib/tickethub/reseller/booking.rb |
tickethub-0.3.36 | lib/tickethub/reseller/booking.rb |