Class: Fintecture::Pis::Refund

Inherits:
Object
  • Object
show all
Defined in:
lib/fintecture/api/pis/refund.rb

Class Method Summary collapse

Class Method Details

.generate(client, session_id, amount, user_id) ⇒ Object

———— PUBLIC METHOD ————



12
13
14
15
16
17
18
19
# File 'lib/fintecture/api/pis/refund.rb', line 12

def generate(client, session_id, amount, user_id)
  @client = client

  # Build the request payload
  payload = _build_payload session_id, amount, user_id
  # Do the _request request
  _request payload
end