Class: SEPA::DebtorAddress

Inherits:
Object
  • Object
show all
Extended by:
Converter
Includes:
ActiveModel::Validations
Defined in:
lib/sepa_king/account/debtor_address.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Converter

convert

Constructor Details

#initialize(attributes = {}) ⇒ DebtorAddress

Returns a new instance of DebtorAddress.


31
32
33
34
35
# File 'lib/sepa_king/account/debtor_address.rb', line 31

def initialize(attributes = {})
  attributes.each do |name, value|
    public_send("#{name}=", value)
  end
end

Instance Attribute Details

#address_line1Object

Returns the value of attribute address_line1.


7
8
9
# File 'lib/sepa_king/account/debtor_address.rb', line 7

def address_line1
  @address_line1
end

#address_line2Object

Returns the value of attribute address_line2.


7
8
9
# File 'lib/sepa_king/account/debtor_address.rb', line 7

def address_line2
  @address_line2
end

#building_numberObject

Returns the value of attribute building_number.


7
8
9
# File 'lib/sepa_king/account/debtor_address.rb', line 7

def building_number
  @building_number
end

#country_codeObject

Returns the value of attribute country_code.


7
8
9
# File 'lib/sepa_king/account/debtor_address.rb', line 7

def country_code
  @country_code
end

#post_codeObject

Returns the value of attribute post_code.


7
8
9
# File 'lib/sepa_king/account/debtor_address.rb', line 7

def post_code
  @post_code
end

#street_nameObject

Returns the value of attribute street_name.


7
8
9
# File 'lib/sepa_king/account/debtor_address.rb', line 7

def street_name
  @street_name
end

#town_nameObject

Returns the value of attribute town_name.


7
8
9
# File 'lib/sepa_king/account/debtor_address.rb', line 7

def town_name
  @town_name
end