|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ace.mws.mam.Quote
class Quote
Quotes can be used to determine how much it will cost to use a resource or service. Provided the cost-only option is not specified, this step will additionally verify that the submitter has sufficient funds and meets all the allocation policy requirements for the usage, and can be used at the submission of the usage request as an early filter to prevent the usage from getting blocked when it tries to obtain a lien to start later. If a guaranteed quote is requested, a quote id is returned and can be used in the subsequent charge to guarantee the rates that were used to form the original quote. A guaranteed quote has the side effect of creating a quote record and a permanent usage record. A quote id will be returned which can be used with the lien and charge to claim the quoted charge rates. A cost-only quote can be used to determine how much would be charged for usage without verifying sufficient funds or checking to see if the charge could succeed.
Field Summary | |
---|---|
private BigDecimal |
amount
The total amount of the quote |
private Set |
details
(AppliedChargeRate collection) The applied charges that make up this quote. |
private Long |
id
The unique quote identifier. |
private String |
instance
The quote instance name. |
private Long |
usageRecord
The usage record id associated with this quote. |
Constructor Summary | |
Quote()
|
Method Summary | |
---|---|
BigDecimal
|
getAmount()
The total amount of the quote |
Set
|
getDetails()
(AppliedChargeRate collection) The applied charges that make up this quote. |
Long
|
getId()
The unique quote identifier. |
String
|
getInstance()
The quote instance name. |
Long
|
getUsageRecord()
The usage record id associated with this quote. |
void
|
setAmount(BigDecimal amount)
The total amount of the quote |
void
|
setDetails(Set details)
(AppliedChargeRate collection) The applied charges that make up this quote. |
void
|
setId(Long id)
The unique quote identifier. |
void
|
setInstance(String instance)
The quote instance name. |
void
|
setUsageRecord(Long usageRecord)
The usage record id associated with this quote. |
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private BigDecimal amount
private Set details
private Long id
private String instance
private Long usageRecord
Constructor Detail |
---|
Quote()
Method Detail |
---|
BigDecimal getAmount()
Set getDetails()
Long getId()
String getInstance()
Long getUsageRecord()
void setAmount(BigDecimal amount)
void setDetails(Set details)
void setId(Long id)
void setInstance(String instance)
void setUsageRecord(Long usageRecord)
String toString()
Groovy Documentation