PaymentAPIChopper class

Constructors

PaymentAPIChopper()

Properties

client ↔ ChopperClient
getter/setter pairinherited
dataType Payment?
getter/setter pairinherited
definitionType Type
Used internally to retrieve the service from ChopperClient.
no setterinherited
errorType ErrorResponse?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
restAPI ↔ RestAPI
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service ↔ PaymentService
getter/setter pairinherited

Methods

cancelPayment({required String transactionUUID, String? authorization}) Future<EResponse<Payment>>
completePayment({required String transactionUUID, String? authorization}) Future<EResponse<Payment>>
createPayment({required PaymentRequest data, String? authorization}) Future<EResponse<Payment>>
genericParsePaginationResponseAsList<DataTypeGeneric extends Jsonable<Object>?>(Future futureResponse, {DataTypeGeneric? dataType, required String dataListParam}) Future<EResponse<List<DataTypeGeneric>>>
inherited
genericParseResponse<DataTypeGeneric extends Jsonable<Object>?>(Future futureResponse, {DataTypeGeneric? dataType}) Future<EResponse<DataTypeGeneric>>
inherited
genericParseResponseAsList<DataTypeGeneric extends Jsonable<Object>?>(Future futureResponse, {DataTypeGeneric? dataType}) Future<EResponse<List<DataTypeGeneric>>>
inherited
getPayment({required String transactionUUID, String? authorization}) Future<EResponse<Payment>>
getPayments({String? authorization, String? merchantUUID, int? pageSize, int? pageIndex, String? merchantOp, String? enzonaOp, int? status, DateTime? startDate, DateTime? endDate, Order? order, Map<String, dynamic>? filters}) Future<EResponse<List<Payment>>>
Payments
getRefund({required String transactionUUID, String? authorization}) Future<EResponse<Refund>>
getRefunds({String? authorization, String? merchantUUID, String? transactionUUID, String? commerceRefundId, int? pageSize, int? pageIndex, int? status, DateTime? startDate, DateTime? endDate, Order? order, Map<String, dynamic>? filters}) Future<EResponse<List<Refund>>>
Refunds
getSaveResponse(Future futureResponse) Future<EResponse>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseError(EResponse response) Object?
inherited
parsePaginationResponseAsList(Future futureResponse, {required String dataListParam}) Future<EResponse<List<Payment>>>
inherited
parseResponse(Future futureResponse) Future<EResponse<Payment>>
inherited
parseResponseAsList(Future futureResponse) Future<EResponse<List<Payment>>>
inherited
refundPayment({required String transactionUUID, Refund? data, String? authorization}) Future<EResponse<Refund>>
toString() String
A string representation of this object.
inherited
updateHttpClient(Client httpClient) → void
inherited

Operators

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