Class: OpenPayU::Models::Token

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

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

#customer_idObject

Returns the value of attribute customer_id.



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

def customer_id
  @customer_id
end

#emailObject

Returns the value of attribute email.



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

def email
  @email
end

#first_nameObject

Returns the value of attribute first_name.



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

def first_name
  @first_name
end

#last_nameObject

Returns the value of attribute last_name.



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

def last_name
  @last_name
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end