Sha256: 1c85aa6a2598514402d7f64e39726ec40452b2c4a22405533b2de9d90bd36a99

Contents?: true

Size: 1.62 KB

Versions: 43

Compression:

Stored size: 1.62 KB

Contents

class Centaman::Object::PurchasedTicket < Centaman::Object
  def attributes
    [
      Centaman::Attribute.new(
        centaman_key: "ItemDescription",
        app_key: :item_description,
        type: :string
      ),
      Centaman::Attribute.new(
        centaman_key: "ItemDescription",
        app_key: :display_age_group,
        type: :display_age_group
      ),
      Centaman::Attribute.new(
        centaman_key: "ItemCode",
        app_key: :item_code,
        type: :string
      ),
      Centaman::Attribute.new(
        centaman_key: "Quantity",
        app_key: :quantity,
        type: :integer
      ),
      Centaman::Attribute.new(
        centaman_key: "ItemCost",
        app_key: :item_cost,
        type: :float
      ),
      Centaman::Attribute.new(
        centaman_key: "TotalPaid",
        app_key: :total_paid,
        type: :float
      ),
      Centaman::Attribute.new(
        centaman_key: "TaxPaid",
        app_key: :tax_paid,
        type: :float
      ),
      Centaman::Attribute.new(
        centaman_key: "Barcode",
        app_key: :barcode,
        type: :string
      ),
      Centaman::Attribute.new(
        centaman_key: "AttendeeName",
        app_key: :attendee_name,
        type: :string
      ),
      Centaman::Attribute.new(
        centaman_key: "IsExtraItem",
        app_key: :is_extra_item,
        type: :boolean
      ),
      Centaman::Attribute.new(
        centaman_key: "CouponCode",
        app_key: :coupon_code,
        type: :string
      ),
      Centaman::Attribute.new(
        centaman_key: "CostRateId",
        app_key: :cost_rate_id,
        type: :string
      ),
    ]
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
centaman-6.0.3 lib/centaman/object/purchased_ticket.rb
centaman-6.0.2 lib/centaman/object/purchased_ticket.rb
centaman-6.0.1 lib/centaman/object/purchased_ticket.rb
centaman-6.0.0 lib/centaman/object/purchased_ticket.rb
centaman-5.0.8 lib/centaman/object/purchased_ticket.rb
centaman-5.0.7 lib/centaman/object/purchased_ticket.rb
centaman-5.0.6 lib/centaman/object/purchased_ticket.rb
centaman-5.0.5 lib/centaman/object/purchased_ticket.rb
centaman-5.0.4 lib/centaman/object/purchased_ticket.rb
centaman-5.0.3 lib/centaman/object/purchased_ticket.rb
centaman-5.0.2 lib/centaman/object/purchased_ticket.rb
centaman-5.0.1 lib/centaman/object/purchased_ticket.rb
centaman-5.0.0 lib/centaman/object/purchased_ticket.rb
centaman-4.0.5 lib/centaman/object/purchased_ticket.rb
centaman-4.0.4 lib/centaman/object/purchased_ticket.rb
centaman-4.0.3 lib/centaman/object/purchased_ticket.rb
centaman-4.0.2 lib/centaman/object/purchased_ticket.rb
centaman-4.0.1 lib/centaman/object/purchased_ticket.rb
centaman-3.1.2 lib/centaman/object/purchased_ticket.rb
centaman-3.1.1 lib/centaman/object/purchased_ticket.rb