catalogrule

package
v0.0.0-...-10a600b Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogRule

type CatalogRule struct {
	RuleID               gocql.UUID `json:"rule_id"`
	Name                 string     `json:"name"`
	Description          string     `json:"description"`
	FromDate             *time.Time `json:"from_date"`
	ToDate               *time.Time `json:"to_date"`
	IsActive             int        `json:"is_active"`
	ConditionsSerialized string     `json:"conditions_serialized"`
	ActionsSerialized    string     `json:"actions_serialized"`
	StopRulesProcessing  int        `json:"stop_rules_processing"`
	SortOrder            int        `json:"sort_order"`
	SimpleAction         string     `json:"simple_action"`
	DiscountAmount       float64    `json:"discount_amount"`
}

type CatalogRuleCustomerGroup

type CatalogRuleCustomerGroup struct {
	RuleID          gocql.UUID `json:"rule_id"`
	CustomerGroupID gocql.UUID `json:"customer_group_id"`
}

type CatalogRuleGroupWebsite

type CatalogRuleGroupWebsite struct {
	RuleID          gocql.UUID `json:"rule_id"`
	CustomerGroupID gocql.UUID `json:"customer_group_id"`
	WebsiteID       gocql.UUID `json:"website_id"`
}

type CatalogRuleProduct

type CatalogRuleProduct struct {
	RuleProductID   gocql.UUID `json:"rule_product_id"`
	RuleID          gocql.UUID `json:"rule_id"`
	FromTime        *time.Time `json:"from_time"`
	ToTime          *time.Time `json:"to_time"`
	CustomerGroupID gocql.UUID `json:"customer_group_id"`
	ProductID       gocql.UUID `json:"product_id"`
	ActionOperator  string     `json:"action_operator"`
	ActionAmount    float64    `json:"action_amount"`
	ActionStop      int        `json:"action_stop"`
	SortOrder       int        `json:"sort_order"`
	WebsiteID       int        `json:"website_id"`
}

type CatalogRuleProductPrice

type CatalogRuleProductPrice struct {
	RuleProductPriceID gocql.UUID `json:"rule_product_price_id "`
	RuleDate           *time.Time `json:"rule_date"`
	CustomerGroupID    gocql.UUID `json:"customer_group_id"`
	ProductID          gocql.UUID `json:"product_id"`
	RulePrice          float64    `json:"rule_price"`
	WebsiteID          gocql.UUID `json:"website_id"`
	LatestStartDate    *time.Time `json:"latest_start_date"`
	EarliestEndDate    *time.Time `json:"earliest_end_date"`
}

type CatalogRuleWebsite

type CatalogRuleWebsite struct {
	RuleID    gocql.UUID `json:"rule_id"`
	WebsiteID gocql.UUID `json:"website_id"`
}

Jump to

Keyboard shortcuts

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