Sha256: 7ceaea3a4bc085a1501613f001f3a29129e3779a14a59bf7f1c7fec87e0c260c
Contents?: true
Size: 805 Bytes
Versions: 12
Compression:
Stored size: 805 Bytes
Contents
# frozen_string_literal: true module ChartMogul module LineItems class OneTime < ChartMogul::Object readonly_attr :uuid writeable_attr :type, default: 'one_time' writeable_attr :amount_in_cents writeable_attr :description writeable_attr :quantity writeable_attr :discount_amount_in_cents writeable_attr :discount_code writeable_attr :tax_amount_in_cents writeable_attr :transaction_fees_in_cents writeable_attr :external_id writeable_attr :transaction_fees_currency writeable_attr :discount_description writeable_attr :event_order writeable_attr :plan_uuid writeable_attr :invoice_uuid def initialize(attributes = {}) super(attributes) @type = 'one_time' end end end end
Version data entries
12 entries across 12 versions & 1 rubygems