Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: dial.h
Link against: dial.lib

Class TChargeCard

class TChargeCard;

Description

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

Members

Defined in TChargeCard:
IntlRule(), LocalRule(), NatRule(), Number(), Pin(), SetIntlRule(), SetLocalRule(), SetNatRule(), SetNumber(), SetPin(), TChargeCard(), TChargeCard(), ValidateChargeCardInfo()


Construction and destruction


TChargeCard()

IMPORT_C TChargeCard();

Description

Creates an empty TChargeCard.


TChargeCard()

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

Description

Creates a TChargeCard containing the parameters.

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.

[Top]


Member functions


SetNumber()

IMPORT_C void SetNumber(const TDesC &);

Description

Set the string that represents the charge card account number.

Parameters

const TDesC &


SetPin()

IMPORT_C void SetPin(const TDesC &);

Description

Set the string that represents the charge card PIN number.

Parameters

const TDesC &


SetLocalRule()

IMPORT_C void SetLocalRule(const TDesC &);

Description

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.

Parameters

const TDesC &


SetNatRule()

IMPORT_C void SetNatRule(const TDesC &);

Description

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.

Parameters

const TDesC &


SetIntlRule()

IMPORT_C void SetIntlRule(const TDesC &);

Description

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.

Parameters

const TDesC &


ValidateChargeCardInfo()

IMPORT_C TBool ValidateChargeCardInfo() const;

Description

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

Return value

TBool


Number()

IMPORT_C TPtrC Number() const;

Description

Returns the string that represents the charge card account number.

Return value

TPtrC


Pin()

IMPORT_C TPtrC Pin() const;

Description

Returns the string that represents the charge card PIN number.

Return value

TPtrC


LocalRule()

IMPORT_C TPtrC LocalRule() const;

Description

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.

Return value

TPtrC


NatRule()

IMPORT_C TPtrC NatRule() const;

Description

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.

Return value

TPtrC


IntlRule()

IMPORT_C TPtrC IntlRule() const;

Description

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.

Return value

TPtrC