Class: Recurly::Resources::ExternalInvoice

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

#accountAccountMini

Returns Account mini details.

Returns:



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

define_attribute :account, :AccountMini

#created_atDateTime

Returns When the external invoice was created in Recurly.

Returns:

  • (DateTime)

    When the external invoice was created in Recurly.



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

define_attribute :created_at, DateTime

#currencyString

Returns 3-letter ISO 4217 currency code.

Returns:

  • (String)

    3-letter ISO 4217 currency code.



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

define_attribute :currency, String

#external_idString

Returns An identifier which associates the external invoice to a corresponding object in an external platform.

Returns:

  • (String)

    An identifier which associates the external invoice to a corresponding object in an external platform.



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

define_attribute :external_id, String

#external_subscriptionExternalSubscription

Returns Subscription from an external resource such as Apple App Store or Google Play Store.

Returns:

  • (ExternalSubscription)

    Subscription from an external resource such as Apple App Store or Google Play Store.



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

define_attribute :external_subscription, :ExternalSubscription

#idString

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

Returns:

  • (String)

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



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

define_attribute :id, String

#line_itemsArray[ExternalCharge]

Returns:



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

define_attribute :line_items, Array, { :item_type => :ExternalCharge }

#objectString

Returns Object type.

Returns:

  • (String)

    Object type



39
# File 'lib/recurly/resources/external_invoice.rb', line 39

define_attribute :object, String

#purchased_atDateTime

Returns When the invoice was created in the external platform.

Returns:

  • (DateTime)

    When the invoice was created in the external platform.



43
# File 'lib/recurly/resources/external_invoice.rb', line 43

define_attribute :purchased_at, DateTime

#stateString

Returns:

  • (String)


47
# File 'lib/recurly/resources/external_invoice.rb', line 47

define_attribute :state, String

#totalString

Returns Total.

Returns:

  • (String)

    Total



51
# File 'lib/recurly/resources/external_invoice.rb', line 51

define_attribute :total, String

#updated_atDateTime

Returns When the external invoice was updated in Recurly.

Returns:

  • (DateTime)

    When the external invoice was updated in Recurly.



55
# File 'lib/recurly/resources/external_invoice.rb', line 55

define_attribute :updated_at, DateTime