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_liability_gl_account_id ⇒ String
The ID of a general ledger account.
-
#default_registration_number ⇒ String
Registration number for the customer used on the invoice.
-
#default_revenue_gl_account_id ⇒ String
The ID of a general ledger account.
-
#default_vat_number ⇒ String
VAT number for the customer used on the invoice.
-
#destination_tax_address_source ⇒ String
The source of the address that will be used as the destinaion in determining taxes.
-
#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.
-
#origin_tax_address_source ⇒ String
The source of the address that will be used as the origin in determining taxes.
-
#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_liability_gl_account_id ⇒ String
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.
19 |
# File 'lib/recurly/resources/business_entity.rb', line 19 define_attribute :default_liability_gl_account_id, String |
#default_registration_number ⇒ String
Returns Registration number for the customer used on the invoice.
23 |
# File 'lib/recurly/resources/business_entity.rb', line 23 define_attribute :default_registration_number, String |
#default_revenue_gl_account_id ⇒ String
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.
27 |
# File 'lib/recurly/resources/business_entity.rb', line 27 define_attribute :default_revenue_gl_account_id, String |
#default_vat_number ⇒ String
Returns VAT number for the customer used on the invoice.
31 |
# File 'lib/recurly/resources/business_entity.rb', line 31 define_attribute :default_vat_number, String |
#destination_tax_address_source ⇒ String
Returns The source of the address that will be used as the destinaion in determining taxes. Available only when the site is on an Elite plan. A value of “destination” refers to the “Customer tax address”. A value of “origin” refers to the “Business entity tax address”.
35 |
# File 'lib/recurly/resources/business_entity.rb', line 35 define_attribute :destination_tax_address_source, String |
#id ⇒ String
Returns Business entity ID.
39 |
# File 'lib/recurly/resources/business_entity.rb', line 39 define_attribute :id, String |
#invoice_display_address ⇒ Address
Returns Address information for the business entity that will appear on the invoice.
43 |
# File 'lib/recurly/resources/business_entity.rb', line 43 define_attribute :invoice_display_address, :Address |
#name ⇒ String
Returns This name describes your business entity and will appear on the invoice.
47 |
# File 'lib/recurly/resources/business_entity.rb', line 47 define_attribute :name, String |
#object ⇒ String
Returns Object type.
51 |
# File 'lib/recurly/resources/business_entity.rb', line 51 define_attribute :object, String |
#origin_tax_address_source ⇒ String
Returns The source of the address that will be used as the origin in determining taxes. Available only when the site is on an Elite plan. A value of “origin” refers to the “Business entity tax address”. A value of “destination” refers to the “Customer tax address”.
55 |
# File 'lib/recurly/resources/business_entity.rb', line 55 define_attribute :origin_tax_address_source, String |
#subscriber_location_countries ⇒ Array[String]
Returns List of countries for which the business entity will be used.
59 |
# File 'lib/recurly/resources/business_entity.rb', line 59 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.
63 |
# File 'lib/recurly/resources/business_entity.rb', line 63 define_attribute :tax_address, :Address |
#updated_at ⇒ DateTime
Returns Last updated at.
67 |
# File 'lib/recurly/resources/business_entity.rb', line 67 define_attribute :updated_at, DateTime |