|
||||||||||
| 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
hr.tis.mgw.client.charging.ChargingManager2Impl
Implementation of ChargingManager2 that uses Axis SOAP library for communication with mGw Parlay X web services.
You have to specify Service URL to communicate with mGw Parlay X web services.
Specify username and password as default values when authenticating to mGw. If specified every method call that don't have username and password parameters will use them for authentication. If not specified exception will be thrown since authentication to mGw is required.
| Constructor Summary | |
ChargingManager2Impl()
|
|
ChargingManager2Impl(java.lang.String serviceURL)
|
|
ChargingManager2Impl(java.lang.String serviceURL,
java.lang.String username,
java.lang.String password)
|
|
| Method Summary | |
void |
chargeAmount(java.lang.String user,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String referenceCode)
Charge amount to user. |
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. |
void |
chargeAmountReservation(Charging charging,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String referenceCode)
Charge amount reservation to user. |
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. |
void |
chargeVolume(java.lang.String user,
long volume,
java.lang.String billingText,
java.lang.String referenceCode)
Charge volume to user. |
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. |
void |
chargeVolumeReservation(Charging charging,
long volume,
java.lang.String billingText,
java.lang.String referenceCode)
Charge volume reservation to user. |
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. |
java.math.BigDecimal |
getAmount(java.lang.String user,
long volume)
Get amount from volume. |
java.math.BigDecimal |
getAmount(java.lang.String user,
long volume,
java.lang.String username,
java.lang.String password)
Get amount from volume. |
java.math.BigDecimal |
getReservationAmount(java.lang.String user,
long volume)
Get amount from volume for reservation. |
java.math.BigDecimal |
getReservationAmount(java.lang.String user,
long volume,
java.lang.String username,
java.lang.String password)
Get amount from volume for reservation. |
void |
refundAmount(java.lang.String user,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String referenceCode)
Refund amount to user. |
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. |
void |
refundVolume(java.lang.String user,
long volume,
java.lang.String billingText,
java.lang.String referenceCode)
Refund volume to user. |
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. |
void |
releaseAmountReservation(Charging charging)
Release reservation. |
void |
releaseAmountReservation(Charging charging,
java.lang.String username,
java.lang.String password)
Release reservation. |
void |
releaseVolumeReservation(Charging charging)
Release reservation. |
void |
releaseVolumeReservation(Charging charging,
java.lang.String username,
java.lang.String password)
Release reservation. |
void |
reserveAdditionalAmount(Charging charging,
java.math.BigDecimal amount,
java.lang.String billingText)
Reserve additional amount to previous amount reservation. |
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. |
void |
reserveAdditionalVolume(Charging charging,
long volume,
java.lang.String billingText)
Reserve additional volume to previous volume reservation. |
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. |
Charging |
reserveAmount(java.lang.String user,
java.math.BigDecimal amount,
java.lang.String billingText)
Reserve amount to be charged to user. |
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. |
Charging |
reserveVolume(java.lang.String user,
long volume,
java.lang.String billingText)
Reserve volume to be charged to user. |
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 ChargingManager2Impl()
public ChargingManager2Impl(java.lang.String serviceURL)
public ChargingManager2Impl(java.lang.String serviceURL,
java.lang.String username,
java.lang.String password)
| Method Detail |
public void chargeAmount(java.lang.String user,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String referenceCode)
throws GatewayException
ChargingManager2
chargeAmount in class ChargingManager2user - 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 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
ChargingManager2
chargeAmount in class ChargingManager2user - 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 void refundAmount(java.lang.String user,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String referenceCode)
throws GatewayException
ChargingManager2
refundAmount in class ChargingManager2user - 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 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
ChargingManager2
refundAmount in class ChargingManager2user - 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 void chargeVolume(java.lang.String user,
long volume,
java.lang.String billingText,
java.lang.String referenceCode)
throws GatewayException
ChargingManager2
chargeVolume in class ChargingManager2user - 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 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
ChargingManager2
chargeVolume in class ChargingManager2user - 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 void refundVolume(java.lang.String user,
long volume,
java.lang.String billingText,
java.lang.String referenceCode)
throws GatewayException
ChargingManager2
refundVolume in class ChargingManager2user - 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 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
ChargingManager2
refundVolume in class ChargingManager2user - 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 java.math.BigDecimal getAmount(java.lang.String user,
long volume)
throws GatewayException
ChargingManager2
getAmount in class ChargingManager2user - 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 java.math.BigDecimal getAmount(java.lang.String user,
long volume,
java.lang.String username,
java.lang.String password)
throws GatewayException
ChargingManager2
getAmount in class ChargingManager2user - 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 Charging reserveAmount(java.lang.String user,
java.math.BigDecimal amount,
java.lang.String billingText)
throws GatewayException
ChargingManager2
reserveAmount in class ChargingManager2user - 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 Charging reserveAmount(java.lang.String user,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String username,
java.lang.String password)
throws GatewayException
ChargingManager2
reserveAmount in class ChargingManager2user - 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 void reserveAdditionalAmount(Charging charging,
java.math.BigDecimal amount,
java.lang.String billingText)
throws GatewayException
ChargingManager2
reserveAdditionalAmount in class ChargingManager2charging - 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 void reserveAdditionalAmount(Charging charging,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String username,
java.lang.String password)
throws GatewayException
ChargingManager2
reserveAdditionalAmount in class ChargingManager2charging - 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 void chargeAmountReservation(Charging charging,
java.math.BigDecimal amount,
java.lang.String billingText,
java.lang.String referenceCode)
throws GatewayException
ChargingManager2
chargeAmountReservation in class ChargingManager2charging - 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 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
ChargingManager2
chargeAmountReservation in class ChargingManager2charging - 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 void releaseAmountReservation(Charging charging)
throws GatewayException
ChargingManager2
releaseAmountReservation in class ChargingManager2charging - Charging obtained from previous amount reservation
GatewayException - Generic exception base class for all exceptions.Charging,
GatewayException,
hr.tis.mgw.client.exceptions
public void releaseAmountReservation(Charging charging,
java.lang.String username,
java.lang.String password)
throws GatewayException
ChargingManager2
releaseAmountReservation in class ChargingManager2charging - 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 Charging reserveVolume(java.lang.String user,
long volume,
java.lang.String billingText)
throws GatewayException
ChargingManager2
reserveVolume in class ChargingManager2user - 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 Charging reserveVolume(java.lang.String user,
long volume,
java.lang.String billingText,
java.lang.String username,
java.lang.String password)
throws GatewayException
ChargingManager2
reserveVolume in class ChargingManager2user - 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 void reserveAdditionalVolume(Charging charging,
long volume,
java.lang.String billingText)
throws GatewayException
ChargingManager2
reserveAdditionalVolume in class ChargingManager2charging - 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 void reserveAdditionalVolume(Charging charging,
long volume,
java.lang.String billingText,
java.lang.String username,
java.lang.String password)
throws GatewayException
ChargingManager2
reserveAdditionalVolume in class ChargingManager2charging - 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 void chargeVolumeReservation(Charging charging,
long volume,
java.lang.String billingText,
java.lang.String referenceCode)
throws GatewayException
ChargingManager2
chargeVolumeReservation in class ChargingManager2charging - 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 void chargeVolumeReservation(Charging charging,
long volume,
java.lang.String billingText,
java.lang.String referenceCode,
java.lang.String username,
java.lang.String password)
throws GatewayException
ChargingManager2
chargeVolumeReservation in class ChargingManager2charging - 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 void releaseVolumeReservation(Charging charging)
throws GatewayException
ChargingManager2
releaseVolumeReservation in class ChargingManager2charging - Charging obtained from previous volume reservation
GatewayException - Generic exception base class for all exceptions.Charging,
GatewayException,
hr.tis.mgw.client.exceptions
public void releaseVolumeReservation(Charging charging,
java.lang.String username,
java.lang.String password)
throws GatewayException
ChargingManager2
releaseVolumeReservation in class ChargingManager2charging - 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 java.math.BigDecimal getReservationAmount(java.lang.String user,
long volume)
throws GatewayException
ChargingManager2
getReservationAmount in class ChargingManager2user - 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 java.math.BigDecimal getReservationAmount(java.lang.String user,
long volume,
java.lang.String username,
java.lang.String password)
throws GatewayException
ChargingManager2
getReservationAmount in class ChargingManager2user - 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 | |||||||||