| com.usebutton.sdk.user.User |
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Sets an address one for the user's auto fill profile
ex.
| |||||||||||
Sets an address two for the user's auto fill profile
ex.
| |||||||||||
Sets a city for the user's auto fill profile
ex.
| |||||||||||
Sets an email for the user's auto fill profile
ex.
| |||||||||||
Sets a first name for the user's auto fill profile
ex.
| |||||||||||
Sets the unique identifier for the user.
| |||||||||||
Sets a last name for the user's auto fill profile
ex.
| |||||||||||
Sets a phone number for the user's auto fill profile
ex.
| |||||||||||
Sets a postal code for the user's auto fill profile
ex.
| |||||||||||
Sets a state for the user's auto fill profile.
| |||||||||||
Sets an address one for the user's auto fill profile
ex.Button.user().setAddressLineOne("220 Gateway Lane");| addressLineOne | The user's main address line. |
|---|
Sets an address two for the user's auto fill profile
ex.Button.user().setAddressLineTwo("Unit 404");| addressLineTwo | The user's second address line. |
|---|
Use setAutofillEnabled(boolean).
Enables or disables autofill on merchant websites.
| enabled | true or false |
|---|
Sets a city for the user's auto fill profile
ex.Button.user().setCity("New York");| city | The user's city. |
|---|
Sets an email for the user's auto fill profile
ex.Button.user().setEmail("bill@example.com");| The user's email address. |
Sets a first name for the user's auto fill profile
ex.Button.user().setFirstName("Bill");| firstName | The user's first name. |
|---|
Sets the unique identifier for the user.
Sets a last name for the user's auto fill profile
ex.Button.user().setLastName("Valley");| lastName | The user's last name. |
|---|
Sets a phone number for the user's auto fill profile
ex.Button.user().setPhoneNumber("1234567890");| phoneNumber | The user's phone number. |
|---|
Sets a postal code for the user's auto fill profile
ex.Button.user().setPostalCode("10010");| postalCode | The user's postal code. |
|---|
Sets a state for the user's auto fill profile.
ex.Button.user().setState("NY");| state | Two-letter abbreviation for the user's state. |
|---|