Class: Tappay::CreditCard::InstalmentByToken

Inherits:
PaymentBase show all
Defined in:
lib/tappay/credit_card/instalment.rb

Constant Summary

Constants inherited from PaymentBase

PaymentBase::VALID_INSTALMENT_VALUES

Instance Attribute Summary

Attributes inherited from Tappay::Client

#options

Instance Method Summary collapse

Methods inherited from PaymentBase

#execute, #initialize

Methods inherited from Tappay::Client

#initialize, #post

Constructor Details

This class inherits a constructor from Tappay::PaymentBase

Instance Method Details

#endpoint_urlObject



46
47
48
# File 'lib/tappay/credit_card/instalment.rb', line 46

def endpoint_url
  Tappay::Endpoints::Payment.pay_by_token_url
end

#payment_dataObject



38
39
40
41
42
43
44
# File 'lib/tappay/credit_card/instalment.rb', line 38

def payment_data
  super.merge(
    card_key: options[:card_key],
    card_token: options[:card_token],
    ccv_prime: options[:ccv_prime]
  )
end