public class BillResponse extends Object implements Serializable
Constructor and Description |
---|
BillResponse(ResourceCostAndUsageResponse bandwidth,
ResourceCostAndUsageResponse cpu,
ResourceCostAndUsageResponse memory,
DiskCostAndUsageResponse disk,
double totalCost,
double totalCostEstimate,
int year,
int month,
String entityUuid,
String entityName,
EntityType entityType,
List<BillLineItemResponse> lineItems,
CurrencyCode currencyCode,
boolean testDrive,
BillingModelType billingModelType) |
Modifier and Type | Method and Description |
---|---|
ResourceCostAndUsageResponse |
getBandwidth()
Get the bandwidth cost and usage.
|
BillingModelType |
getBillingModelType()
Returns the type of the billing model applied on this bill
|
ResourceCostAndUsageResponse |
getCpu()
Get the CPU cost and usage.
|
CurrencyCode |
getCurrencyCode()
Get the currency code.
|
DiskCostAndUsageResponse |
getDisk()
Get the disk cost and usage.
|
String |
getEntityName()
Get the entity name.
|
EntityType |
getEntityType()
Get the entity type.
|
String |
getEntityUuid()
Get the enitity UUID.
|
List<BillLineItemResponse> |
getLineItems()
Get the line items for the bill.
|
ResourceCostAndUsageResponse |
getMemory()
Get the memory cost and usage.
|
int |
getMonth()
Get the billing month.
|
double |
getTotalCost()
Get the total cost.
|
double |
getTotalCostEstimate()
Get the end of month total cost estimate.
|
int |
getYear()
Get the billing year.
|
boolean |
isTestDrive()
Get the test drive flag.
|
public BillResponse(ResourceCostAndUsageResponse bandwidth, ResourceCostAndUsageResponse cpu, ResourceCostAndUsageResponse memory, DiskCostAndUsageResponse disk, double totalCost, double totalCostEstimate, int year, int month, String entityUuid, String entityName, EntityType entityType, List<BillLineItemResponse> lineItems, CurrencyCode currencyCode, boolean testDrive, BillingModelType billingModelType)
public ResourceCostAndUsageResponse getBandwidth()
public ResourceCostAndUsageResponse getCpu()
public ResourceCostAndUsageResponse getMemory()
public DiskCostAndUsageResponse getDisk()
public double getTotalCost()
public double getTotalCostEstimate()
public int getYear()
public int getMonth()
public String getEntityName()
public String getEntityUuid()
public EntityType getEntityType()
String
entity typepublic List<BillLineItemResponse> getLineItems()
List
of BillLineItemResponse
bill line itemspublic CurrencyCode getCurrencyCode()
public boolean isTestDrive()
public BillingModelType getBillingModelType()
BillingModelType
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.