Class: TaxJp::SocialInsurances::Grade

Inherits:
Object
  • Object
show all
Defined in:
lib/tax_jp/social_insurances/grade.rb

Overview

等級

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attrs = {}) ⇒ Grade

Returns a new instance of Grade.



9
10
11
12
13
14
15
16
17
18
# File 'lib/tax_jp/social_insurances/grade.rb', line 9

def initialize(attrs = {})
  @valid_from = attrs[:valid_from]
  @valid_until = attrs[:valid_until]
  @grade = attrs[:grade]
  @pension_grade = attrs[:pension_grade]
  @monthly_standard = attrs[:monthly_standard]
  @daily_standard = attrs[:daily_standard]
  @salary_from = attrs[:salary_from]
  @salary_to = attrs[:salary_to]
end

Instance Attribute Details

#daily_standardObject (readonly)

Returns the value of attribute daily_standard.



6
7
8
# File 'lib/tax_jp/social_insurances/grade.rb', line 6

def daily_standard
  @daily_standard
end

#gradeObject (readonly)

Returns the value of attribute grade.



5
6
7
# File 'lib/tax_jp/social_insurances/grade.rb', line 5

def grade
  @grade
end

#monthly_standardObject (readonly)

Returns the value of attribute monthly_standard.



6
7
8
# File 'lib/tax_jp/social_insurances/grade.rb', line 6

def monthly_standard
  @monthly_standard
end

#pension_gradeObject (readonly)

Returns the value of attribute pension_grade.



5
6
7
# File 'lib/tax_jp/social_insurances/grade.rb', line 5

def pension_grade
  @pension_grade
end

#salary_fromObject (readonly)

Returns the value of attribute salary_from.



7
8
9
# File 'lib/tax_jp/social_insurances/grade.rb', line 7

def salary_from
  @salary_from
end

#salary_toObject (readonly)

Returns the value of attribute salary_to.



7
8
9
# File 'lib/tax_jp/social_insurances/grade.rb', line 7

def salary_to
  @salary_to
end

#valid_fromObject (readonly)

Returns the value of attribute valid_from.



4
5
6
# File 'lib/tax_jp/social_insurances/grade.rb', line 4

def valid_from
  @valid_from
end

#valid_untilObject (readonly)

Returns the value of attribute valid_until.



4
5
6
# File 'lib/tax_jp/social_insurances/grade.rb', line 4

def valid_until
  @valid_until
end