Class: Klarna::Capture
Instance Method Summary collapse
Methods inherited from Client
Constructor Details
This class inherits a constructor from Klarna::Client
Instance Method Details
#shipping_info(order_id, capture_id, data) ⇒ Object
5 6 7 8 9 |
# File 'lib/klarna/capture.rb', line 5 def shipping_info(order_id, capture_id, data) do_request(:post, "/ordermanagement/v1/orders/#{order_id}/captures/#{capture_id}/shipping-info") do |request| request.body = data.to_json end end |