PayTaskModel class abstract

Inheritance
  • Object
  • TaskModel
  • PayTaskModel
Implementers

Constructors

PayTaskModel({required String identifier, required PayTypeModel paymentType, required String description, required bool executeInstantly})

Properties

description ↔ String
getter/setter pairinherited
executeInstantly ↔ bool
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
identifier → String
finalinherited
paymentType ↔ PayTypeModel
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

callExecute(AppModel app, BuildContext context, String? memberId, AssignmentModel? assignmentModel, bool isNewAssignment, {FinaliseWorkflow? finaliseWorkflow}) → void
inherited
collectReferences({String? appId}) → Future<List<ModelReference>>
inherited
finishTask(AppModel app, BuildContext context, AssignmentModel assignmentModel, ExecutionResults executionResult, String? feedback) → Future<void>
inherited
getAmount(BuildContext context) → double?
getCcy(BuildContext context) → String?
getOrderNumber(BuildContext context) → String?
handleCreditCardPayment(AppModel app, BuildContext theContext, AssignmentModel? theAssignmentModel, PaymentStatus status) → void
handleManualPayment(AppModel app, BuildContext theContext, AssignmentModel? theAssignmentModel, String paymentReference, String paymentName, bool success) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startTask(AppModel app, BuildContext context, String? memberId, AssignmentModel? assignmentModel) → Future<void>
override
toEntity({String? appId}) → TaskEntity
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

payTaskFieldError ↔ String
getter/setter pair
payTaskFieldName ↔ String
getter/setter pair
payTaskFieldPaymentReference ↔ String
getter/setter pair
payTaskFieldPaymentType ↔ String
getter/setter pair