Class VacContractResponse
java.lang.Object
com.iland.core.web.rest.response.vac.VacContractResponse
- All Implemented Interfaces:
Serializable
VAC Contract Response.
- Author:
- Nick Kasprzak
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe type Salesforce subscription response. -
Constructor Summary
ConstructorsConstructorDescriptionVacContractResponse(String uuid, String status, Date start, Date end, int term, Date lastMod, Date created, Date activated, Date cancellationDate, String statusCode, String group, boolean testDrive, double discount, List<VacContractResponse.SalesforceSubscriptionResponse> subscriptions) Instantiates a new Vac contract response. -
Method Summary
Modifier and TypeMethodDescriptionGets activated.Gets cancellation date.Gets created.doubleGets discount.getEnd()Gets end.getGroup()Gets group.Gets last mod.getStart()Gets start.Gets status.Gets status code.Gets subscriptions.intgetTerm()Gets term.getUuid()Gets uuid.booleanIs test drive boolean.
-
Constructor Details
-
VacContractResponse
public VacContractResponse(String uuid, String status, Date start, Date end, int term, Date lastMod, Date created, Date activated, Date cancellationDate, String statusCode, String group, boolean testDrive, double discount, List<VacContractResponse.SalesforceSubscriptionResponse> subscriptions) Instantiates a new Vac contract response.- Parameters:
uuid- the uuidstatus- the statusstart- the startend- the endterm- the termlastMod- the last modcreated- the createdactivated- the activatedcancellationDate- the cancellation datestatusCode- the status codegroup- the grouptestDrive- the test drivediscount- the discountsubscriptions- the subscriptions
-
-
Method Details
-
getUuid
Gets uuid.- Returns:
- the uuid
-
getStatus
Gets status.- Returns:
- the status
-
getStart
Gets start.- Returns:
- the start
-
getEnd
Gets end.- Returns:
- the end
-
getTerm
public int getTerm()Gets term.- Returns:
- the term
-
getLastMod
Gets last mod.- Returns:
- the last mod
-
getCreated
Gets created.- Returns:
- the created
-
getActivated
Gets activated.- Returns:
- the activated
-
getCancellationDate
Gets cancellation date.- Returns:
- the cancellation date
-
getStatusCode
Gets status code.- Returns:
- the status code
-
getGroup
Gets group.- Returns:
- the group
-
isTestDrive
public boolean isTestDrive()Is test drive boolean.- Returns:
- the boolean
-
getDiscount
public double getDiscount()Gets discount.- Returns:
- the discount
-
getSubscriptions
Gets subscriptions.- Returns:
- the subscriptions
-