Class: Paymaster::GetTransaction
- Inherits:
-
BaseRequest
- Object
- BaseRequest
- Paymaster::GetTransaction
- Defined in:
- lib/paymaster/get_transaction.rb
Defined Under Namespace
Classes: Response
Instance Attribute Summary collapse
-
#paymaster_id ⇒ Object
Returns the value of attribute paymaster_id.
-
#payment_id ⇒ Object
Returns the value of attribute payment_id.
Attributes inherited from BaseRequest
Instance Method Summary collapse
Methods inherited from BaseRequest
Constructor Details
This class inherits a constructor from Paymaster::BaseRequest
Instance Attribute Details
#paymaster_id ⇒ Object
Returns the value of attribute paymaster_id.
24 25 26 |
# File 'lib/paymaster/get_transaction.rb', line 24 def paymaster_id @paymaster_id end |
#payment_id ⇒ Object
Returns the value of attribute payment_id.
23 24 25 |
# File 'lib/paymaster/get_transaction.rb', line 23 def payment_id @payment_id end |
Instance Method Details
#endpoint ⇒ Object
26 27 28 |
# File 'lib/paymaster/get_transaction.rb', line 26 def endpoint "https://api.paymaster.ua/merchants/get-transaction" end |
#params ⇒ Object
30 31 32 33 34 35 36 37 |
# File 'lib/paymaster/get_transaction.rb', line 30 def params { LMI_MERCHANT_ID: client.merchant_id, LMI_PAYMENT_NO: payment_id, LMI_SYS_PAYMENT_ID: paymaster_id, LMI_HASH: "", }.compact end |