Class: Cardgate::Ideal::Payment

Inherits:
Payment
  • Object
show all
Defined in:
lib/cardgate/ideal/payment.rb

Instance Attribute Summary collapse

Attributes inherited from Payment

#address, #amount, #city, #company_name, #control_url, #country_code, #currency, #description, #email, #first_name, #ip_address, #language, #last_name, #phone_number, #postal_code, #ref, #return_url, #site_id, #state

Instance Method Summary collapse

Methods inherited from Payment

#api_payment_endpoint, #default_params, #initialize, #initiate, #params, #payment_url, #transaction_id

Constructor Details

This class inherits a constructor from Cardgate::Payment

Instance Attribute Details

#issuer_idObject

Returns the value of attribute issuer_id.



7
8
9
# File 'lib/cardgate/ideal/payment.rb', line 7

def issuer_id
  @issuer_id
end

Instance Method Details

#payment_paramsObject



13
14
15
16
17
18
19
# File 'lib/cardgate/ideal/payment.rb', line 13

def payment_params
  {
    payment: {
      issuer_id: @issuer_id
    }
  }
end

#providerObject



9
10
11
# File 'lib/cardgate/ideal/payment.rb', line 9

def provider
  'ideal'
end