def retrieve_payment(location_id, payment_id, opts = {})
      data, _status_code, _headers = retrieve_payment_with_http_info(location_id, payment_id, opts)
      return data
    end
def retrieve_payment(location_id, payment_id, opts = {})
      data, _status_code, _headers = retrieve_payment_with_http_info(location_id, payment_id, opts)
      return data
    end
RetrievePayment
 Provides comprehensive information for a single payment.
 @param location_id The ID of the payment&#39;s associated location.
 @param payment_id The Square-issued payment ID. payment_id comes from Payment objects returned by the List Payments endpoint, Settlement objects returned by the List Settlements endpoint, or Refund objects returned by the List Refunds endpoint.
 @param [Hash] opts the optional parameters
 @return [V1Payment]