public class UtilityBill extends Evidence
utility_bill
.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
UtilityBill()
The constructor that construct evidence whose type is
"utility_bill" . |
Modifier and Type | Method and Description |
---|---|
boolean |
containsDate()
Check if this object contains
"date" . |
boolean |
containsProvider()
Check if this object contains
"provider" . |
static UtilityBill |
extract(Map<?,?> map)
Create a
UtilityBill instance from the given object. |
String |
getDate()
Get the date when the utility bill was issued.
|
Provider |
getProvider()
Get the provider that issued the utility bill.
|
String |
removeDate()
Remove
"date" from this object. |
Provider |
removeProvider()
Remove
"provider" from this object. |
UtilityBill |
setDate(String date)
Set the date when the utility bill was issued.
|
UtilityBill |
setProvider(Provider provider)
Set the provider that issued the utility bill.
|
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
public UtilityBill()
"utility_bill"
.public Provider getProvider()
public UtilityBill setProvider(Provider provider)
provider
- The provider that issued the utility bill.this
object.public boolean containsProvider()
"provider"
.true
if this object contains "provider"
.public Provider removeProvider()
"provider"
from this object.public String getDate()
public UtilityBill setDate(String date)
date
- The date when the utility bill was issued.this
object.public boolean containsDate()
"date"
.true
if this object contains "date"
.public String removeDate()
"date"
from this object.public static UtilityBill extract(Map<?,?> map) throws IdentityAssuranceException
UtilityBill
instance from the given object.map
- A map that represents "utility_bill"
.UtilityBill
instance that represents "utility_bill"
.IdentityAssuranceException
- The structure of the map does not conform to the specification
(OpenID Connect for Identity Assurance 1.0).Copyright © 2022. All rights reserved.