anchor.diff:  -module(ocs_rating).
   -copyright('Copyright (c) 2016 - 2021 SigScale Global Inc.').
   
  --export([rate/13, charge/9]).
  +-export([rate/13, charge/13]).
   -export([authorize/8]).
   -export([session_attributes/1]).
   -export([filter_prices_tod/2, filter_prices_key/2]).
  
positive.code: 			end
  	end;
  charge2(#service{enabled = false} = Service, ServiceId, #product{id = ProductId} = Product,
  		Buckets, #price{units = Units, size = UnitSize, amount = UnitPrice},
  		interim, {Units, Amount} = DebitAmount, _ReserveAmount,
  		SessionId, Rated, ChargingKey) ->
  	case update_session(Units, Amount, 0,
  
negative.code: 			last_modified = {Now, erlang:unique_integer([positive])},
  			reservations = [NewReservation | Reservations]} | T],
  	{Charged + Charge, lists:reverse(Acc) ++ NewBuckets};
  charge_session1(Type, Charge, Now, ServiceId, ChargingKey, SessionId,
  		[#bucket{units = Type, remain_amount = R, end_date = Expires,
  		reservations = Reservations} = B | T], Acc, Charged)
  		when Charge > 0, R =< Charge, R > 0,
  