Class: OpenPayU::Models::Buyer

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

Defined Under Namespace

Classes: 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) email

Returns the value of attribute email



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

def email
  @email
end

- (Object) first_name

Returns the value of attribute first_name



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

def first_name
  @first_name
end

- (Object) language

Returns the value of attribute language



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

def language
  @language
end

- (Object) last_name

Returns the value of attribute last_name



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

def last_name
  @last_name
end

- (Object) NIN

Returns the value of attribute NIN



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

def NIN
  @NIN
end

- (Object) phone

Returns the value of attribute phone



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

def phone
  @phone
end