Class: AvalaraSdk::A1099::V2::CreateCompanyRequestSdk
- Inherits:
-
Object
- Object
- AvalaraSdk::A1099::V2::CreateCompanyRequestSdk
- Defined in:
- lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb
Overview
Represents the Request object for the CreateCompany API
Instance Attribute Summary collapse
-
#avalara_version ⇒ Object
Returns the value of attribute avalara_version.
-
#company_create_update_request_model ⇒ Object
Returns the value of attribute company_create_update_request_model.
-
#x_correlation_id ⇒ Object
Returns the value of attribute x_correlation_id.
Instance Method Summary collapse
- #get_avalara_version ⇒ Object
- #get_company_create_update_request_model ⇒ Object
- #get_x_correlation_id ⇒ Object
-
#initialize ⇒ CreateCompanyRequestSdk
constructor
A new instance of CreateCompanyRequestSdk.
- #set_avalara_version(avalara_version) ⇒ Object
- #set_company_create_update_request_model(company_create_update_request_model) ⇒ Object
- #set_x_correlation_id(x_correlation_id) ⇒ Object
Constructor Details
#initialize ⇒ CreateCompanyRequestSdk
Returns a new instance of CreateCompanyRequestSdk.
698 699 |
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 698 def initialize() end |
Instance Attribute Details
#avalara_version ⇒ Object
Returns the value of attribute avalara_version.
692 693 694 |
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 692 def avalara_version @avalara_version end |
#company_create_update_request_model ⇒ Object
Returns the value of attribute company_create_update_request_model.
696 697 698 |
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 696 def company_create_update_request_model @company_create_update_request_model end |
#x_correlation_id ⇒ Object
Returns the value of attribute x_correlation_id.
694 695 696 |
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 694 def x_correlation_id @x_correlation_id end |
Instance Method Details
#get_avalara_version ⇒ Object
701 702 703 |
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 701 def get_avalara_version() return @avalara_version || '2.0' end |
#get_company_create_update_request_model ⇒ Object
717 718 719 |
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 717 def get_company_create_update_request_model() return @company_create_update_request_model end |
#get_x_correlation_id ⇒ Object
709 710 711 |
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 709 def get_x_correlation_id() return @x_correlation_id end |
#set_avalara_version(avalara_version) ⇒ Object
705 706 707 |
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 705 def set_avalara_version(avalara_version) @avalara_version = avalara_version end |
#set_company_create_update_request_model(company_create_update_request_model) ⇒ Object
721 722 723 |
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 721 def set_company_create_update_request_model(company_create_update_request_model) @company_create_update_request_model = company_create_update_request_model end |
#set_x_correlation_id(x_correlation_id) ⇒ Object
713 714 715 |
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 713 def set_x_correlation_id(x_correlation_id) @x_correlation_id = x_correlation_id end |