Module: AvaTax::Client::ShippingVerificationBatches
- Defined in:
- lib/avatax/client/shippingverificationbatches.rb
Instance Method Summary collapse
- 
  
    
      #enqueue_batch_deregistration(companyCode, batchCode, options = {}, x_avalara_version = "")  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Enqueues a batch of AvaTax transactions to be deregistered by ASV. 
- 
  
    
      #enqueue_batch_registration(companyCode, batchCode, options = {}, x_avalara_version = "")  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Enqueues a batch of AvaTax transactions to be registered by ASV. 
- 
  
    
      #get_batch_registration_data(options = {})  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Gets records for current and previously processed batch registration jobs. 
Instance Method Details
#enqueue_batch_deregistration(companyCode, batchCode, options = {}, x_avalara_version = "") ⇒ Object
Enqueues a batch of AvaTax transactions to be deregistered by ASV
Swagger Name: AvaTaxBeverageClient
| 15 16 17 18 | # File 'lib/avatax/client/shippingverificationbatches.rb', line 15 def enqueue_batch_deregistration(companyCode, batchCode, ={}, x_avalara_version="") path = "/api/v2/asv/companies/#{companyCode}/batches/#{batchCode}/deregister" headers= Hash.new headers["x-avalara-version"]=x_avalara_version if !(x_avalara_version.nil? || x_avalara_version.empty?); put(path, , AvaTax::VERSION, headers) end | 
#enqueue_batch_registration(companyCode, batchCode, options = {}, x_avalara_version = "") ⇒ Object
Enqueues a batch of AvaTax transactions to be registered by ASV
Swagger Name: AvaTaxBeverageClient
| 29 30 31 32 | # File 'lib/avatax/client/shippingverificationbatches.rb', line 29 def enqueue_batch_registration(companyCode, batchCode, ={}, x_avalara_version="") path = "/api/v2/asv/companies/#{companyCode}/batches/#{batchCode}/register" headers= Hash.new headers["x-avalara-version"]=x_avalara_version if !(x_avalara_version.nil? || x_avalara_version.empty?); put(path, , AvaTax::VERSION, headers) end | 
#get_batch_registration_data(options = {}) ⇒ Object
Gets records for current and previously processed batch registration jobs
Swagger Name: AvaTaxBeverageClient
| 40 41 | # File 'lib/avatax/client/shippingverificationbatches.rb', line 40 def get_batch_registration_data(={}) path = "/api/v2/asv/batches" get(path, , AvaTax::VERSION) end |