|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthr.tis.mgw.client.common.AbstractManager2
hr.tis.mgw.client.charging.ChargingManager2
Charging interface. Support various operations for charging and reserving funds based on amount or volume. Please contact mobile operator for supported methods.
| Constructor Summary | |
ChargingManager2()
|
|
| Method Summary | |
abstract void |
chargeAmount(java.lang.String user,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String referenceCode)
Charge amount to user. |
abstract void |
chargeAmount(java.lang.String user,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String referenceCode,
java.lang.String username,
java.lang.String password)
Charge amount to user. |
abstract void |
chargeAmountReservation(Charging charging,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String referenceCode)
Charge amount reservation to user. |
abstract void |
chargeAmountReservation(Charging charging,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String referenceCode,
java.lang.String username,
java.lang.String password)
Charge amount reservation to user. |
abstract void |
chargeVolume(java.lang.String user,
long volume,
java.lang.String billingText,
java.lang.String referenceCode)
Charge volume to user. |
abstract void |
chargeVolume(java.lang.String user,
long volume,
java.lang.String billingText,
java.lang.String referenceCode,
java.lang.String username,
java.lang.String password)
Charge volume to user. |
abstract void |
chargeVolumeReservation(Charging charging,
long volume,
java.lang.String billingText,
java.lang.String referenceCode)
Charge volume reservation to user. |
abstract void |
chargeVolumeReservation(Charging charging,
long volume,
java.lang.String billingText,
java.lang.String referenceCode,
java.lang.String username,
java.lang.String password)
Charge volume reservation to user. |
abstract java.math.BigDecimal |
getAmount(java.lang.String user,
long volume)
Get amount from volume. |
abstract java.math.BigDecimal |
getAmount(java.lang.String user,
long volume,
java.lang.String username,
java.lang.String password)
Get amount from volume. |
abstract java.math.BigDecimal |
getReservationAmount(java.lang.String user,
long volume)
Get amount from volume for reservation. |
abstract java.math.BigDecimal |
getReservationAmount(java.lang.String user,
long volume,
java.lang.String username,
java.lang.String password)
Get amount from volume for reservation. |
abstract void |
refundAmount(java.lang.String user,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String referenceCode)
Refund amount to user. |
abstract void |
refundAmount(java.lang.String user,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String referenceCode,
java.lang.String username,
java.lang.String password)
Refund amount to user. |
abstract void |
refundVolume(java.lang.String user,
long volume,
java.lang.String billingText,
java.lang.String referenceCode)
Refund volume to user. |
abstract void |
refundVolume(java.lang.String user,
long volume,
java.lang.String billingText,
java.lang.String referenceCode,
java.lang.String username,
java.lang.String password)
Refund volume to user. |
abstract void |
releaseAmountReservation(Charging charging)
Release reservation. |
abstract void |
releaseAmountReservation(Charging charging,
java.lang.String username,
java.lang.String password)
Release reservation. |
abstract void |
releaseVolumeReservation(Charging charging)
Release reservation. |
abstract void |
releaseVolumeReservation(Charging charging,
java.lang.String username,
java.lang.String password)
Release reservation. |
abstract void |
reserveAdditionalAmount(Charging charging,
java.math.BigDecimal amount,
java.lang.String billingText)
Reserve additional amount to previous amount reservation. |
abstract void |
reserveAdditionalAmount(Charging charging,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String username,
java.lang.String password)
Reserve additional amount to previous amount reservation. |
abstract void |
reserveAdditionalVolume(Charging charging,
long volume,
java.lang.String billingText)
Reserve additional volume to previous volume reservation. |
abstract void |
reserveAdditionalVolume(Charging charging,
long volume,
java.lang.String billingText,
java.lang.String username,
java.lang.String password)
Reserve additional volume to previous volume reservation. |
abstract Charging |
reserveAmount(java.lang.String user,
java.math.BigDecimal amount,
java.lang.String billingText)
Reserve amount to be charged to user. |
abstract Charging |
reserveAmount(java.lang.String user,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String username,
java.lang.String password)
Reserve amount to be charged to user. |
abstract Charging |
reserveVolume(java.lang.String user,
long volume,
java.lang.String billingText)
Reserve volume to be charged to user. |
abstract Charging |
reserveVolume(java.lang.String user,
long volume,
java.lang.String billingText,
java.lang.String username,
java.lang.String password)
Reserve volume to be charged to user. |
| Methods inherited from class hr.tis.mgw.client.common.AbstractManager2 |
getPassword, getServerURL, getTimeout, getUsername, isThreadedListener, setPassword, setServerURL, setThreadedListener, setTimeout, setUsername |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ChargingManager2()
| Method Detail |
public abstract void chargeAmount(java.lang.String user,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String referenceCode)
throws GatewayException
user - User account to be chargedamount - Amount to chargebillingText - Text to appear on the billreferenceCode - Code that uniquely identify request
GatewayException - Generic exception base class for all exceptions.GatewayException,
hr.tis.mgw.client.exceptions
public abstract void chargeAmount(java.lang.String user,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String referenceCode,
java.lang.String username,
java.lang.String password)
throws GatewayException
user - User account to be chargedamount - Amount to chargebillingText - Text to appear on the billreferenceCode - Code that uniquely identify requestusername - Authentication usernamepassword - Authentication password
GatewayException - Generic exception base class for all exceptions.GatewayException,
hr.tis.mgw.client.exceptions
public abstract void refundAmount(java.lang.String user,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String referenceCode)
throws GatewayException
user - User account to refund funds toamount - Amount to refundbillingText - Text to appear on the billreferenceCode - Code that uniquely identify request
GatewayException - Generic exception base class for all exceptions.GatewayException,
hr.tis.mgw.client.exceptions
public abstract void refundAmount(java.lang.String user,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String referenceCode,
java.lang.String username,
java.lang.String password)
throws GatewayException
user - User account to refund funds toamount - Amount to refundbillingText - Text to appear on the billreferenceCode - Code that uniquely identify requestusername - Authentication usernamepassword - Authentication password
GatewayException - Generic exception base class for all exceptions.GatewayException,
hr.tis.mgw.client.exceptions
public abstract void chargeVolume(java.lang.String user,
long volume,
java.lang.String billingText,
java.lang.String referenceCode)
throws GatewayException
user - User account to be chargedvolume - Volume to chargebillingText - Text to appear on the billreferenceCode - Code that uniquely identify request
GatewayException - Generic exception base class for all exceptions.GatewayException,
hr.tis.mgw.client.exceptions
public abstract void chargeVolume(java.lang.String user,
long volume,
java.lang.String billingText,
java.lang.String referenceCode,
java.lang.String username,
java.lang.String password)
throws GatewayException
user - User account to be chargedvolume - Volume to chargebillingText - Text to appear on the billreferenceCode - Code that uniquely identify requestusername - Authentication usernamepassword - Authentication password
GatewayException - Generic exception base class for all exceptions.GatewayException,
hr.tis.mgw.client.exceptions
public abstract void refundVolume(java.lang.String user,
long volume,
java.lang.String billingText,
java.lang.String referenceCode)
throws GatewayException
user - User account to refund funds tovolume - Volume to refundbillingText - Text to appear on the billreferenceCode - Code that uniquely identify request
GatewayException - Generic exception base class for all exceptions.GatewayException,
hr.tis.mgw.client.exceptions
public abstract void refundVolume(java.lang.String user,
long volume,
java.lang.String billingText,
java.lang.String referenceCode,
java.lang.String username,
java.lang.String password)
throws GatewayException
user - User account to refund funds tovolume - Volume to refundbillingText - Text to appear on the billreferenceCode - Code that uniquely identify requestusername - Authentication usernamepassword - Authentication password
GatewayException - Generic exception base class for all exceptions.GatewayException,
hr.tis.mgw.client.exceptions
public abstract java.math.BigDecimal getAmount(java.lang.String user,
long volume)
throws GatewayException
user - User account for which conversion is requiredvolume - Volume to convert to amount
GatewayException - Generic exception base class for all exceptions.GatewayException,
hr.tis.mgw.client.exceptions
public abstract java.math.BigDecimal getAmount(java.lang.String user,
long volume,
java.lang.String username,
java.lang.String password)
throws GatewayException
user - User account for which conversion is requiredvolume - Volume to convert to amountusername - Authentication usernamepassword - Authentication password
GatewayException - Generic exception base class for all exceptions.GatewayException,
hr.tis.mgw.client.exceptions
public abstract Charging reserveAmount(java.lang.String user,
java.math.BigDecimal amount,
java.lang.String billingText)
throws GatewayException
user - User account for which reservation is requiredamount - Amount to reservebillingText - Text to appear on the bill
GatewayException - Generic exception base class for all exceptions.Charging,
GatewayException,
hr.tis.mgw.client.exceptions
public abstract Charging reserveAmount(java.lang.String user,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String username,
java.lang.String password)
throws GatewayException
user - User account for which reservation is requiredamount - Amount to reservebillingText - Text to appear on the billusername - Authentication usernamepassword - Authentication password
GatewayException - Generic exception base class for all exceptions.Charging,
GatewayException,
hr.tis.mgw.client.exceptions
public abstract void reserveAdditionalAmount(Charging charging,
java.math.BigDecimal amount,
java.lang.String billingText)
throws GatewayException
charging - Charging obtained from previous amount reservationamount - Amount to add to reservationbillingText - Text to appear on the bill
GatewayException - Generic exception base class for all exceptions.Charging,
GatewayException,
hr.tis.mgw.client.exceptions
public abstract void reserveAdditionalAmount(Charging charging,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String username,
java.lang.String password)
throws GatewayException
charging - Charging obtained from previous amount reservationamount - Amount to add to reservationbillingText - Text to appear on the billusername - Authentication usernamepassword - Authentication password
GatewayException - Generic exception base class for all exceptions.Charging,
GatewayException,
hr.tis.mgw.client.exceptions
public abstract void chargeAmountReservation(Charging charging,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String referenceCode)
throws GatewayException
charging - Charging obtained from previous amount reservationamount - Amount to chargebillingText - Text to appear on the billreferenceCode - Code that uniquely identify request
GatewayException - Generic exception base class for all exceptions.Charging,
GatewayException,
hr.tis.mgw.client.exceptions
public abstract void chargeAmountReservation(Charging charging,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String referenceCode,
java.lang.String username,
java.lang.String password)
throws GatewayException
charging - Charging obtained from previous amount reservationamount - Amount to chargebillingText - Text to appear on the billreferenceCode - Code that uniquely identify requestusername - Authentication usernamepassword - Authentication password
GatewayException - Generic exception base class for all exceptions.Charging,
GatewayException,
hr.tis.mgw.client.exceptions
public abstract void releaseAmountReservation(Charging charging)
throws GatewayException
charging - Charging obtained from previous amount reservation
GatewayException - Generic exception base class for all exceptions.Charging,
GatewayException,
hr.tis.mgw.client.exceptions
public abstract void releaseAmountReservation(Charging charging,
java.lang.String username,
java.lang.String password)
throws GatewayException
charging - Charging obtained from previous amount reservationusername - Authentication usernamepassword - Authentication password
GatewayException - Generic exception base class for all exceptions.Charging,
GatewayException,
hr.tis.mgw.client.exceptions
public abstract Charging reserveVolume(java.lang.String user,
long volume,
java.lang.String billingText)
throws GatewayException
user - User account for which reservation is requiredvolume - Volume to reservebillingText - Text to appear on the bill
GatewayException - Generic exception base class for all exceptions.Charging,
GatewayException,
hr.tis.mgw.client.exceptions
public abstract Charging reserveVolume(java.lang.String user,
long volume,
java.lang.String billingText,
java.lang.String username,
java.lang.String password)
throws GatewayException
user - User account for which reservation is requiredvolume - Volume to reservebillingText - Text to appear on the billusername - Authentication usernamepassword - Authentication password
GatewayException - Generic exception base class for all exceptions.Charging,
GatewayException,
hr.tis.mgw.client.exceptions
public abstract void reserveAdditionalVolume(Charging charging,
long volume,
java.lang.String billingText)
throws GatewayException
charging - Charging obtained from previous volume reservationvolume - Volume to add to reservationbillingText - Text to appear on the bill
GatewayException - Generic exception base class for all exceptions.Charging,
GatewayException,
hr.tis.mgw.client.exceptions
public abstract void reserveAdditionalVolume(Charging charging,
long volume,
java.lang.String billingText,
java.lang.String username,
java.lang.String password)
throws GatewayException
charging - Charging obtained from previous volume reservationvolume - Volume to add to reservationbillingText - Text to appear on the billusername - Authentication usernamepassword - Authentication password
GatewayException - Generic exception base class for all exceptions.Charging,
GatewayException,
hr.tis.mgw.client.exceptions
public abstract void chargeVolumeReservation(Charging charging,
long volume,
java.lang.String billingText,
java.lang.String referenceCode)
throws GatewayException
charging - Charging obtained from previous volume reservationvolume - Volume to chargebillingText - Text to appear on the billreferenceCode - Code that uniquely identify request
GatewayException - Generic exception base class for all exceptions.Charging,
GatewayException,
hr.tis.mgw.client.exceptions
public abstract void chargeVolumeReservation(Charging charging,
long volume,
java.lang.String billingText,
java.lang.String referenceCode,
java.lang.String username,
java.lang.String password)
throws GatewayException
charging - Charging obtained from previous volume reservationvolume - Volume to chargebillingText - Text to appear on the billreferenceCode - Code that uniquely identify requestusername - Authentication usernamepassword - Authentication password
GatewayException - Generic exception base class for all exceptions.Charging,
GatewayException,
hr.tis.mgw.client.exceptions
public abstract void releaseVolumeReservation(Charging charging)
throws GatewayException
charging - Charging obtained from previous volume reservation
GatewayException - Generic exception base class for all exceptions.Charging,
GatewayException,
hr.tis.mgw.client.exceptions
public abstract void releaseVolumeReservation(Charging charging,
java.lang.String username,
java.lang.String password)
throws GatewayException
charging - Charging obtained from previous volume reservationusername - Authentication usernamepassword - Authentication password
GatewayException - Generic exception base class for all exceptions.Charging,
GatewayException,
hr.tis.mgw.client.exceptions
public abstract java.math.BigDecimal getReservationAmount(java.lang.String user,
long volume)
throws GatewayException
user - User account for which conversion is requiredvolume - Volume to convert to amount
GatewayException - Generic exception base class for all exceptions.GatewayException,
hr.tis.mgw.client.exceptions
public abstract java.math.BigDecimal getReservationAmount(java.lang.String user,
long volume,
java.lang.String username,
java.lang.String password)
throws GatewayException
user - User account for which conversion is requiredvolume - Volume to convert to amountusername - Authentication usernamepassword - Authentication password
GatewayException - Generic exception base class for all exceptions.GatewayException,
hr.tis.mgw.client.exceptions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||