Class: Monetra::Transaction::Token::Request
- Inherits:
-
Object
- Object
- Monetra::Transaction::Token::Request
- Defined in:
- lib/monetra/transaction/token.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#action ⇒ Object
Returns the value of attribute action.
-
#active ⇒ Object
Returns the value of attribute active.
-
#admin ⇒ Object
Returns the value of attribute admin.
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#bdate ⇒ Object
Returns the value of attribute bdate.
-
#cardholdername ⇒ Object
Returns the value of attribute cardholdername.
-
#clientref ⇒ Object
Returns the value of attribute clientref.
-
#desc ⇒ Object
Returns the value of attribute desc.
-
#edate ⇒ Object
Returns the value of attribute edate.
-
#expdate ⇒ Object
Returns the value of attribute expdate.
-
#expdate_end ⇒ Object
Returns the value of attribute expdate_end.
-
#frequency ⇒ Object
Returns the value of attribute frequency.
-
#hist_id ⇒ Object
Returns the value of attribute hist_id.
-
#installment_total ⇒ Object
Returns the value of attribute installment_total.
-
#password ⇒ Object
Returns the value of attribute password.
-
#street ⇒ Object
Returns the value of attribute street.
-
#token ⇒ Object
Returns the value of attribute token.
-
#type ⇒ Object
Returns the value of attribute type.
-
#username ⇒ Object
Returns the value of attribute username.
-
#zip ⇒ Object
Returns the value of attribute zip.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize(attributes = {}) ⇒ Request
Returns a new instance of Request.
7 8 9 10 11 |
# File 'lib/monetra/transaction/token.rb', line 7 def initialize(attributes={}) attributes.each do |att, val| self.__send__("#{att}=", val) if self.respond_to?("#{att}=") end end |
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
5 6 7 |
# File 'lib/monetra/transaction/token.rb', line 5 def account @account end |
#action ⇒ Object
Returns the value of attribute action.
5 6 7 |
# File 'lib/monetra/transaction/token.rb', line 5 def action @action end |
#active ⇒ Object
Returns the value of attribute active.
6 7 8 |
# File 'lib/monetra/transaction/token.rb', line 6 def active @active end |
#admin ⇒ Object
Returns the value of attribute admin.
5 6 7 |
# File 'lib/monetra/transaction/token.rb', line 5 def admin @admin end |
#amount ⇒ Object
Returns the value of attribute amount.
6 7 8 |
# File 'lib/monetra/transaction/token.rb', line 6 def amount @amount end |
#bdate ⇒ Object
Returns the value of attribute bdate.
6 7 8 |
# File 'lib/monetra/transaction/token.rb', line 6 def bdate @bdate end |
#cardholdername ⇒ Object
Returns the value of attribute cardholdername.
6 7 8 |
# File 'lib/monetra/transaction/token.rb', line 6 def cardholdername @cardholdername end |
#clientref ⇒ Object
Returns the value of attribute clientref.
5 6 7 |
# File 'lib/monetra/transaction/token.rb', line 5 def clientref @clientref end |
#desc ⇒ Object
Returns the value of attribute desc.
5 6 7 |
# File 'lib/monetra/transaction/token.rb', line 5 def desc @desc end |
#edate ⇒ Object
Returns the value of attribute edate.
6 7 8 |
# File 'lib/monetra/transaction/token.rb', line 6 def edate @edate end |
#expdate ⇒ Object
Returns the value of attribute expdate.
5 6 7 |
# File 'lib/monetra/transaction/token.rb', line 5 def expdate @expdate end |
#expdate_end ⇒ Object
Returns the value of attribute expdate_end.
5 6 7 |
# File 'lib/monetra/transaction/token.rb', line 5 def expdate_end @expdate_end end |
#frequency ⇒ Object
Returns the value of attribute frequency.
6 7 8 |
# File 'lib/monetra/transaction/token.rb', line 6 def frequency @frequency end |
#hist_id ⇒ Object
Returns the value of attribute hist_id.
6 7 8 |
# File 'lib/monetra/transaction/token.rb', line 6 def hist_id @hist_id end |
#installment_total ⇒ Object
Returns the value of attribute installment_total.
6 7 8 |
# File 'lib/monetra/transaction/token.rb', line 6 def installment_total @installment_total end |
#password ⇒ Object
Returns the value of attribute password.
5 6 7 |
# File 'lib/monetra/transaction/token.rb', line 5 def password @password end |
#street ⇒ Object
Returns the value of attribute street.
5 6 7 |
# File 'lib/monetra/transaction/token.rb', line 5 def street @street end |
#token ⇒ Object
Returns the value of attribute token.
5 6 7 |
# File 'lib/monetra/transaction/token.rb', line 5 def token @token end |
#type ⇒ Object
Returns the value of attribute type.
5 6 7 |
# File 'lib/monetra/transaction/token.rb', line 5 def type @type end |
#username ⇒ Object
Returns the value of attribute username.
5 6 7 |
# File 'lib/monetra/transaction/token.rb', line 5 def username @username end |
#zip ⇒ Object
Returns the value of attribute zip.
5 6 7 |
# File 'lib/monetra/transaction/token.rb', line 5 def zip @zip end |