struct t_BillingEvent
{
TINAScsAmcCommon::t_DateTime time;
t_BillingSequence seq;
Security::Opaque proof;
};
Billing event definition.
time - issue date of billing statement.
seq - billing event sequence.
proof - proof of origin attached by the
originator of the event, when
necessary.
struct t_BillingMeasurement
{
TINACommonTypes::t_UserId userId;
TINACommonTypes::t_SessionId sessionId;
TINAScsAmcCommon::t_TariffId tariffId;
TINAScsMgmtCtxt::t_MgmtCtxtID mgmtctxtId;
TINAScsAmcCommon::t_DateTime time;
t_BillingStatus status;
t_BillingEventType eventType;
eventData event_data;
t_BillingUnit billingUnit;
double uvalue;
};
Billing Event definition
userId - left blank when billing event
is not per user.
sessionId - left blank when billing event
is not per session.
tariffId - Id of tariff, from which billing
info. is calculated.
mgmtctxtId - Management Context Id to which
this service transaction
follows
union eventData switch(t_BillingEventType)
{
case differential: TINAScsAmcCommon::t_Timeval tval;
case normal: TINAScsAmcCommon::t_fromTo fromTo_normal;
case hourly: TINAScsAmcCommon::t_fromTo fromTo_hourly;
case daily: TINAScsAmcCommon::t_fromTo fromTo_daily;
case weekly: TINAScsAmcCommon::t_fromTo fromTo_weekly;
case monthly: TINAScsAmcCommon::t_fromTo fromTo_monthly;
case bi_monthly: TINAScsAmcCommon::t_fromTo fromTo_bi_monthly;
case yearly: TINAScsAmcCommon::t_fromTo fromTo_yearly;
};
enum t_BillingEventType
{
differential,
normal,
hourly,
daily,
weekly,
monthly,
bi_monthly,
yearly
};
enum t_BillingStatus
{
inProcess,
terminated,
final
};
Billing Status : status of billing information
inProcess - service session is on-going.
terrminated - user is out of the service session,
but service transaction not concluded.
final - correlation with PM done, service transaction
concluded.
typedef sequence<t_BillingEvent> t_BillingEventList;
typedef sequence<t_BillingMeasurement> t_BillingSequence;
typedef string<16> t_BillingUnit;
international currency acronym should be used.
Generated by the OmniBroker IDL-to-HTML translator (non-commercial)