Class: AvalaraSdk::A1099::V2::CreateCompanyRequestSdk

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initializeCreateCompanyRequestSdk

Returns a new instance of CreateCompanyRequestSdk.



706
707
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 706

def initialize()
end

Instance Attribute Details

#avalara_versionObject

Returns the value of attribute avalara_version.



698
699
700
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 698

def avalara_version
  @avalara_version
end

#company_create_update_request_modelObject

Returns the value of attribute company_create_update_request_model.



704
705
706
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 704

def company_create_update_request_model
  @company_create_update_request_model
end

#x_avalara_clientObject

Returns the value of attribute x_avalara_client.



702
703
704
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 702

def x_avalara_client
  @x_avalara_client
end

#x_correlation_idObject

Returns the value of attribute x_correlation_id.



700
701
702
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 700

def x_correlation_id
  @x_correlation_id
end

Instance Method Details

#get_avalara_versionObject



709
710
711
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 709

def get_avalara_version()
    return @avalara_version || '2.0'
end

#get_company_create_update_request_modelObject



733
734
735
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 733

def get_company_create_update_request_model()
    return @company_create_update_request_model
end

#get_x_avalara_clientObject



725
726
727
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 725

def get_x_avalara_client()
    return @x_avalara_client
end

#get_x_correlation_idObject



717
718
719
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 717

def get_x_correlation_id()
    return @x_correlation_id
end

#set_avalara_version(avalara_version) ⇒ Object



713
714
715
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 713

def set_avalara_version(avalara_version)
    @avalara_version = avalara_version
end

#set_company_create_update_request_model(company_create_update_request_model) ⇒ Object



737
738
739
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 737

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_avalara_client(x_avalara_client) ⇒ Object



729
730
731
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 729

def set_x_avalara_client(x_avalara_client)
    @x_avalara_client = x_avalara_client
end

#set_x_correlation_id(x_correlation_id) ⇒ Object



721
722
723
# File 'lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb', line 721

def set_x_correlation_id(x_correlation_id)
    @x_correlation_id = x_correlation_id
end