Class: Tappay::PrimePayment

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

Overview

Payment methods charged with a prime from TapPay's SDK, where TapPay also requires cardholder details. Apple Pay and Google Pay are this and nothing more; the redirect methods add a result_url on top.

Direct Known Subclasses

ApplePay::Pay, GooglePay::Pay, RedirectPayment

Constant Summary

Constants inherited from PaymentBase

Tappay::PaymentBase::VALID_INSTALMENT_VALUES

Instance Attribute Summary

Attributes inherited from Client

#options

Instance Method Summary collapse

Methods inherited from PaymentBase

#execute, #initialize, merchant_id_key, uses_merchant_id

Methods inherited from Client

#initialize, #post

Constructor Details

This class inherits a constructor from Tappay::PaymentBase

Instance Method Details

#endpoint_urlObject



8
9
10
# File 'lib/tappay/prime_payment.rb', line 8

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