# Code generated by protoc-gen-twirp_ruby 1.0.0, DO NOT EDIT.
require 'twirp'
require_relative 'service_pb.rb'

module Code
  module Justin
    module Tv
      module Revenue
        module Mulan
          class MulanService < Twirp::Service
            package 'code.justin.tv.revenue.mulan'
            service 'Mulan'
            rpc :QueryPurchaseProfile, QueryPurchaseProfileRequest, QueryPurchaseProfileResponse, :ruby_method => :query_purchase_profile
            rpc :GetPurchaseProfilesByTicketIDs, GetPurchaseProfilesByTicketIDsRequest, GetPurchaseProfilesByTicketIDsResponse, :ruby_method => :get_purchase_profiles_by_ticket_i_ds
            rpc :GetSubscriptionsByIDs, GetSubscriptionsByIDsRequest, GetSubscriptionsByIDsResponse, :ruby_method => :get_subscriptions_by_i_ds
            rpc :GetUnacknowledgedSubscriptionEvents, GetUnacknowledgedSubscriptionEventsRequest, GetUnacknowledgedSubscriptionEventsResponse, :ruby_method => :get_unacknowledged_subscription_events
            rpc :GetPurchaseOrdersByIDs, GetPurchaseOrdersByIDsRequest, GetPurchaseOrdersByIDsResponse, :ruby_method => :get_purchase_orders_by_i_ds
            rpc :GetPurchaseOrderPaymentsByIDs, GetPurchaseOrderPaymentsByIDsRequest, GetPurchaseOrderPaymentsByIDsResponse, :ruby_method => :get_purchase_order_payments_by_i_ds
            rpc :GetActiveSubscriptionsByUserIDAndTenant, GetActiveSubscriptionsByUserIDAndTenantRequest, GetActiveSubscriptionsByUserIDAndTenantResponse, :ruby_method => :get_active_subscriptions_by_user_i_d_and_tenant
            rpc :GetAggregatedPurchaseOrderAmounts, GetAggregatedPurchaseOrderAmountsRequest, GetAggregatedPurchaseOrderAmountsResponse, :ruby_method => :get_aggregated_purchase_order_amounts
            rpc :GetMaterializedOffer, GetMaterializedOfferRequest, GetMaterializedOfferResponse, :ruby_method => :get_materialized_offer
            rpc :GetBalanceHistory, GetBalanceHistoryRequest, GetBalanceHistoryResponse, :ruby_method => :get_balance_history
          end

          class MulanClient < Twirp::Client
            client_for MulanService
          end
        end
      end
    end
  end
end
