class Tourmaline::ShippingOption
- Tourmaline::ShippingOption
- Reference
- Object
Overview
This object represents one shipping option.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(id : String, title : String, prices : Array(Tourmaline::LabeledPrice) = [] of Tourmaline::LabeledPrice)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#id : String
Shipping option identifier
-
#id=(id : String)
Shipping option identifier
-
#prices : Array(Tourmaline::LabeledPrice)
List of price portions
-
#prices=(prices : Array(Tourmaline::LabeledPrice))
List of price portions
-
#title : String
Option title
-
#title=(title : String)
Option title
Constructor Detail
def self.new(id : String, title : String, prices : Array(Tourmaline::LabeledPrice) = [] of Tourmaline::LabeledPrice)
#