payment

package
v1.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL