Class: Fintecture::Pis::Refund
- Inherits:
-
Object
- Object
- Fintecture::Pis::Refund
- Defined in:
- lib/fintecture/api/pis/refund.rb
Class Method Summary collapse
-
.generate(client, session_id, amount, user_id) ⇒ Object
———— PUBLIC METHOD ————.
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 |