Class: OpenPayU::Models::ShippingMethod

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

#countryObject

Returns the value of attribute country.



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

def country
  @country
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#priceObject

Returns the value of attribute price.



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

def price
  @price
end