Package com.samsung.android.sdk.samsungpay.v2.payment
package com.samsung.android.sdk.samsungpay.v2.payment
-
ClassDescriptionThis class provides card information related to payment operations.This is builder class for constructing CardInfo object which is passed to Samsung Pay from merchant.This class provides APIs to fetch Payment information details with custom payment sheet information.
That is, transaction details set by the merchant app.This class provides APIs to create Address Parcel object.This is builder class for constructing Address objects.This enumeration provides types of address UI on the payment sheet, based on merchant requirement.This is builder class for constructing CustomSheetPaymentInfo object.This class provides APIs for payment related operations (example: in-app payment).
Partner (Merchants and other third party) applications can use these APIs to perform variety of payment operations.
For instance, partner apps can:
- Request in-app payment
- Start Simple Pay on Samsung Pay
- Fetch available cards on Samsung Pay for paymentThis interface is for listening requestCardInfo() callback events.This interface is for listening callback events of online (in-app) custom sheet payment.
This is invoked when card is changed by the user on the custom payment sheet, and also with the success or failure of online (in-app) payment.
This listener is registered whenPaymentManager.startInAppPayWithCustomSheet(CustomSheetPaymentInfo, CustomSheetTransactionInfoListener)
API is called.
Caution: AmountBoxControl must be returned in onCardInfoUpdated() on SheetUpdatedListener to remove progress bar on custom payment sheet.
Samsung Electronics.
Samsung Pay SDK 2.19.00 - Jun 12 2024