separated quotation and payments
This commit is contained in:
15
api/payments/storage/model/operation.go
Normal file
15
api/payments/storage/model/operation.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package model
|
||||
|
||||
type OperationState string
|
||||
|
||||
const (
|
||||
OperationStateCreated OperationState = "created" // record exists, not started
|
||||
OperationStateProcessing OperationState = "processing" // we are working on it
|
||||
OperationStatePlanned OperationState = "planned" // waiting for execution
|
||||
OperationStateWaiting OperationState = "waiting" // waiting external world
|
||||
|
||||
OperationStateSuccess OperationState = "success" // final success
|
||||
OperationStateFailed OperationState = "failed" // final failure
|
||||
OperationStateCancelled OperationState = "cancelled" // final cancelled
|
||||
OperationStateSkipped OperationState = "skipped" // final skipped
|
||||
)
|
||||
Reference in New Issue
Block a user