Sha256: 434d25c12d626d0e7d7f8a67cbc95ad17e4833f7df50f988629d8af0135c3ec6

Contents?: true

Size: 1008 Bytes

Versions: 1

Compression:

Stored size: 1008 Bytes

Contents

# This file is automatically created by Recurly's OpenAPI generation process
# and thus any edits you make by hand will be lost. If you wish to make a
# change to this file, please create a Github issue explaining the changes you
# need and we will usher them to the appropriate places.
module Recurly
  module Resources
    class InvoiceMini < Resource

      # @!attribute id
      #   @return [String] Invoice ID
      define_attribute :id, String

      # @!attribute number
      #   @return [String] Invoice number
      define_attribute :number, String

      # @!attribute object
      #   @return [String] Object type
      define_attribute :object, String

      # @!attribute state
      #   @return [String] Invoice state
      define_attribute :state, String, { :enum => ["pending", "processing", "past_due", "paid", "failed"] }

      # @!attribute type
      #   @return [String] Invoice type
      define_attribute :type, String, { :enum => ["charge", "credit", "legacy"] }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
recurly-3.0.0.beta.4 lib/recurly/resources/invoice_mini.rb