Class: Paymill::PaymentMethod

Inherits:
Object
  • Object
show all
Defined in:
lib/paymill/models/payment_method.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ PaymentMethod

Returns a new instance of PaymentMethod.



6
7
8
# File 'lib/paymill/models/payment_method.rb', line 6

def initialize( json )
  deserialize( json )
end

Instance Attribute Details

#acquirerObject

Returns the value of attribute acquirer.



4
5
6
# File 'lib/paymill/models/payment_method.rb', line 4

def acquirer
  @acquirer
end

#currencyObject

Returns the value of attribute currency.



4
5
6
# File 'lib/paymill/models/payment_method.rb', line 4

def currency
  @currency
end

#typeObject

Returns the value of attribute type.



4
5
6
# File 'lib/paymill/models/payment_method.rb', line 4

def type
  @type
end