public class License extends Model implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Date |
_created |
protected Date |
_paidUntil |
protected Plan |
_plan |
protected String |
_status |
protected List<Transaction> |
_transactions |
static String |
FIELD_CREATED |
static String |
FIELD_PAIDUNTIL |
static String |
FIELD_PLAN |
static String |
FIELD_STATUS |
static String |
FIELD_TRANSACTIONS |
| Constructor and Description |
|---|
License() |
| Modifier and Type | Method and Description |
|---|---|
License |
addTransaction(Transaction value) |
Date |
getCreated() |
Date |
getPaidUntil() |
Plan |
getPlan() |
String |
getStatus() |
List<Transaction> |
getTransactions() |
License |
safeSetCreated(Date value) |
License |
safeSetPaidUntil(Date value) |
License |
safeSetPlan(Plan value) |
License |
safeSetStatus(String value) |
License |
safeSetTransactions(List<Transaction> value) |
License |
setCreated(Date value) |
License |
setPaidUntil(Date value) |
License |
setPlan(Plan value) |
License |
setStatus(String value) |
License |
setTransactions(List<Transaction> value) |
clean, getDirtyFields, isDirty, setDirtypublic static final String FIELD_CREATED
public static final String FIELD_PAIDUNTIL
public static final String FIELD_PLAN
public static final String FIELD_STATUS
public static final String FIELD_TRANSACTIONS
protected Date _created
protected Date _paidUntil
protected Plan _plan
protected String _status
protected List<Transaction> _transactions
public Date getCreated()
public Date getPaidUntil()
public Plan getPlan()
public String getStatus()
public License setTransactions(List<Transaction> value)
public License safeSetTransactions(List<Transaction> value)
public List<Transaction> getTransactions()
public License addTransaction(Transaction value)
Copyright 2022 OneSpan All rights reserved.