Class: OpenPayU::Models::Fee

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

Returns the value of attribute amount



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

def amount
  @amount
end

- (Object) description

Returns the value of attribute description



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

def description
  @description
end

- (Object) type

Returns the value of attribute type



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

def type
  @type
end