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

- (Object) customer_id

Returns the value of attribute customer_id



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

def customer_id
  @customer_id
end

- (Object) email

Returns the value of attribute email



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

def email
  @email
end

- (Object) first_name

Returns the value of attribute first_name



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

def first_name
  @first_name
end

- (Object) last_name

Returns the value of attribute last_name



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

def last_name
  @last_name
end

- (Object) type

Returns the value of attribute type



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

def type
  @type
end