Class: Zinc::PaymentMethod

Inherits:
Model
  • Object
show all
Defined in:
lib/zinc/payment_method.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

#initialize, #to_hash

Constructor Details

This class inherits a constructor from Zinc::Model

Instance Attribute Details

#expiration_monthObject

Returns the value of attribute expiration_month.



3
4
5
# File 'lib/zinc/payment_method.rb', line 3

def expiration_month
  @expiration_month
end

#expiration_yearObject

Returns the value of attribute expiration_year.



3
4
5
# File 'lib/zinc/payment_method.rb', line 3

def expiration_year
  @expiration_year
end

#name_on_cardObject

Returns the value of attribute name_on_card.



3
4
5
# File 'lib/zinc/payment_method.rb', line 3

def name_on_card
  @name_on_card
end

#numberObject

Returns the value of attribute number.



3
4
5
# File 'lib/zinc/payment_method.rb', line 3

def number
  @number
end

#security_codeObject

Returns the value of attribute security_code.



3
4
5
# File 'lib/zinc/payment_method.rb', line 3

def security_code
  @security_code
end

#use_giftObject

Returns the value of attribute use_gift.



3
4
5
# File 'lib/zinc/payment_method.rb', line 3

def use_gift
  @use_gift
end