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

#card_holderObject

Returns the value of attribute card_holder.



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

def card_holder
  @card_holder
end

#card_typeObject

Returns the value of attribute card_type.



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

def card_type
  @card_type
end

#countryObject

Returns the value of attribute country.



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

def country
  @country
end

#expire_monthObject

Returns the value of attribute expire_month.



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

def expire_month
  @expire_month
end

#expire_yearObject

Returns the value of attribute expire_year.



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

def expire_year
  @expire_year
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#last4Object

Returns the value of attribute last4.



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

def last4
  @last4
end