Class: Recurly::Resources::ItemMini

Inherits:
Recurly::Resource show all
Defined in:
lib/recurly/resources/item_mini.rb

Instance Attribute Summary collapse

Attributes inherited from Recurly::Resource

#attributes

Method Summary

Methods inherited from Recurly::Resource

#==, #get_response, #inspect, #requires_client?, #to_json, #to_s

Methods included from Schema::SchemaFactory

#schema

Methods included from Schema::ResourceCaster

#cast

Methods included from Schema::SchemaValidator

#get_did_you_mean, #validate!, #validate_attribute!

Instance Attribute Details

#codeString

Returns Unique code to identify the item.

Returns:

  • (String)

    Unique code to identify the item.



11
# File 'lib/recurly/resources/item_mini.rb', line 11

define_attribute :code, String

#descriptionString

Returns Optional, description.

Returns:

  • (String)

    Optional, description.



15
# File 'lib/recurly/resources/item_mini.rb', line 15

define_attribute :description, String

#idString

Returns Item ID.

Returns:

  • (String)

    Item ID



19
# File 'lib/recurly/resources/item_mini.rb', line 19

define_attribute :id, String

#nameString

Returns This name describes your item and will appear on the invoice when it's purchased on a one time basis.

Returns:

  • (String)

    This name describes your item and will appear on the invoice when it's purchased on a one time basis.



23
# File 'lib/recurly/resources/item_mini.rb', line 23

define_attribute :name, String

#objectString

Returns Object type.

Returns:

  • (String)

    Object type



27
# File 'lib/recurly/resources/item_mini.rb', line 27

define_attribute :object, String

#stateString

Returns The current state of the item.

Returns:

  • (String)

    The current state of the item.



31
# File 'lib/recurly/resources/item_mini.rb', line 31

define_attribute :state, String