Package org.mozilla.geckoview
Class Autocomplete.CreditCard.Builder
Object
org.mozilla.geckoview.Autocomplete.CreditCard.Builder
- Enclosing class:
- Autocomplete.CreditCard
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize theAutocomplete.CreditCard
instance.expirationMonth
(String expMonth) Set the expiration month for this credit card entry.expirationYear
(String expYear) Set the expiration year for this credit card entry.Set the unique identifier for this credit card entry.Set the name for this credit card entry.Set the number for this credit card entry.
-
Constructor Details
-
Builder
@AnyThread public Builder()
-
-
Method Details
-
build
Finalize theAutocomplete.CreditCard
instance.- Returns:
- The
Autocomplete.CreditCard
instance.
-
guid
Set the unique identifier for this credit card entry.- Parameters:
guid
- The unique identifier string.- Returns:
- This
Autocomplete.CreditCard.Builder
instance.
-
name
Set the name for this credit card entry.- Parameters:
name
- The full name as it appears on the credit card.- Returns:
- This
Autocomplete.CreditCard.Builder
instance.
-
number
Set the number for this credit card entry.- Parameters:
number
- The credit card number string.- Returns:
- This
Autocomplete.CreditCard.Builder
instance.
-
expirationMonth
@AnyThread @NonNull public Autocomplete.CreditCard.Builder expirationMonth(@Nullable String expMonth) Set the expiration month for this credit card entry.- Parameters:
expMonth
- The expiration month string.- Returns:
- This
Autocomplete.CreditCard.Builder
instance.
-
expirationYear
Set the expiration year for this credit card entry.- Parameters:
expYear
- The expiration year string.- Returns:
- This
Autocomplete.CreditCard.Builder
instance.
-