Discover Packages
github.com/cswank/store
internal
shopify
package
Version:
v0.0.0-...-3a0a0a1
Opens a new window with list of versions in this module.
Published: Oct 31, 2017
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type DiscountCode struct {
ID int `json:"id"`
DiscountType string `json:"discount_type"`
Value string `json:"value"`
Code string `json:"code"`
Min string `json:"minimum_order_amount"`
}
type Img struct {
Src string `json:"src,omitempty"`
}
type Product struct {
ID int `json:"id,omitempty"`
Title string `json:"title"`
ProductType string `json:"product_type"`
PublishedAt string `json:"published_at"`
PublishedScope string `json:"published_scope"`
Images []Img `json:"images"`
Variants []Variant `json:"variants"`
}
type Variant struct {
ID int `json:"id"`
Price string `json:"price"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.