Class: ChargeBee::CsvTaxRule

Inherits:
Model
  • Object
show all
Defined in:
lib/chargebee/models/csv_tax_rule.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Model

construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #replace_white_space_with_underscore, #to_s, uri_path

Constructor Details

This class inherits a constructor from ChargeBee::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ChargeBee::Model

Instance Attribute Details

#countryObject

Returns the value of attribute country.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def country
  @country
end

#overwriteObject

Returns the value of attribute overwrite.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def overwrite
  @overwrite
end

#rule_weightObject

Returns the value of attribute rule_weight.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def rule_weight
  @rule_weight
end

#service_typeObject

Returns the value of attribute service_type.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def service_type
  @service_type
end

#stateObject

Returns the value of attribute state.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def state
  @state
end

#statusObject

Returns the value of attribute status.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def status
  @status
end

#tax1_juris_codeObject

Returns the value of attribute tax1_juris_code.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax1_juris_code
  @tax1_juris_code
end

#tax1_juris_nameObject

Returns the value of attribute tax1_juris_name.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax1_juris_name
  @tax1_juris_name
end

#tax1_juris_typeObject

Returns the value of attribute tax1_juris_type.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax1_juris_type
  @tax1_juris_type
end

#tax1_nameObject

Returns the value of attribute tax1_name.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax1_name
  @tax1_name
end

#tax1_rateObject

Returns the value of attribute tax1_rate.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax1_rate
  @tax1_rate
end

#tax2_juris_codeObject

Returns the value of attribute tax2_juris_code.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax2_juris_code
  @tax2_juris_code
end

#tax2_juris_nameObject

Returns the value of attribute tax2_juris_name.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax2_juris_name
  @tax2_juris_name
end

#tax2_juris_typeObject

Returns the value of attribute tax2_juris_type.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax2_juris_type
  @tax2_juris_type
end

#tax2_nameObject

Returns the value of attribute tax2_name.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax2_name
  @tax2_name
end

#tax2_rateObject

Returns the value of attribute tax2_rate.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax2_rate
  @tax2_rate
end

#tax3_juris_codeObject

Returns the value of attribute tax3_juris_code.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax3_juris_code
  @tax3_juris_code
end

#tax3_juris_nameObject

Returns the value of attribute tax3_juris_name.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax3_juris_name
  @tax3_juris_name
end

#tax3_juris_typeObject

Returns the value of attribute tax3_juris_type.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax3_juris_type
  @tax3_juris_type
end

#tax3_nameObject

Returns the value of attribute tax3_name.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax3_name
  @tax3_name
end

#tax3_rateObject

Returns the value of attribute tax3_rate.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax3_rate
  @tax3_rate
end

#tax4_juris_codeObject

Returns the value of attribute tax4_juris_code.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax4_juris_code
  @tax4_juris_code
end

#tax4_juris_nameObject

Returns the value of attribute tax4_juris_name.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax4_juris_name
  @tax4_juris_name
end

#tax4_juris_typeObject

Returns the value of attribute tax4_juris_type.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax4_juris_type
  @tax4_juris_type
end

#tax4_nameObject

Returns the value of attribute tax4_name.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax4_name
  @tax4_name
end

#tax4_rateObject

Returns the value of attribute tax4_rate.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax4_rate
  @tax4_rate
end

#tax_profile_nameObject

Returns the value of attribute tax_profile_name.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def tax_profile_name
  @tax_profile_name
end

#time_zoneObject

Returns the value of attribute time_zone.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def time_zone
  @time_zone
end

#valid_fromObject

Returns the value of attribute valid_from.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def valid_from
  @valid_from
end

#valid_tillObject

Returns the value of attribute valid_till.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def valid_till
  @valid_till
end

#zip_codeObject

Returns the value of attribute zip_code.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def zip_code
  @zip_code
end

#zip_code_endObject

Returns the value of attribute zip_code_end.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def zip_code_end
  @zip_code_end
end

#zip_code_startObject

Returns the value of attribute zip_code_start.



4
5
6
# File 'lib/chargebee/models/csv_tax_rule.rb', line 4

def zip_code_start
  @zip_code_start
end

Class Method Details

.create(params = {}, env = nil, headers = {}) ⇒ Object

OPERATIONS




14
15
16
# File 'lib/chargebee/models/csv_tax_rule.rb', line 14

def self.create(params={}, env=nil, headers={})
  Request.send('post', uri_path("csv_tax_rules"), params, env, headers)
end