Sha256: ec46edfe2805ed4b9cc4bf0c03fccc05fc82652ac6dcf302ec113a71aba254cb
Contents?: true
Size: 592 Bytes
Versions: 3
Compression:
Stored size: 592 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 :external_id writeable_attr :invoice_uuid def initialize(attributes = {}) super(attributes) @type = 'one_time' end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
chartmogul-ruby-1.1.5 | lib/chartmogul/line_items/one_time.rb |
chartmogul-ruby-1.1.4 | lib/chartmogul/line_items/one_time.rb |
chartmogul-ruby-1.1.2 | lib/chartmogul/line_items/one_time.rb |