Documentation
¶
Index ¶
- Constants
- func CheckOrder(log *logrus.Entry, ctx context.Context, stage, merchantRef string) error
- func SyncCorporateOrder(log *logrus.Entry, ctx context.Context, stage, orderID string) error
- func SyncCorporateOrderByUUID(log *logrus.Entry, ctx context.Context, stage, id string) error
- func SyncPOSOrder(log *logrus.Entry, ctx context.Context, stage, orderID string) error
- func SyncPOSOrderByUUID(log *logrus.Entry, ctx context.Context, stage, id string) error
- func SyncWooOrder(log *logrus.Entry, ctx context.Context, stage string, id int) error
- func SyncWooRefunds(log *logrus.Entry, ctx context.Context, stage string, id int) error
- type Revenue
- type RevenueSource
- type RevenueType
Constants ¶
View Source
const ( WooTaxClass7 = "mitnehmen" WooFeeTip = "Tip (Benutzerdefiniertes Trinkgeld" )
Variables ¶
This section is empty.
Functions ¶
func CheckOrder ¶ added in v3.3.16
func SyncCorporateOrder ¶ added in v3.3.9
func SyncCorporateOrderByUUID ¶ added in v3.3.15
func SyncPOSOrder ¶ added in v3.3.7
func SyncPOSOrderByUUID ¶ added in v3.3.15
func SyncWooOrder ¶
Types ¶
type Revenue ¶
type Revenue struct {
ID string `dynamodbav:"Id"`
PaymentID string `dynamodbav:"PaymentId"`
CreatedAt string `dynamodbav:"CreatedAt"`
Type RevenueType `dynamodbav:"RevenueType"`
ShippingMethod dbadmin.OrderShippingMethod `dynamodbav:"ShippingMethod"`
Store string `dynamodbav:"Store"`
Source RevenueSource `dynamodbav:"Source"`
Company string `dynamodbav:"Company"`
Net7 string `dynamodbav:"Net7"`
Tax7 string `dynamodbav:"Tax7"`
Tip string `dynamodbav:"Tip"`
}
type RevenueSource ¶
type RevenueSource string
const ( RevenueSourceOnline RevenueSource = "Online" RevenueSourceOffline RevenueSource = "POS" RevenueSourceCorporate RevenueSource = "Corporate" )
type RevenueType ¶
type RevenueType string
const ( RevenueTypeOrder RevenueType = "Order" RevenueTypeRefund RevenueType = "Refund" )
Click to show internal directories.
Click to hide internal directories.