Class: Paymill::Offer

Inherits:
Base
  • Object
show all
Includes:
Paymill::Operations::Delete, Paymill::Operations::Update
Defined in:
lib/paymill/offer.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#created_at, #updated_at

Method Summary

Methods included from Paymill::Operations::Update

included, #update_attributes

Methods included from Paymill::Operations::Delete

included

Methods inherited from Base

#initialize, #parse_timestamps, #set_attributes

Methods included from Paymill::Operations::Find

included

Methods included from Paymill::Operations::Create

included

Methods included from Paymill::Operations::All

included

Constructor Details

This class inherits a constructor from Paymill::Base

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



6
7
8
# File 'lib/paymill/offer.rb', line 6

def amount
  @amount
end

#currencyObject

Returns the value of attribute currency.



6
7
8
# File 'lib/paymill/offer.rb', line 6

def currency
  @currency
end

#idObject

Returns the value of attribute id.



6
7
8
# File 'lib/paymill/offer.rb', line 6

def id
  @id
end

#intervalObject

Returns the value of attribute interval.



6
7
8
# File 'lib/paymill/offer.rb', line 6

def interval
  @interval
end

#nameObject

Returns the value of attribute name.



6
7
8
# File 'lib/paymill/offer.rb', line 6

def name
  @name
end

#trial_period_daysObject

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