module PlentyClient::Accounting
Constants
- LIST_VAT_CONFIGURATIONS
- LIST_VAT_OF_COUNTRY
- LIST_VAT_OF_LOCATION
- LIST_VAT_STANDARD
Public Class Methods
list(headers = {}, &block)
click to toggle source
# File lib/plenty_client/accounting.rb, line 14 def list(headers = {}, &block) get(build_endpoint(LIST_VAT_CONFIGURATIONS), headers, &block) end
list_for_country(location_id, country_id, headers = {}, &block)
click to toggle source
# File lib/plenty_client/accounting.rb, line 18 def list_for_country(location_id, country_id, headers = {}, &block) get(build_endpoint(LIST_VAT_OF_COUNTRY, location: location_id, country: country_id), headers, &block) end
list_for_location(location_id, headers = {}, &block)
click to toggle source
# File lib/plenty_client/accounting.rb, line 24 def list_for_location(location_id, headers = {}, &block) get(build_endpoint(LIST_VAT_OF_LOCATION, location: location_id), headers, &block) end
standard(headers = {}, &block)
click to toggle source
# File lib/plenty_client/accounting.rb, line 29 def standard(headers = {}, &block) get(build_endpoint(LIST_VAT_STANDARD), headers, &block) end