Skip to content

class Tourmaline::ShippingOption
inherits Reference #

This object represents one shipping option.

Included modules

JSON::Serializable

Constructors#

.new(id, title, prices : Array(Tourmaline::LabeledPrice) = [] of Tourmaline::LabeledPrice) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#id : String #

Shipping option identifier

View source

#id=(id : String) #

Shipping option identifier

View source

#prices : Array(Tourmaline::LabeledPrice) #

List of price portions

View source

#prices=(prices : Array(Tourmaline::LabeledPrice)) #

List of price portions

View source

#title : String #

Option title

View source

#title=(title : String) #

Option title

View source