HtechPay class

Inheritance

Constructors

HtechPay({bool isSandboxMode = true})

Properties

hashCode int
The hash code for this object.
no setterinherited
isSandboxMode bool
Marcar como false para el ambiente de produccion.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getMakePaymentByTokenScreen({required String orderId, required bool isDeveloperMode, required bool isDarkTheme}) Widget
inherited
getMakePaymentScreen({required String orderId, required bool isDeveloperMode, required bool isDarkTheme}) Widget
inherited
makePayment({required String orderId, required BuildContext context, bool isDarkTheme = false}) Future<HtechPayResponse>
Muestra la carta de pago, requiere como argumento un orderId obtenido del proceso begin transaction
makePaymentByToken({required String orderId, required BuildContext context, required bool isDarkTheme}) Future<HtechPayResponse>
Muestra la carta de pago, requiere como argumento un orderId obtenido del proceso begin transaction y el tokenId de la tarjeta
modeUp() → void
Para propositos internos. no usar!
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveCard({required String orderId, required BuildContext context, bool isDarkTheme = false}) Future<HtechPaySaveCardResponse>
Muestra una UI para capturar los datos de la tarjeta y guardarla, requiere como argumento un orderId obtenido del proceso begin-transaction-create-card
saveCardScreen({required String orderId, required bool isDeveloperMode, required bool isDarkTheme}) Widget
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited