-
public final class Fields.Builder
Builder for Fields
-
-
Constructor Summary
Constructors Constructor Description Fields.Builder()
-
Method Summary
Modifier and Type Method Description final Fields.Builder
field(String name, String value)
Set an arbitrary String value on the Inquiry final Fields.Builder
field(String name, Integer value)
Set an arbitrary Int value on the Inquiry final Fields.Builder
field(String name, Boolean value)
Set an arbitrary Boolean value on the Inquiry final Fields.Builder
phoneNumber(String phoneNumber)
Set a phone number on the Inquiry final Fields.Builder
emailAddress(String emailAddress)
Set an email address on the Inquiry final Fields.Builder
birthdate(Calendar birthdate)
Set the birthdate on the Inquiry final Fields.Builder
name(String first, String middle, String last)
Set the individual's name on the Inquiry. final Fields.Builder
address(String street1, String street2, String city, String subdivision, String postalCode, String countryCode)
Set the individual's address on the Inquiry. final Fields
build()
Build the Fields object -
-
Method Detail
-
field
final Fields.Builder field(String name, String value)
-
field
final Fields.Builder field(String name, Integer value)
-
field
final Fields.Builder field(String name, Boolean value)
-
phoneNumber
final Fields.Builder phoneNumber(String phoneNumber)
Set a phone number on the Inquiry
- Parameters:
phoneNumber
- individual's phone number
-
emailAddress
final Fields.Builder emailAddress(String emailAddress)
Set an email address on the Inquiry
- Parameters:
emailAddress
- individual's email address
-
birthdate
final Fields.Builder birthdate(Calendar birthdate)
Set the birthdate on the Inquiry
- Parameters:
birthdate
- Calendar date of birth (e.g.
-
name
final Fields.Builder name(String first, String middle, String last)
Set the individual's name on the Inquiry. Each of the fields are optional.
- Parameters:
first
- individual's first namemiddle
- individual's middle namelast
- individual's last name
-
address
final Fields.Builder address(String street1, String street2, String city, String subdivision, String postalCode, String countryCode)
Set the individual's address on the Inquiry. Each of the fields are optionals.
- Parameters:
street1
- individual's street 1 address linestreet2
- individual's street 2 address linecity
- individual's citysubdivision
- individual's subdivision (e.g.postalCode
- individual's postal code (e.g.countryCode
- individual's country code (e.g.
-
-
-
-