admin

package
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: Unlicense Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Coupon

type Coupon struct {
	ID     int    `json:"id"`
	Code   string `json:"code"`
	Amount string `json:"amount"`
}

type GetRevenueRequest

type GetRevenueRequest struct {
	From    time.Time          `json:"from"`
	To      time.Time          `json:"to"`
	StoreID primitive.ObjectID `json:"storeId"`
}

type HttpErrorBody

type HttpErrorBody struct {
	Message     string `json:"message"`
	RequestID   string `json:"requestId"`
	RequestTime string `json:"requestTime"`
	Method      string `json:"method"`
	Path        string `json:"path"`
}

type Increment

type Increment struct {
	ID        primitive.ObjectID `bson:"_id"`
	Key       string             `bson:"key"`
	Value     int64              `bson:"value"`
	CreatedAt time.Time          `bson:"createdAt"`
	UpdatedAt time.Time          `bson:"updatedAt"`
}

type PaymentDropInRequest

type PaymentDropInRequest struct {
	ReturnURL string `json:"returnUrl"`
}

type PaymentDropInResponse

type PaymentDropInResponse struct {
	ID          string `json:"id"`
	SessionData string `json:"sessionData"`
}

type PusherGroupEvent

type PusherGroupEvent struct {
	StoreID string `json:"storeId"`
}

type PusherOrderEvent

type PusherOrderEvent struct {
	StoreID string `json:"storeId"`
}

type PusherOrderPaymentEvent

type PusherOrderPaymentEvent struct {
	OrderID string `json:"orderId"`
}

type Revenue

type Revenue struct {
	Request GetRevenueRequest `json:"request"`
	Items   []RevenueItem     `json:"items"`
}

type RevenueItem

type RevenueItem struct {
	Text  string               `json:"type"`
	Total primitive.Decimal128 `json:"total"`
}

Jump to

Keyboard shortcuts

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