CieloEcommerce class

Corpo do pacote

Constructors

CieloEcommerce({Environment? environment, Merchant? merchant})

Properties

dio ↔ Dio
getter/setter pair
environment Environment?
final
hashCode int
The hash code for this object.
no setterinherited
merchant Merchant?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createSale(Sale sale) Future<Sale?>
Criando uma transação de compra
enableCapture(dynamic captureSale) Future<ReturnExecutionStatus?>
Função para aprovar a compra
enableVoid(dynamic voidSale) Future<ReturnExecutionStatus?>
Função para cancelar a compra
getReturn(dynamic getSale) Future<Sale?>
Função para consulta das transações
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
tokenizeCard(CreditCard card) Future<CreditCard?>
Função para Tokenizar um Cartão
toString() String
A string representation of this object.
inherited

Operators

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