Class: Paymill::Payment

Inherits:
Base
  • Object
show all
Includes:
Operations::Delete
Defined in:
lib/paymill/payment.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#created_at, #updated_at

Method Summary

Methods included from Operations::Delete

included

Methods inherited from Base

#initialize, #parse_timestamps, #set_attributes

Methods included from Operations::Find

included

Methods included from Operations::Create

included

Methods included from Operations::All

included

Constructor Details

This class inherits a constructor from Paymill::Base

Instance Attribute Details

#account ⇒ Object

Returns the value of attribute account.



5
6
7
# File 'lib/paymill/payment.rb', line 5

def 
  @account
end

#card_holder ⇒ Object

Returns the value of attribute card_holder.



5
6
7
# File 'lib/paymill/payment.rb', line 5

def card_holder
  @card_holder
end

#card_type ⇒ Object

Returns the value of attribute card_type.



5
6
7
# File 'lib/paymill/payment.rb', line 5

def card_type
  @card_type
end

#client ⇒ Object

Returns the value of attribute client.



5
6
7
# File 'lib/paymill/payment.rb', line 5

def client
  @client
end

#code ⇒ Object

Returns the value of attribute code.



5
6
7
# File 'lib/paymill/payment.rb', line 5

def code
  @code
end

#country ⇒ Object

Returns the value of attribute country.



5
6
7
# File 'lib/paymill/payment.rb', line 5

def country
  @country
end

#expire_month ⇒ Object

Returns the value of attribute expire_month.



5
6
7
# File 'lib/paymill/payment.rb', line 5

def expire_month
  @expire_month
end

#expire_year ⇒ Object

Returns the value of attribute expire_year.



5
6
7
# File 'lib/paymill/payment.rb', line 5

def expire_year
  @expire_year
end

#holder ⇒ Object

Returns the value of attribute holder.



5
6
7
# File 'lib/paymill/payment.rb', line 5

def holder
  @holder
end

#id ⇒ Object

Returns the value of attribute id.



5
6
7
# File 'lib/paymill/payment.rb', line 5

def id
  @id
end

#last4 ⇒ Object

Returns the value of attribute last4.



5
6
7
# File 'lib/paymill/payment.rb', line 5

def last4
  @last4
end

#type ⇒ Object

Returns the value of attribute type.



5
6
7
# File 'lib/paymill/payment.rb', line 5

def type
  @type
end