TChargeCard Class Reference

class TChargeCard

Contains information about a charge card. There are functions to get and set this information.

This class has been deprecated from 9.1 and should no longer be used.

Constructor & Destructor Documentation

TChargeCard()

IMPORT_C TChargeCard ( )

Creates an empty TChargeCard . 9.1

TChargeCard(const TChargeCardAccount &, const TChargeCardPin &, const TChargeCardRule &, const TChargeCardRule &, const TChargeCardRule &)

IMPORT_C TChargeCard ( const TChargeCardAccount & aNumber,
const TChargeCardPin & aPin,
const TChargeCardRule & aLocalRule,
const TChargeCardRule & aNatRule,
const TChargeCardRule & aIntlRule
)

Creates a TChargeCard containing the parameters.

9.1

Parameters

const TChargeCardAccount & aNumber This string represents the charge card account number.
const TChargeCardPin & aPin This string represents the charge card PIN number.
const TChargeCardRule & aLocalRule This is a string representing the rule for dialling a local number. Each phone operator has its own rules for dialling local, national and international numbers.
const TChargeCardRule & aNatRule As for aLocalRule but for a national call.
const TChargeCardRule & aIntlRule As for aLocalRule but for an international call.

Member Functions Documentation

IntlRule()

IMPORT_C TPtrC IntlRule ( ) const

Returns the string that represents the rule for dialling an international number. Each phone operator has its own rules for dialling local, national and international numbers. 9.1

LocalRule()

IMPORT_C TPtrC LocalRule ( ) const

Returns the string that represents the rule for dialling a local number. Each phone operator has its own rules for dialling local, national and international numbers. 9.1

NatRule()

IMPORT_C TPtrC NatRule ( ) const

Returns the string that represents the rule for dialling a national number. Each phone operator has its own rules for dialling local, national and international numbers. 9.1

Number()

IMPORT_C TPtrC Number ( ) const

Returns the string that represents the charge card account number. 9.1

Pin()

IMPORT_C TPtrC Pin ( ) const

Returns the string that represents the charge card PIN number. 9.1

SetIntlRule(const TDesC &)

IMPORT_C void SetIntlRule ( const TDesC & )

Set the string that represents the rule for dialling an international number. Each phone operator has its own rules for dialling local, national and international numbers. 9.1

Parameters

const TDesC &

SetLocalRule(const TDesC &)

IMPORT_C void SetLocalRule ( const TDesC & )

Set the string that represents the rule for dialling a local number. Each phone operator has its own rules for dialling local, national and international numbers. 9.1

Parameters

const TDesC &

SetNatRule(const TDesC &)

IMPORT_C void SetNatRule ( const TDesC & )

Set the string that represents the rule for dialling a national number. Each phone operator has its own rules for dialling local, national and international numbers. 9.1

Parameters

const TDesC &

SetNumber(const TDesC &)

IMPORT_C void SetNumber ( const TDesC & )

Set the string that represents the charge card account number. 9.1

Parameters

const TDesC &

SetPin(const TDesC &)

IMPORT_C void SetPin ( const TDesC & )

Set the string that represents the charge card PIN number. 9.1

Parameters

const TDesC &

ValidateChargeCardInfo()

IMPORT_C TBool ValidateChargeCardInfo ( ) const

True if the charge card number, PIN number, and the dialling rules (local, national and international) have been set. 9.1

Member Data Documentation

TChargeCardRule iIntlRule

TChargeCardRule iIntlRule [private]

TChargeCardRule iLocalRule

TChargeCardRule iLocalRule [private]

TChargeCardRule iNatRule

TChargeCardRule iNatRule [private]

TChargeCardAccount iNumber

TChargeCardAccount iNumber [private]

TChargeCardPin iPin

TChargeCardPin iPin [private]