Class: Croatia::Invoice::Party
- Inherits:
-
Object
- Object
- Croatia::Invoice::Party
- Defined in:
- lib/croatia/invoice/party.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#city ⇒ Object
Returns the value of attribute city.
-
#country_code ⇒ Object
Returns the value of attribute country_code.
-
#einvoice_id ⇒ Object
Returns the value of attribute einvoice_id.
-
#iban ⇒ Object
Returns the value of attribute iban.
-
#name ⇒ Object
Returns the value of attribute name.
-
#pays_vat ⇒ Object
Returns the value of attribute pays_vat.
-
#pin ⇒ Object
Returns the value of attribute pin.
-
#postal_code ⇒ Object
Returns the value of attribute postal_code.
Instance Method Summary collapse
-
#initialize(**options) ⇒ Party
constructor
A new instance of Party.
Constructor Details
#initialize(**options) ⇒ Party
Returns a new instance of Party.
15 16 17 18 19 |
# File 'lib/croatia/invoice/party.rb', line 15 def initialize(**) .each do |key, value| public_send("#{key}=", value) end end |
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
4 5 6 |
# File 'lib/croatia/invoice/party.rb', line 4 def address @address end |
#city ⇒ Object
Returns the value of attribute city.
4 5 6 |
# File 'lib/croatia/invoice/party.rb', line 4 def city @city end |
#country_code ⇒ Object
Returns the value of attribute country_code.
4 5 6 |
# File 'lib/croatia/invoice/party.rb', line 4 def country_code @country_code end |
#einvoice_id ⇒ Object
Returns the value of attribute einvoice_id.
4 5 6 |
# File 'lib/croatia/invoice/party.rb', line 4 def einvoice_id @einvoice_id end |
#iban ⇒ Object
Returns the value of attribute iban.
4 5 6 |
# File 'lib/croatia/invoice/party.rb', line 4 def iban @iban end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/croatia/invoice/party.rb', line 4 def name @name end |
#pays_vat ⇒ Object
Returns the value of attribute pays_vat.
4 5 6 |
# File 'lib/croatia/invoice/party.rb', line 4 def pays_vat @pays_vat end |
#pin ⇒ Object
Returns the value of attribute pin.
4 5 6 |
# File 'lib/croatia/invoice/party.rb', line 4 def pin @pin end |
#postal_code ⇒ Object
Returns the value of attribute postal_code.
4 5 6 |
# File 'lib/croatia/invoice/party.rb', line 4 def postal_code @postal_code end |