com.shephertz.app42.paas.sdk.jme.appTab
Class BillService
java.lang.Object
com.shephertz.app42.paas.sdk.jme.appTab.BillService
public class BillService
- extends java.lang.Object
Constructor Summary |
BillService(java.lang.String apiKey,
java.lang.String secretKey)
This is a constructor that takes |
Method Summary |
Bill |
getAllUsageByMonth(java.lang.String schemeName,
java.lang.String packageName,
java.lang.String userName,
java.lang.String billMonth,
java.lang.Integer year)
Fetch All the usage bills by month. |
Bill |
packageUsageByMonthAndYear(java.lang.String schemeName,
java.lang.String packageName,
java.lang.String userName,
java.lang.String billMonth,
java.lang.Integer year)
Generate bills as per the package use month and year wise. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BillService
public BillService(java.lang.String apiKey,
java.lang.String secretKey)
- This is a constructor that takes
- Parameters:
apiKey
- secretKey
- baseURL
-
getAllUsageByMonth
public Bill getAllUsageByMonth(java.lang.String schemeName,
java.lang.String packageName,
java.lang.String userName,
java.lang.String billMonth,
java.lang.Integer year)
throws App42Exception
- Fetch All the usage bills by month.
- Parameters:
schemeName
- - The name of the scheme for which you wan't to retrieve the billpackageName
- - The name of the package for which you wan't to retrieve the billuserName
- - The user for which bill is generatedbillMonth
- - The month name for which bill has to be fetched e.g. BillMonth.DECEMBERyear
- - The year for which usage has to be fetched e.g. 2012,2011
- Throws:
App42Exception
packageUsageByMonthAndYear
public Bill packageUsageByMonthAndYear(java.lang.String schemeName,
java.lang.String packageName,
java.lang.String userName,
java.lang.String billMonth,
java.lang.Integer year)
throws App42Exception
- Generate bills as per the package use month and year wise.
- Parameters:
schemeName
- - The name of the scheme for which you wan't to retrieve the billpackageName
- - The name of the package for which you wan't to retrieve the billuserName
- - The user for which bill is generatedbillMonth
- - The month name for which bill has to be fetched e.g. BillMonth.DECEMBERyear
- - The year for which usage has to be fetched e.g. 2012,2011
- Throws:
App42Exception