Class BillingSummaryResponse
java.lang.Object
com.iland.core.web.rest.response.billing.BillingSummaryResponse
- All Implemented Interfaces:
Serializable
Billing Summary Response.
- Author:
- Nick Kasprzak
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBillingSummaryResponse(BillResponse previousMonth, BillResponse currentMonth, BillResponse previousHour, BillResponse currentHour, boolean testDrive) -
Method Summary
Modifier and TypeMethodDescriptionGet the current hour's bill.Get the current month's bill.Get the previous hour's bill.Get the previous month's bill.booleanGet is test drive.
-
Constructor Details
-
BillingSummaryResponse
public BillingSummaryResponse(BillResponse previousMonth, BillResponse currentMonth, BillResponse previousHour, BillResponse currentHour, boolean testDrive)
-
-
Method Details
-
getPreviousMonth
Get the previous month's bill.- Returns:
BillResponseprevious month bill
-
getCurrentMonth
Get the current month's bill.- Returns:
BillResponsecurrent month bill
-
getPreviousHour
Get the previous hour's bill.- Returns:
BillResponseprevious month bill
-
getCurrentHour
Get the current hour's bill.- Returns:
BillResponsecurrent hour bill
-
isTestDrive
public boolean isTestDrive()Get is test drive.- Returns:
- is test drive
-