Sha256: 7d35aa09a152c020e11def3fde73f5e7b7172af234cc69754264add5d96bc216
Contents?: true
Size: 617 Bytes
Versions: 2
Compression:
Stored size: 617 Bytes
Contents
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 :invoice_uuid def initialize(attributes = {}) super(attributes) @type = 'one_time' end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chartmogul-ruby-1.1.8 | lib/chartmogul/line_items/one_time.rb |
chartmogul-ruby-1.1.7 | lib/chartmogul/line_items/one_time.rb |