/
constants.go
39 lines (27 loc) · 1.29 KB
/
constants.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package acmeserverless
const (
// PaymentDomain is the name used for the payment domain
PaymentDomain = "Payment"
// CartDomain is the name used for the cart domain
CartDomain = "Cart"
// CatalogDomain is the name used for the catalog domain
CatalogDomain = "Catalog"
// OrderDomain is the name used for the order domain
OrderDomain = "Order"
// ShipmentDomain is the name used for the shipment domain
ShipmentDomain = "Shipment"
// CreditCardValidatedEventName is the name used for the CreditCardValidated event
CreditCardValidatedEventName = "CreditCardValidatedEvent"
// PaymentRequestedEventName is the name used for the PaymentRequested event
PaymentRequestedEventName = "PaymentRequestedEvent"
// ShipmentRequestedEventName is the event name of ShipmentRequested.
ShipmentRequestedEventName = "ShipmentRequested"
// ShipmentSentEventName is the event name of ShipmentSent.
ShipmentSentEventName = "ShipmentSent"
// ShipmentDeliveredEventName is the event name of ShipmentDelivered.
ShipmentDeliveredEventName = "ShipmentDelivered"
// DefaultSuccessStatus is a string representation of the default status for success messages
DefaultSuccessStatus = "success"
// DefaultErrorStatus is a string representation of the default status for error messages
DefaultErrorStatus = "error"
)