TChargeCard Class Reference

#include <dial.h>

Link against: dial.lib

class TChargeCard
Public Member Functions
TChargeCard()
TChargeCard(const TChargeCardAccount &, const TChargeCardPin &, const TChargeCardRule &, const TChargeCardRule &, const TChargeCardRule &)
IMPORT_C TPtrCIntlRule()
IMPORT_C TPtrCLocalRule()
IMPORT_C TPtrCNatRule()
IMPORT_C TPtrCNumber()
IMPORT_C TPtrCPin()
IMPORT_C voidSetIntlRule(const TDesC &)
IMPORT_C voidSetLocalRule(const TDesC &)
IMPORT_C voidSetNatRule(const TDesC &)
IMPORT_C voidSetNumber(const TDesC &)
IMPORT_C voidSetPin(const TDesC &)
IMPORT_C TBoolValidateChargeCardInfo()

Detailed Description

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

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

Constructor & Destructor Documentation

TChargeCard ( )

IMPORT_CTChargeCard()

Creates an empty Deprecated9.1 TChargeCard.

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

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

Creates a TChargeCard containing the parameters.

Deprecated9.1

Parameters
aNumberThis string represents the charge card account number.
aPinThis string represents the charge card PIN number.
aLocalRuleThis 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.
aNatRuleAs for aLocalRule but for a national call.
aIntlRuleAs for aLocalRule but for an international call.

Member Function Documentation

IntlRule ( )

IMPORT_C TPtrCIntlRule()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. Deprecated9.1

LocalRule ( )

IMPORT_C TPtrCLocalRule()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. Deprecated9.1

NatRule ( )

IMPORT_C TPtrCNatRule()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. Deprecated9.1

Number ( )

IMPORT_C TPtrCNumber()const

Returns the string that represents the charge card account number. Deprecated9.1

Pin ( )

IMPORT_C TPtrCPin()const

Returns the string that represents the charge card PIN number. Deprecated9.1

SetIntlRule ( const TDesC & )

IMPORT_C voidSetIntlRule(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. Deprecated9.1

SetLocalRule ( const TDesC & )

IMPORT_C voidSetLocalRule(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. Deprecated9.1

SetNatRule ( const TDesC & )

IMPORT_C voidSetNatRule(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. Deprecated9.1

SetNumber ( const TDesC & )

IMPORT_C voidSetNumber(const TDesC &)

Set the string that represents the charge card account number. Deprecated9.1

SetPin ( const TDesC & )

IMPORT_C voidSetPin(const TDesC &)

Set the string that represents the charge card PIN number. Deprecated9.1

ValidateChargeCardInfo ( )

IMPORT_C TBoolValidateChargeCardInfo()const

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