Documentation ¶
Index ¶
- func CancelWorkflowPayment(e echo.Context) error
- func CreateWorkflowPayment(e echo.Context) error
- func DeleteWorkflowPayment(e echo.Context) error
- func GetWorkflowPayment(e echo.Context) error
- func GetWorkflowPaymentById(e echo.Context) error
- func Init(paymentS service.PaymentService, userS service.UserService)
- func ListPayments(e echo.Context) error
- func PutTestPayment(e echo.Context) error
- func UpdateWorkflowPaymentPending(e echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CancelWorkflowPayment ¶
func CancelWorkflowPayment(e echo.Context) error
Set status of workflow from created to cancelled
func CreateWorkflowPayment ¶
func CreateWorkflowPayment(e echo.Context) error
Create a payment for a workflow
func DeleteWorkflowPayment ¶
func DeleteWorkflowPayment(e echo.Context) error
Set Payment for a workflow to status = Deleted. Only for superadmin
func GetWorkflowPayment ¶
func GetWorkflowPayment(e echo.Context) error
Returns payment with the given txHash and status. Payment is only returned if the from address == the user sending the request
func GetWorkflowPaymentById ¶
func GetWorkflowPaymentById(e echo.Context) error
Gets a payment by Id Payment is only returned if the from address == the user sending the request
func Init ¶
func Init(paymentS service.PaymentService, userS service.UserService)
func ListPayments ¶
func ListPayments(e echo.Context) error
List all Payment. Only for superadmin and debugging purposes
func PutTestPayment ¶
func PutTestPayment(e echo.Context) error
func UpdateWorkflowPaymentPending ¶
func UpdateWorkflowPaymentPending(e echo.Context) error
Set a workflow payment from status created to status pending
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.