struct Haystack::Product

Included Modules

Defined in:

haystack/product.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def active #

[View source]
def active? #

[View source]
def created_at : Time | Nil #

[View source]
def currency : Currency | Nil #

[View source]
def description : String | Nil #

[View source]
def domain : Domain | Nil #

[View source]
def features : JSON::Any | Nil #

[View source]
def file_path : String | Nil #

[View source]
def files : Array(File) | Nil #

[View source]
def id : Int64 | Nil #

[View source]
def image_path : String | Nil #

[View source]
def in_stock #

[View source]
def in_stock? #

[View source]
def integration : Integration | Nil #

[View source]
def is_shippable #

[View source]
def is_shippable? #

[View source]
def maximum_orderable : Int32 | Nil #

[View source]
def metadata : Metadata | Nil #

[View source]
def minimum_orderable : Int32 | Nil #

[View source]
def name : String | Nil #

[View source]
def notification_emails : JSON::Any | Nil #

[View source]
def price : Int32 | Nil #

[View source]
def product_code : String | Nil #

[View source]
def quantity : Int32 | Nil #

[View source]
def quantity_sold : Int32 | Nil #

[View source]
def redirect_url : String | Nil #

[View source]
def slug : String | Nil #

[View source]
def split_code : String | Nil #

[View source]
def success_message : String | Nil #

[View source]
def type : Type | Nil #

[View source]
def unlimited #

[View source]
def unlimited? #

[View source]
def updated_at : Time | Nil #

[View source]
def variant_options : Array(JSON::Any) | Nil #

[View source]