public static class GooglePayCard.Builder extends Object
GooglePayCard.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GooglePayCard.Builder |
billingAddress(Address billingAddress)
Setter for billingAddress.
|
GooglePayCard.Builder |
brand(CardBrand brand)
Setter for brand.
|
GooglePayCard |
build()
Builds a new
GooglePayCard object using the set fields. |
GooglePayCard.Builder |
expiry(String expiry)
Setter for expiry.
|
GooglePayCard.Builder |
lastDigits(String lastDigits)
Setter for lastDigits.
|
GooglePayCard.Builder |
name(String name)
Setter for name.
|
GooglePayCard.Builder |
number(String number)
Setter for number.
|
GooglePayCard.Builder |
type(CardType type)
Setter for type.
|
public GooglePayCard.Builder name(String name)
name - String value for name.public GooglePayCard.Builder number(String number)
number - String value for number.public GooglePayCard.Builder expiry(String expiry)
expiry - String value for expiry.public GooglePayCard.Builder lastDigits(String lastDigits)
lastDigits - String value for lastDigits.public GooglePayCard.Builder type(CardType type)
type - CardType value for type.public GooglePayCard.Builder brand(CardBrand brand)
brand - CardBrand value for brand.public GooglePayCard.Builder billingAddress(Address billingAddress)
billingAddress - Address value for billingAddress.public GooglePayCard build()
GooglePayCard object using the set fields.GooglePayCardCopyright © 2025. All rights reserved.