Reserve volume to be charged to user. Specify username and password for authentication.

Namespace: hr.tis.mgw.client.charging
Assembly:   mgw2-client-1.0.6 (in mgw2-client-1.0.6)
Version: 2.1.0.6

Syntax

Visual Basic (Declaration)
Public MustOverride Function reserveVolume ( _
	user As String, _
	volume As Long, _
	billingText As String, _
	username As String, _
	password As String _
) As Charging
C#
public abstract Charging reserveVolume (
	string user,
	long volume,
	string billingText,
	string username,
	string password
)
Visual C++
public:
virtual Charging^ reserveVolume (
	String^ user, 
	long long volume, 
	String^ billingText, 
	String^ username, 
	String^ password
) abstract

Parameters

user
System.String
User account for which reservation is required
volume
System.Int64
Volume to reserve
billingText
System.String
Text to appear on the bill
username
System.String
Authentication username
password
System.String
Authentication password

Return Value

Charging class holding reservation identifier

Exceptions

ExceptionCondition
hr.tis.mgw.client.GatewayExceptionGeneric exception base class for all exceptions.