Documentation ¶
Index ¶
Constants ¶
View Source
const ( ORDER_STATUS_UNSET OrderStatus = "" ORDER_STATUS_OPEN = "Aberto" ORDER_STATUS_WAITING_PAYMENT = "Aguardando Pagamento" ORDER_STATUS_RECEIVED = "Recebido" ORDER_STATUS_PREPARING = "Em Preparação" ORDER_STATUS_DONE = "Pronto" ORDER_STATUS_FINISHED = "Finalizado" ORDER_STATUS_CANCELED = "Cancelado" )
View Source
const ( PAYMENT_STATUS_OPEN PaymentStatus = "Aberto" PAYMENT_STATUS_APPROVED = "Aprovado" PAYMENT_SATUS_REFUSED = "Recusado" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoryList ¶
type OrderProductionNotification ¶
type OrderProductionNotification struct { ID uuid.UUID `json:"id"` UpdatedAt time.Time `json:"updated_at"` Status OrderStatus `json:"status"` }
type OrderStatus ¶
type OrderStatus string
type PaymentStatus ¶
type PaymentStatus string
func PaymentStatusFromClearingService ¶
func PaymentStatusFromClearingService(status api.PaymentStatus) PaymentStatus
type PaymentStatusNotification ¶
type PaymentStatusNotification struct { PaymentID uuid.UUID OrderID uuid.UUID Status PaymentStatus // Can be "approved" or "denied" }
type ProductList ¶
Click to show internal directories.
Click to hide internal directories.