Class: Monetra::Transaction::Token::Request

Inherits:
Object
  • Object
show all
Defined in:
lib/monetra/transaction/token.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#accountObject

Returns the value of attribute account.



5
6
7
# File 'lib/monetra/transaction/token.rb', line 5

def 
  @account
end

#actionObject

Returns the value of attribute action.



5
6
7
# File 'lib/monetra/transaction/token.rb', line 5

def action
  @action
end

#activeObject

Returns the value of attribute active.



6
7
8
# File 'lib/monetra/transaction/token.rb', line 6

def active
  @active
end

#adminObject

Returns the value of attribute admin.



5
6
7
# File 'lib/monetra/transaction/token.rb', line 5

def admin
  @admin
end

#amountObject

Returns the value of attribute amount.



6
7
8
# File 'lib/monetra/transaction/token.rb', line 6

def amount
  @amount
end

#bdateObject

Returns the value of attribute bdate.



6
7
8
# File 'lib/monetra/transaction/token.rb', line 6

def bdate
  @bdate
end

#cardholdernameObject

Returns the value of attribute cardholdername.



6
7
8
# File 'lib/monetra/transaction/token.rb', line 6

def cardholdername
  @cardholdername
end

#clientrefObject

Returns the value of attribute clientref.



5
6
7
# File 'lib/monetra/transaction/token.rb', line 5

def clientref
  @clientref
end

#descObject

Returns the value of attribute desc.



5
6
7
# File 'lib/monetra/transaction/token.rb', line 5

def desc
  @desc
end

#edateObject

Returns the value of attribute edate.



6
7
8
# File 'lib/monetra/transaction/token.rb', line 6

def edate
  @edate
end

#expdateObject

Returns the value of attribute expdate.



5
6
7
# File 'lib/monetra/transaction/token.rb', line 5

def expdate
  @expdate
end

#expdate_endObject

Returns the value of attribute expdate_end.



5
6
7
# File 'lib/monetra/transaction/token.rb', line 5

def expdate_end
  @expdate_end
end

#frequencyObject

Returns the value of attribute frequency.



6
7
8
# File 'lib/monetra/transaction/token.rb', line 6

def frequency
  @frequency
end

#hist_idObject

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_totalObject

Returns the value of attribute installment_total.



6
7
8
# File 'lib/monetra/transaction/token.rb', line 6

def installment_total
  @installment_total
end

#passwordObject

Returns the value of attribute password.



5
6
7
# File 'lib/monetra/transaction/token.rb', line 5

def password
  @password
end

#streetObject

Returns the value of attribute street.



5
6
7
# File 'lib/monetra/transaction/token.rb', line 5

def street
  @street
end

#tokenObject

Returns the value of attribute token.



5
6
7
# File 'lib/monetra/transaction/token.rb', line 5

def token
  @token
end

#typeObject

Returns the value of attribute type.



5
6
7
# File 'lib/monetra/transaction/token.rb', line 5

def type
  @type
end

#usernameObject

Returns the value of attribute username.



5
6
7
# File 'lib/monetra/transaction/token.rb', line 5

def username
  @username
end

#zipObject

Returns the value of attribute zip.



5
6
7
# File 'lib/monetra/transaction/token.rb', line 5

def zip
  @zip
end