Class: Paymob::PaymentTypes::Installment
- Inherits:
-
Base
- Object
- Base
- Paymob::PaymentTypes::Installment
show all
- Defined in:
- lib/paymob/payment_types/installment.rb
Constant Summary
Constants inherited
from Base
Base::REQUIRED_BILLING_DATA_FIELDS, Base::REQUIRED_PAYMENT_FIELDS
Instance Attribute Summary
Attributes inherited from Base
#accept_api
Instance Method Summary
collapse
Methods inherited from Base
#initialize_order
Instance Method Details
#payment_link ⇒ Object
6
7
8
9
10
|
# File 'lib/paymob/payment_types/installment.rb', line 6
def payment_link
return if @accept_api.payment_key.blank?
"#{Paymob.ifream_link}#{Paymob.installment_ifream_number}?payment_token=#{@accept_api.payment_key}"
end
|