Class: PlentyClient::Payment::Transaction

Inherits:
Object
  • Object
show all
Includes:
Endpoint, Request
Defined in:
lib/plenty_client/payment/transaction.rb

Constant Summary collapse

FIND_PAYMENT_TRANSACTIONS =
'/payments/transactions/{transactionTypeId}'

Class Method Summary collapse

Methods included from Request

included

Methods included from Endpoint

included

Class Method Details

.find(transaction_type_id, headers = {}, &block) ⇒ Object


12
13
14
# File 'lib/plenty_client/payment/transaction.rb', line 12

def find(transaction_type_id, headers = {}, &block)
  get(build_endpoint(FIND_PAYMENT_TRANSACTIONS, transaction_type: transaction_type_id), headers, &block)
end