Class: OpenPayU::Models::PayMethod

Inherits:
Model
  • Object
show all
Defined in:
lib/openpayu/models/pay_method.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

#amountObject

Returns the value of attribute amount.



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

def amount
  @amount
end

#currency_codeObject

Returns the value of attribute currency_code.



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

def currency_code
  @currency_code
end

#ext_pay_method_idObject

Returns the value of attribute ext_pay_method_id.



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

def ext_pay_method_id
  @ext_pay_method_id
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

#valueObject

Returns the value of attribute value.



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

def value
  @value
end