aboutsummaryrefslogtreecommitdiff
path: root/csta/source-files/asn1-source/charge-info.asn1
blob: c6155671a2dd6dd529963112a2436aa6336ecfca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
CSTA-charge-info
	{ iso( 1) identified-organization( 3) icd-ecma( 12)
		standard( 0) csta3( 285) charge-info( 133) }

DEFINITIONS ::=
BEGIN

EXPORTS
ChargingInfo;

ChargingInfo ::= SEQUENCE
{ 	numberUnits 			NumberUnits,
	typeOfChargingInfo 		ENUMERATED
	{ 	subTotal 		(0),
		total 			(1) } }

NumberUnits ::= CHOICE
{ 	numberOfChargeUnits 		[0] IMPLICIT 	NumberOfChargingUnits,
	numberOfCurrencyUnits 		[1] IMPLICIT 	NumberOfCurrencyUnits }

NumberOfChargingUnits ::= SEQUENCE OF SEQUENCE
{ 	chargingUnits 		INTEGER,
	typeOfUnits 		OCTET STRING 	OPTIONAL }

NumberOfCurrencyUnits ::= SEQUENCE
{ 	currencyType 		OCTET STRING, 	-- size 0 indicates default currency
	currencyAmount 		INTEGER,
	currencyMultiplier 	ENUMERATED
	{ 	oneThousandth 		(0),
		oneHundredth 		(1),
		oneTenth 		(2),
		one 			(3),
		ten 			(4),
		hundred 		(5),
		thousand 		(6)
 	}
}

END -- of CSTA-charge-info