BillingServiceBase constructor
BillingServiceBase()
Implementation
BillingServiceBase() {
$addMethod(
$grpc.ServiceMethod<$0.BillingStatusRequest, $0.BillingStatusResponse>(
'GetStatus',
getStatus_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.BillingStatusRequest.fromBuffer(value),
($0.BillingStatusResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.BillingEvent, $0.BillingEvent>(
'Create',
create_Pre,
false,
false,
($core.List<$core.int> value) => $0.BillingEvent.fromBuffer(value),
($0.BillingEvent value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.BillingQuery, $1.PageResult>(
'List',
list_Pre,
false,
false,
($core.List<$core.int> value) => $0.BillingQuery.fromBuffer(value),
($1.PageResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.BillingQuery, $0.ExportResult>(
'Export',
export_Pre,
false,
false,
($core.List<$core.int> value) => $0.BillingQuery.fromBuffer(value),
($0.ExportResult value) => value.writeToBuffer()));
}