Class CardInfo.Builder
java.lang.Object
com.samsung.android.sdk.samsungpay.v2.payment.CardInfo.Builder
- Enclosing class:
- CardInfo
This is builder class for constructing CardInfo object
which is passed to Samsung Pay from merchant.
- Since:
- API Level 1.1
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the CardInfo object.API to set unique identification of a card in Samsung Pay.setCardMetaData
(android.os.Bundle cardMetaData) API to set extra card information(if any) related to the card.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setCardId
API to set unique identification of a card in Samsung Pay.- Parameters:
cardId
- Unique ID to refer a card in Samsung Pay.- Returns:
- CardInfo details Builder.
- Since:
- API Level 1.1
- See Also:
-
setCardMetaData
API to set extra card information(if any) related to the card.- Returns:
- Extra card information.
- Since:
- API Level 1.1
- See Also:
-
build
Builds the CardInfo object.- Returns:
- CardInfo object.
- Since:
- API Level 1.1
-
Samsung Electronics.
Samsung Pay SDK 2.19.00 - Jun 12 2024