Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Announcement ¶
type Announcement struct { ImageURL string `json:"image_url"` Title string `json:"title"` DescriptionMarkDown Markdown `json:"description"` DescriptionHTML template.HTML `json:"-"` Link string `json:"link"` }
Announcement ...
func (*Announcement) Process ¶
func (a *Announcement) Process() (err error)
type ContactInfo ¶
type ContactInfo struct { Logo string `json:"logo_url,omitempty"` Line string `json:"line,omitempty"` Email string `json:"email,omitempty"` Facebook string `json:"facebook,omitempty"` Youtube string `json:"youtube,omitempty"` Twitter string `json:"twitter,omitempty"` Instagram string `json:"instagram,omitempty"` PhoneNumber string `json:"phone,omitempty"` Name string `json:"name"` Website string `json:"website,omitempty"` }
ContactInfo ...
type EmailAddress ¶
EmailAddress ...
type FeatureUpdatesArgs ¶
type FeatureUpdatesArgs struct { Announcements []Announcement `json:"announcements"` Style StyleEnum `json:"style"` }
FeatureUpdatesArgs is the default args for feature-updates layout
func (*FeatureUpdatesArgs) Process ¶
func (f *FeatureUpdatesArgs) Process() (err error)
type Item ¶
type Item struct { ProductName string `json:"product_nickname"` ProductQty int `json:"product_qty"` ProductPrice string `json:"product_price"` }
Item ...
type Option ¶
type Option struct { Color string `json:"color,omitempty"` ReplyText string `json:"option_text,omitempty"` URL string `json:"option_url,omitempty"` Description string `json:"display_text,omitempty"` }
Option ...
type ReceiptArgs ¶
type ReceiptArgs struct { OrderNumber string `json:"order_number"` OrderCreated string `json:"order_created"` PaymentOption string `json:"payment_option"` Items []Item `json:"items"` Total Total `json:"total"` Options []Option `json:"options"` }
ReceiptArgs is the default args for receipt
func (*ReceiptArgs) Process ¶
func (r *ReceiptArgs) Process() (err error)
type SharedArgs ¶
type SharedArgs struct {}
SharedArgs ...
func (*SharedArgs) Process ¶
func (s *SharedArgs) Process() (err error)
type Total ¶
type Total struct { SubTotal string `json:"order_subtotal"` TaxRate *string `json:"order_tax_rate,omitempty"` Tax *string `json:"order_tax,omitempty"` Discount *string `json:"order_discount,omitempty"` Total string `json:"order_total"` OrderShippingOption *string `json:"order_shipping_option,omitempty"` OrderShipping *string `json:"order_shipping,omitempty"` }
Total ...
Click to show internal directories.
Click to hide internal directories.