Class: OpenPayU::Models::Address

Inherits:
Model
  • Object
show all
Defined in:
lib/openpayu/models/address.rb

Direct Known Subclasses

Buyer::Delivery

Instance Attribute Summary collapse

Attributes inherited from Model

#all_errors

Method Summary

Methods inherited from Model

#after_initialize, #all_objects_valid?, #attributes, define_reader, define_writer, #get_instance_values, has_many_objects, has_one_object, #initialize, #prepare_data, #prepare_keys, #to_flatten_hash, #to_json, #validate_all_objects

Constructor Details

This class inherits a constructor from OpenPayU::Models::Model

Instance Attribute Details

#cityObject

Returns the value of attribute city.



5
6
7
# File 'lib/openpayu/models/address.rb', line 5

def city
  @city
end

#country_codeObject

Returns the value of attribute country_code.



5
6
7
# File 'lib/openpayu/models/address.rb', line 5

def country_code
  @country_code
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/openpayu/models/address.rb', line 5

def name
  @name
end

#postal_boxObject

Returns the value of attribute postal_box.



5
6
7
# File 'lib/openpayu/models/address.rb', line 5

def postal_box
  @postal_box
end

#postal_codeObject

Returns the value of attribute postal_code.



5
6
7
# File 'lib/openpayu/models/address.rb', line 5

def postal_code
  @postal_code
end

#recipient_emailObject

Returns the value of attribute recipient_email.



5
6
7
# File 'lib/openpayu/models/address.rb', line 5

def recipient_email
  @recipient_email
end

#recipient_nameObject

Returns the value of attribute recipient_name.



5
6
7
# File 'lib/openpayu/models/address.rb', line 5

def recipient_name
  @recipient_name
end

#recipient_phoneObject

Returns the value of attribute recipient_phone.



5
6
7
# File 'lib/openpayu/models/address.rb', line 5

def recipient_phone
  @recipient_phone
end

#stateObject

Returns the value of attribute state.



5
6
7
# File 'lib/openpayu/models/address.rb', line 5

def state
  @state
end

#streetObject

Returns the value of attribute street.



5
6
7
# File 'lib/openpayu/models/address.rb', line 5

def street
  @street
end