ObjectiveC SDK  1.0
Public Member Functions
QuotaService Class Reference

#include <QuotaService.h>

List of all members.

Public Member Functions

GetQuotaInformationResponsegetQuotaInformation:withEnvironment:withModuleId: (STSToken *token,[withEnvironment] NSString *environment,[withModuleId] NSString *moduleId)
ChangeQuotaPoolResponsechangeQuotaPool:withEnvironment:withModuleId:withValue: (STSToken *token,[withEnvironment] NSString *environment,[withModuleId] NSString *moduleId,[withValue] NSString *value)
GetAccountBalanceResponsegetAccountBalance:withEnvironment:withAccountId: (STSToken *token,[withEnvironment] NSString *environment,[withAccountId] NSString *accountId)

Detailed Description

Service class which provides functionality to use the Telekom account service Quota.


Member Function Documentation

ChangeQuotaPoolResponse * QuotaService::changeQuotaPool:withEnvironment:withModuleId:withValue: ( STSToken token,
[withEnvironment] NSString*  environment,
[withModuleId] NSString*  moduleId,
[withValue] NSString*  value 
) [virtual]

Set quotes.

Parameters:
tokenreceived security token for further client - server communication.
environmentpossible values are production, sandbox and mock.
moduleIdidentification for service and environment:
  • "SmsProduction": Send SMS, production environment
  • "SmsSandbox:" Send SMS, sandbox environment
  • "MmsProduction": Send MMS, production environment
  • "MmsSandbox:" Send MMS, sandbox environment
  • "VoiceButlerProduction": Voice Call, production environment
  • "VoiceButlerSandbox:" Voice Call, sandbox environment
  • "CCSProduction": Conference Call, production environment
  • "CCSSandbox:" Conference Call, sandbox environment
  • "IpLocationProduction": IP Location, production environment
  • "IpLocationSandbox:" IP Location, sandbox environment
valuethe new maximum of available quotes per day
Returns:
the result of the operation "set quotes"
GetAccountBalanceResponse * QuotaService::getAccountBalance:withEnvironment:withAccountId: ( STSToken token,
[withEnvironment] NSString*  environment,
[withAccountId] NSString*  accountId 
) [virtual]

Request for account balance information.

Parameters:
tokenreceived security token for further client - server communication.
environmentpossible values are production, sandbox and mock.
accountIdaccount ids of the sub accounts. If no id is specified the main account balance information will be returned.
Returns:
the result of the operation "request for account balance information"
GetQuotaInformationResponse * QuotaService::getQuotaInformation:withEnvironment:withModuleId: ( STSToken token,
[withEnvironment] NSString*  environment,
[withModuleId] NSString*  moduleId 
) [virtual]

Get quotes.

Parameters:
tokenreceived security token for further client - server communication.
environmentpossible values are production, sandbox and mock.
moduleIdidentification for service and environment:
  • "SmsProduction": Send SMS, production environment
  • "SmsSandbox:" Send SMS, sandbox environment
  • "MmsProduction": Send MMS, production environment
  • "MmsSandbox:" Send MMS, sandbox environment
  • "VoiceButlerProduction": Voice Call, production environment
  • "VoiceButlerSandbox:" Voice Call, sandbox environment
  • "CCSProduction": Conference Call, production environment
  • "CCSSandbox:" Conference Call, sandbox environment
  • "IpLocationProduction": IP Location, production environment
  • "IpLocationSandbox:" IP Location, sandbox environment
Returns:
the result of the operation "get quotes"

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Properties