Sha256: bba1e5b5ade334a55333bbb5c14962a661870ba481af58cc603e2fdbec75e84a
Contents?: true
Size: 1.02 KB
Versions: 10
Compression:
Stored size: 1.02 KB
Contents
require_relative '../resource' module Tickethub class Channel::Booking < Resource path '/channel/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 'discount' require_relative 'fee' require_relative 'tier' collection :answers, Channel::Answer collection :purchases, Channel::Purchase collection :fees, Channel::Fee collection :tiers, Channel::Tier collection :discounts, Channel::Discount association :order, Channel::Order association :product, Channel::Product association :variant, Channel::Variant attribute :amount, type: :money attribute :discount, type: :money attribute :tax, type: :money attribute :total, type: :money attribute :created_at, type: :datetime attribute :updated_at, type: :datetime attribute :cancelled_at, type: :datetime end end
Version data entries
10 entries across 10 versions & 1 rubygems