Module: PaypalAPI::ReferencedPayoutItems::APIs
- Defined in:
- lib/paypal-api/api_collections/referenced_payout_items.rb
Overview
Common methods for PaypalAPI::ReferencedPayoutItems class and client.referenced_payout_items instance
Instance Method Summary collapse
-
#create(query: nil, body: nil, headers: nil) ⇒ Response
Create referenced payout item.
-
#show(payouts_item_id, query: nil, body: nil, headers: nil) ⇒ Response
Show referenced payout item details.
Instance Method Details
#create(query: nil, body: nil, headers: nil) ⇒ Response
Create referenced payout item
27 28 29 |
# File 'lib/paypal-api/api_collections/referenced_payout_items.rb', line 27 def create(query: nil, body: nil, headers: nil) client.post("/v1/payments/referenced-payouts-items", query: query, body: body, headers: headers) end |
#show(payouts_item_id, query: nil, body: nil, headers: nil) ⇒ Response
Show referenced payout item details
39 40 41 |
# File 'lib/paypal-api/api_collections/referenced_payout_items.rb', line 39 def show(payouts_item_id, query: nil, body: nil, headers: nil) client.get("/v1/payments/referenced-payouts-items/#{encode(payouts_item_id)}", query: query, body: body, headers: headers) end |