Class: AvalaraSdk::EInvoicing::V1::DownloadDocumentRequest
- Inherits:
-
Object
- Object
- AvalaraSdk::EInvoicing::V1::DownloadDocumentRequest
- Defined in:
- lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb
Overview
Represents the Request object for the DownloadDocument API
Instance Attribute Summary collapse
-
#accept ⇒ Object
Returns the value of attribute accept.
-
#avalara_version ⇒ Object
Returns the value of attribute avalara_version.
-
#document_id ⇒ Object
Returns the value of attribute document_id.
-
#x_avalara_client ⇒ Object
Returns the value of attribute x_avalara_client.
Instance Method Summary collapse
- #get_accept ⇒ Object
- #get_avalara_version ⇒ Object
- #get_document_id ⇒ Object
- #get_x_avalara_client ⇒ Object
-
#initialize ⇒ DownloadDocumentRequest
constructor
A new instance of DownloadDocumentRequest.
- #set_accept(accept) ⇒ Object
- #set_avalara_version(avalara_version) ⇒ Object
- #set_document_id(document_id) ⇒ Object
- #set_x_avalara_client(x_avalara_client) ⇒ Object
Constructor Details
#initialize ⇒ DownloadDocumentRequest
Returns a new instance of DownloadDocumentRequest.
714 715 |
# File 'lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb', line 714 def initialize() end |
Instance Attribute Details
#accept ⇒ Object
Returns the value of attribute accept.
708 709 710 |
# File 'lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb', line 708 def accept @accept end |
#avalara_version ⇒ Object
Returns the value of attribute avalara_version.
706 707 708 |
# File 'lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb', line 706 def avalara_version @avalara_version end |
#document_id ⇒ Object
Returns the value of attribute document_id.
710 711 712 |
# File 'lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb', line 710 def document_id @document_id end |
#x_avalara_client ⇒ Object
Returns the value of attribute x_avalara_client.
712 713 714 |
# File 'lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb', line 712 def x_avalara_client @x_avalara_client end |
Instance Method Details
#get_accept ⇒ Object
725 726 727 |
# File 'lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb', line 725 def get_accept() return @accept end |
#get_avalara_version ⇒ Object
717 718 719 |
# File 'lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb', line 717 def get_avalara_version() return @avalara_version || '1.2' end |
#get_document_id ⇒ Object
733 734 735 |
# File 'lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb', line 733 def get_document_id() return @document_id end |
#get_x_avalara_client ⇒ Object
741 742 743 |
# File 'lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb', line 741 def get_x_avalara_client() return @x_avalara_client end |
#set_accept(accept) ⇒ Object
729 730 731 |
# File 'lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb', line 729 def set_accept(accept) @accept = accept end |
#set_avalara_version(avalara_version) ⇒ Object
721 722 723 |
# File 'lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb', line 721 def set_avalara_version(avalara_version) @avalara_version = avalara_version end |
#set_document_id(document_id) ⇒ Object
737 738 739 |
# File 'lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb', line 737 def set_document_id(document_id) @document_id = document_id end |
#set_x_avalara_client(x_avalara_client) ⇒ Object
745 746 747 |
# File 'lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb', line 745 def set_x_avalara_client(x_avalara_client) @x_avalara_client = x_avalara_client end |