Class: Recurly::Resources::GeneralLedgerAccount

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

#account_typeString

Returns:

  • (String)


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

define_attribute :account_type, String

#codeString

Returns Unique code to identify the ledger account. Each code must start with a letter or number. The following special characters are allowed: `-_.,:`.

Returns:

  • (String)

    Unique code to identify the ledger account. Each code must start with a letter or number. The following special characters are allowed: `-_.,:`



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

define_attribute :code, String

#created_atDateTime

Returns Created at.

Returns:

  • (DateTime)

    Created at



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

define_attribute :created_at, DateTime

#descriptionString

Returns Optional description.

Returns:

  • (String)

    Optional description.



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

define_attribute :description, String

#idString

Returns The ID of a general ledger account. General ledger accounts are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.

Returns:

  • (String)

    The ID of a general ledger account. General ledger accounts are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.



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

define_attribute :id, String

#objectString

Returns Object type.

Returns:

  • (String)

    Object type



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

define_attribute :object, String

#updated_atDateTime

Returns Last updated at.

Returns:

  • (DateTime)

    Last updated at



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

define_attribute :updated_at, DateTime