Class: Recurly::Resources::BusinessEntity

Inherits:
Recurly::Resource show all
Defined in:
lib/recurly/resources/business_entity.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 The entity code of the business entity.

Returns:

  • (String)

    The entity code of the business entity.



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

define_attribute :code, String

#created_atDateTime

Returns Created at.

Returns:

  • (DateTime)

    Created at



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

define_attribute :created_at, DateTime

#default_registration_numberString

Returns Registration number for the customer used on the invoice.

Returns:

  • (String)

    Registration number for the customer used on the invoice.



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

define_attribute :default_registration_number, String

#default_vat_numberString

Returns VAT number for the customer used on the invoice.

Returns:

  • (String)

    VAT number for the customer used on the invoice.



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

define_attribute :default_vat_number, String

#idString

Returns Business entity ID.

Returns:

  • (String)

    Business entity ID



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

define_attribute :id, String

#invoice_display_addressAddress

Returns Address information for the business entity that will appear on the invoice.

Returns:

  • (Address)

    Address information for the business entity that will appear on the invoice.



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

define_attribute :invoice_display_address, :Address

#nameString

Returns This name describes your business entity and will appear on the invoice.

Returns:

  • (String)

    This name describes your business entity and will appear on the invoice.



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

define_attribute :name, String

#objectString

Returns Object type.

Returns:

  • (String)

    Object type



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

define_attribute :object, String

#subscriber_location_countriesArray[String]

Returns List of countries for which the business entity will be used.

Returns:

  • (Array[String])

    List of countries for which the business entity will be used.



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

define_attribute :subscriber_location_countries, Array, { :item_type => String }

#tax_addressAddress

Returns Address information for the business entity that will be used for calculating taxes.

Returns:

  • (Address)

    Address information for the business entity that will be used for calculating taxes.



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

define_attribute :tax_address, :Address

#updated_atDateTime

Returns Last updated at.

Returns:

  • (DateTime)

    Last updated at



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

define_attribute :updated_at, DateTime