java.lang.Object | |
↳ | com.urbanairship.wallet.Field.Builder |
Builds the Field
object.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Builder() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Field |
build()
Builds the field.
| ||||||||||
Field.Builder |
setLabel(String label)
Sets the field's label.
| ||||||||||
Field.Builder |
setName(String name)
Sets the field's name.
| ||||||||||
Field.Builder |
setValue(int value)
Sets the field's value.
| ||||||||||
Field.Builder |
setValue(String value)
Sets the field's value.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Builds the field.
IllegalStateException | if the name or both the value and label are missing. |
---|
Sets the field's label.
label | The field's label. |
---|
Sets the field's name.
name | The field's name. |
---|
Sets the field's value.
value | The field's value. |
---|
Sets the field's value.
value | The field's value. |
---|