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

- (Object) city

Returns the value of attribute city



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

def city
  @city
end

- (Object) country_code

Returns the value of attribute country_code



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

def country_code
  @country_code
end

- (Object) name

Returns the value of attribute name



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

def name
  @name
end

- (Object) postal_box

Returns the value of attribute postal_box



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

def postal_box
  @postal_box
end

- (Object) postal_code

Returns the value of attribute postal_code



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

def postal_code
  @postal_code
end

- (Object) recipient_email

Returns the value of attribute recipient_email



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

def recipient_email
  @recipient_email
end

- (Object) recipient_name

Returns the value of attribute recipient_name



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

def recipient_name
  @recipient_name
end

- (Object) recipient_phone

Returns the value of attribute recipient_phone



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

def recipient_phone
  @recipient_phone
end

- (Object) state

Returns the value of attribute state



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

def state
  @state
end

- (Object) street

Returns the value of attribute street



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

def street
  @street
end