com.usebutton.sdk.user.User |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
setAddressLineOne(String addressLineOne)
This method is deprecated.
No replacement.
| ||||||||||
abstract void |
setAddressLineTwo(String addressLineTwo)
This method is deprecated.
No replacement.
| ||||||||||
abstract void |
setAutofillEnabled(boolean enabled)
This method is deprecated.
No replacement.
| ||||||||||
abstract void |
setCity(String city)
This method is deprecated.
No replacement.
| ||||||||||
abstract void |
setCountry(String country)
This method is deprecated.
No replacement.
| ||||||||||
abstract void |
setEmail(String email)
This method is deprecated.
No replacement.
| ||||||||||
abstract void |
setFirstName(String firstName)
This method is deprecated.
No replacement.
| ||||||||||
abstract void |
setIdentifier(String identifier)
Sets the unique identifier for the user.
| ||||||||||
abstract void |
setLastName(String lastName)
This method is deprecated.
No replacement.
| ||||||||||
abstract void |
setPaymentMethodProvider(PaymentMethodProvider paymentMethodProvider)
This method is deprecated.
No replacement.
| ||||||||||
abstract void |
setPhoneNumber(String phoneNumber)
This method is deprecated.
No replacement.
| ||||||||||
abstract void |
setPostalCode(String postalCode)
This method is deprecated.
No replacement.
| ||||||||||
abstract void |
setState(String state)
This method is deprecated.
No replacement.
|
This method is deprecated.
No replacement.
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. |
---|
This method is deprecated.
No replacement.
Sets an address two for the user's auto fill profile
ex.Button.user().setAddressLineTwo("Unit 404");
addressLineTwo | The user's second address line. |
---|
This method is deprecated.
No replacement.
Use setAutofillEnabled(boolean)
.
Enables or disables autofill on merchant websites.
enabled | true or false |
---|
This method is deprecated.
No replacement.
Sets a city for the user's auto fill profile
ex.Button.user().setCity("New York");
city | The user's city. |
---|
This method is deprecated.
No replacement.
Sets a country for the user's auto fill profile.
ex.Button.user().setCountry("US");
country | Two-letter abbreviation for the user's country. |
---|
This method is deprecated.
No replacement.
Sets an email for the user's auto fill profile
ex.Button.user().setEmail("bill@example.com");
The user's email address. |
This method is deprecated.
No replacement.
Sets a first name for the user's auto fill profile
ex.Button.user().setFirstName("Bill");
firstName | The user's first name. |
---|
This method is deprecated.
No replacement.
Sets a last name for the user's auto fill profile
ex.Button.user().setLastName("Valley");
lastName | The user's last name. |
---|
This method is deprecated.
No replacement.
Sets the payment method provider for the user.
paymentMethodProvider | The object responsible for providing the user's payment details. |
---|
This method is deprecated.
No replacement.
Sets a phone number for the user's auto fill profile
ex.Button.user().setPhoneNumber("1234567890");
phoneNumber | The user's phone number. |
---|
This method is deprecated.
No replacement.
Sets a postal code for the user's auto fill profile
ex.Button.user().setPostalCode("10010");
postalCode | The user's postal code. |
---|
This method is deprecated.
No replacement.
Sets a state for the user's auto fill profile.
ex.Button.user().setState("NY");
state | Two-letter abbreviation for the user's state. |
---|