Class BillResponse
java.lang.Object
com.iland.core.web.rest.response.billing.BillResponse
- All Implemented Interfaces:
Serializable
BillResponse.
- Author:
- Brett Snyder
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBillResponse(ResourceCostAndUsageResponse bandwidth, ResourceCostAndUsageResponse cpu, ResourceCostAndUsageResponse memory, DiskCostAndUsageResponse disk, double totalCost, double totalCostEstimate, int year, int month, String entityUuid, String entityName, EntityTypeResponse entityType, List<BillLineItemResponse> lineItems, CurrencyCode currencyCode, boolean testDrive, BillingModelType billingModelType) -
Method Summary
Modifier and TypeMethodDescriptionGet the bandwidth cost and usage.Returns the type of the billing model applied on this billgetCpu()Get the CPU cost and usage.Get the currency code.getDisk()Get the disk cost and usage.Get the entity name.Get the entity type.Get the enitity UUID.Get the line items for the bill.Get the memory cost and usage.intgetMonth()Get the billing month.doubleGet the total cost.doubleGet the end of month total cost estimate.intgetYear()Get the billing year.booleanGet the test drive flag.
-
Constructor Details
-
Method Details
-
getBandwidth
Get the bandwidth cost and usage.- Returns:
- bandwidth cost and usage
-
getCpu
Get the CPU cost and usage.- Returns:
- CPU cost and usage
-
getMemory
Get the memory cost and usage.- Returns:
- memory cost and usage
-
getDisk
Get the disk cost and usage.- Returns:
- disk cost and usage
-
getTotalCost
public double getTotalCost()Get the total cost.- Returns:
- total cost
-
getTotalCostEstimate
public double getTotalCostEstimate()Get the end of month total cost estimate.- Returns:
- end of month cost estimate
-
getYear
public int getYear()Get the billing year.- Returns:
- year
-
getMonth
public int getMonth()Get the billing month.- Returns:
- billing month
-
getEntityName
Get the entity name.- Returns:
- entity name
-
getEntityUuid
Get the enitity UUID.- Returns:
- entity UUID
-
getEntityType
Get the entity type.- Returns:
Stringentity type
-
getLineItems
Get the line items for the bill.- Returns:
ListofBillLineItemResponsebill line items
-
getCurrencyCode
Get the currency code.- Returns:
- currency code
-
isTestDrive
public boolean isTestDrive()Get the test drive flag.- Returns:
- whether this is a test drive
-
getBillingModelType
Returns the type of the billing model applied on this bill- Returns:
- one of
BillingModelType
-