public class Restriction extends Object
Constructor and Description |
---|
Restriction() |
Modifier and Type | Method and Description |
---|---|
ReasonCode |
reasonCode()
Get the reason for the restriction.
|
String |
type()
Get the type of restrictions.
|
List<String> |
values()
Get the value of restrictions.
|
Restriction |
withReasonCode(ReasonCode reasonCode)
Set the reason for the restriction.
|
public String type()
public List<String> values()
public ReasonCode reasonCode()
public Restriction withReasonCode(ReasonCode reasonCode)
reasonCode
- the reasonCode value to setCopyright © 2019. All rights reserved.