# Encoding: utf-8
#
# This is auto-generated code, changes will be overwritten.
#
# Copyright:: Copyright 2017, Google Inc. All Rights Reserved.
# License:: Licensed under the Apache License, Version 2.0.
#
# Code generated by AdsCommon library 0.14.0 on 2017-05-11 13:19:24.

require 'ads_common/savon_service'
require 'dfp_api/v201705/reconciliation_report_row_service_registry'

module DfpApi; module V201705; module ReconciliationReportRowService
  class ReconciliationReportRowService < AdsCommon::SavonService
    def initialize(config, endpoint)
      namespace = 'https://www.google.com/apis/ads/publisher/v201705'
      super(config, endpoint, namespace, :v201705)
    end

    def get_reconciliation_report_rows_by_statement(*args, &block)
      return execute_action('get_reconciliation_report_rows_by_statement', args, &block)
    end

    def get_reconciliation_report_rows_by_statement_to_xml(*args)
      return get_soap_xml('get_reconciliation_report_rows_by_statement', args)
    end

    def update_reconciliation_report_rows(*args, &block)
      return execute_action('update_reconciliation_report_rows', args, &block)
    end

    def update_reconciliation_report_rows_to_xml(*args)
      return get_soap_xml('update_reconciliation_report_rows', args)
    end

    private

    def get_service_registry()
      return ReconciliationReportRowServiceRegistry
    end

    def get_module()
      return DfpApi::V201705::ReconciliationReportRowService
    end
  end
end; end; end
