class Tourmaline::ShippingOption

Overview

This object represents one shipping option.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def id : String #

Shipping option identifier


[View source]
def id=(id : String) #

Shipping option identifier


[View source]
def prices : Array(Tourmaline::LabeledPrice) #

List of price portions


[View source]
def prices=(prices : Array(Tourmaline::LabeledPrice)) #

List of price portions


[View source]
def title : String #

Option title


[View source]
def title=(title : String) #

Option title


[View source]