Class: AvalaraSdk::A1099::V2::CreateW9FormRequestSdk

Inherits:
Object
  • Object
show all
Defined in:
lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb

Overview

Represents the Request object for the CreateW9Form API

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCreateW9FormRequestSdk

Returns a new instance of CreateW9FormRequestSdk.



952
953
# File 'lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb', line 952

def initialize()
end

Instance Attribute Details

#avalara_versionObject

Returns the value of attribute avalara_version.



946
947
948
# File 'lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb', line 946

def avalara_version
  @avalara_version
end

#iw9_form_data_models_one_ofObject

Returns the value of attribute iw9_form_data_models_one_of.



950
951
952
# File 'lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb', line 950

def iw9_form_data_models_one_of
  @iw9_form_data_models_one_of
end

#x_correlation_idObject

Returns the value of attribute x_correlation_id.



948
949
950
# File 'lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb', line 948

def x_correlation_id
  @x_correlation_id
end

Instance Method Details

#get_avalara_versionObject



955
956
957
# File 'lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb', line 955

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

#get_iw9_form_data_models_one_ofObject



971
972
973
# File 'lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb', line 971

def get_iw9_form_data_models_one_of()
    return @iw9_form_data_models_one_of
end

#get_x_correlation_idObject



963
964
965
# File 'lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb', line 963

def get_x_correlation_id()
    return @x_correlation_id
end

#set_avalara_version(avalara_version) ⇒ Object



959
960
961
# File 'lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb', line 959

def set_avalara_version(avalara_version)
    @avalara_version = avalara_version
end

#set_iw9_form_data_models_one_of(iw9_form_data_models_one_of) ⇒ Object



975
976
977
# File 'lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb', line 975

def set_iw9_form_data_models_one_of(iw9_form_data_models_one_of)
    @iw9_form_data_models_one_of = iw9_form_data_models_one_of
end

#set_x_correlation_id(x_correlation_id) ⇒ Object



967
968
969
# File 'lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb', line 967

def set_x_correlation_id(x_correlation_id)
    @x_correlation_id = x_correlation_id
end