Class: Paymill::Offer
- Defined in:
- lib/paymill/offer.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#id ⇒ Object
Returns the value of attribute id.
-
#interval ⇒ Object
Returns the value of attribute interval.
-
#name ⇒ Object
Returns the value of attribute name.
-
#trial_period_days ⇒ Object
Returns the value of attribute trial_period_days.
Attributes inherited from Base
Method Summary
Methods included from Paymill::Operations::Update
Methods included from Paymill::Operations::Delete
Methods inherited from Base
#initialize, #parse_timestamps, #set_attributes
Methods included from Paymill::Operations::Find
Methods included from Paymill::Operations::Create
Methods included from Paymill::Operations::All
Constructor Details
This class inherits a constructor from Paymill::Base
Instance Attribute Details
permalink #amount ⇒ Object
Returns the value of attribute amount.
6 7 8 |
# File 'lib/paymill/offer.rb', line 6 def amount @amount end |
permalink #currency ⇒ Object
Returns the value of attribute currency.
6 7 8 |
# File 'lib/paymill/offer.rb', line 6 def currency @currency end |
permalink #id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/paymill/offer.rb', line 6 def id @id end |
permalink #interval ⇒ Object
Returns the value of attribute interval.
6 7 8 |
# File 'lib/paymill/offer.rb', line 6 def interval @interval end |
permalink #name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/paymill/offer.rb', line 6 def name @name end |
permalink #trial_period_days ⇒ Object
Returns the value of attribute trial_period_days.
6 7 8 |
# File 'lib/paymill/offer.rb', line 6 def trial_period_days @trial_period_days end |