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