Class: Recurly::Resources::BusinessEntity
- Inherits:
-
Recurly::Resource
- Object
- Recurly::Resource
- Recurly::Resources::BusinessEntity
- Defined in:
- lib/recurly/resources/business_entity.rb
Instance Attribute Summary collapse
-
#code ⇒ String
The entity code of the business entity.
-
#created_at ⇒ DateTime
Created at.
-
#default_registration_number ⇒ String
Registration number for the customer used on the invoice.
-
#default_vat_number ⇒ String
VAT number for the customer used on the invoice.
-
#id ⇒ String
Business entity ID.
-
#invoice_display_address ⇒ Address
Address information for the business entity that will appear on the invoice.
-
#name ⇒ String
This name describes your business entity and will appear on the invoice.
-
#object ⇒ String
Object type.
-
#subscriber_location_countries ⇒ Array[String]
List of countries for which the business entity will be used.
-
#tax_address ⇒ Address
Address information for the business entity that will be used for calculating taxes.
-
#updated_at ⇒ DateTime
Last updated at.
Attributes inherited from Recurly::Resource
Method Summary
Methods inherited from Recurly::Resource
#==, #get_response, #inspect, #requires_client?, #to_json, #to_s
Methods included from Schema::SchemaFactory
Methods included from Schema::ResourceCaster
Methods included from Schema::SchemaValidator
#get_did_you_mean, #validate!, #validate_attribute!
Instance Attribute Details
#code ⇒ String
Returns The entity code of the business entity.
11 |
# File 'lib/recurly/resources/business_entity.rb', line 11 define_attribute :code, String |
#created_at ⇒ DateTime
Returns Created at.
15 |
# File 'lib/recurly/resources/business_entity.rb', line 15 define_attribute :created_at, DateTime |
#default_registration_number ⇒ String
Returns 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_number ⇒ String
Returns 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 |
#id ⇒ String
Returns Business entity ID.
27 |
# File 'lib/recurly/resources/business_entity.rb', line 27 define_attribute :id, String |
#invoice_display_address ⇒ Address
Returns 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 |
#name ⇒ String
Returns 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 |
#object ⇒ String
Returns Object type.
39 |
# File 'lib/recurly/resources/business_entity.rb', line 39 define_attribute :object, String |
#subscriber_location_countries ⇒ Array[String]
Returns 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_address ⇒ Address
Returns 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_at ⇒ DateTime
Returns Last updated at.
51 |
# File 'lib/recurly/resources/business_entity.rb', line 51 define_attribute :updated_at, DateTime |