Location:
dial.h
Link against: dial.lib
class TChargeCard;
Contains information about a charge card. There are functions to get and set this information.
Defined in TChargeCard
:
IntlRule()
, LocalRule()
, NatRule()
, Number()
, Pin()
, SetIntlRule()
, SetLocalRule()
, SetNatRule()
, SetNumber()
, SetPin()
, TChargeCard()
, TChargeCard()
, ValidateChargeCardInfo()
IMPORT_C TChargeCard(const TChargeCardAccount &aNumber, const TChargeCardPin &aPin, const TChargeCardRule &aLocalRule, const
TChargeCardRule &aNatRule, const TChargeCardRule &aIntlRule);
Creates a TChargeCard containing the parameters.
|
IMPORT_C void SetNumber(const TDesC &);
Set the string that represents the charge card account number.
|
IMPORT_C void SetPin(const TDesC &);
Set the string that represents the charge card PIN number.
|
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.
|
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.
|
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.
|
IMPORT_C TBool ValidateChargeCardInfo() const;
True if the charge card number, PIN number, and the dialling rules (local, national and international) have been set.
|
IMPORT_C TPtrC Number() const;
Returns the string that represents the charge card account number.
|
IMPORT_C TPtrC Pin() const;
Returns the string that represents the charge card PIN number.
|
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.
|
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.
|
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.
|