-
- All Implemented Interfaces:
public final class ProcessorActivityResult
Holds result for Payment brand ProcessorActivity. This class will be used in the result of payment brand ActivityResultContract.
-
-
Field Summary
Fields Modifier and Type Field Description private final Transaction
transaction
private final PaymentError
paymentError
-
Constructor Summary
Constructors Constructor Description ProcessorActivityResult(Transaction transaction, PaymentError paymentError)
-
Method Summary
Modifier and Type Method Description final Transaction
getTransaction()
final PaymentError
getPaymentError()
-
-
Constructor Detail
-
ProcessorActivityResult
ProcessorActivityResult(Transaction transaction, PaymentError paymentError)
- Parameters:
transaction
- the transaction.paymentError
- the payment error.
-
-
Method Detail
-
getTransaction
final Transaction getTransaction()
-
getPaymentError
final PaymentError getPaymentError()
-
-
-
-