Class: Recurly::Resources::ExternalProduct

Inherits:
Recurly::Resource show all
Defined in:
lib/recurly/resources/external_product.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

#created_atDateTime

Returns When the external product was created in Recurly.

Returns:

  • (DateTime)

    When the external product was created in Recurly.



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

define_attribute :created_at, DateTime

#external_product_referencesArray[ExternalProductReferenceMini]

Returns List of external product references of the external product.

Returns:



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

define_attribute :external_product_references, Array, { :item_type => :ExternalProductReferenceMini }

#idString

Returns System-generated unique identifier for an external product ID, e.g. `e28zov4fw0v2`.

Returns:

  • (String)

    System-generated unique identifier for an external product ID, e.g. `e28zov4fw0v2`.



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

define_attribute :id, String

#nameString

Returns Name to identify the external product in Recurly.

Returns:

  • (String)

    Name to identify the external product in Recurly.



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

define_attribute :name, String

#objectString

Returns Object type.

Returns:

  • (String)

    Object type



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

define_attribute :object, String

#planPlanMini

Returns Just the important parts.

Returns:

  • (PlanMini)

    Just the important parts.



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

define_attribute :plan, :PlanMini

#updated_atDateTime

Returns When the external product was updated in Recurly.

Returns:

  • (DateTime)

    When the external product was updated in Recurly.



35
# File 'lib/recurly/resources/external_product.rb', line 35

define_attribute :updated_at, DateTime