class Tourmaline::ShippingQuery
- Tourmaline::ShippingQuery
- Reference
- Object
Overview
This object contains information about an incoming shipping query.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(id : String, from : Tourmaline::User, invoice_payload : String, shipping_address : Tourmaline::ShippingAddress)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#from : Tourmaline::User
User who sent the query
-
#from=(from : Tourmaline::User)
User who sent the query
-
#id : String
Unique query identifier
-
#id=(id : String)
Unique query identifier
-
#invoice_payload : String
Bot specified invoice payload
-
#invoice_payload=(invoice_payload : String)
Bot specified invoice payload
-
#shipping_address : Tourmaline::ShippingAddress
User specified shipping address
-
#shipping_address=(shipping_address : Tourmaline::ShippingAddress)
User specified shipping address
Constructor Detail
def self.new(id : String, from : Tourmaline::User, invoice_payload : String, shipping_address : Tourmaline::ShippingAddress)
#
Instance Method Detail
def shipping_address=(shipping_address : Tourmaline::ShippingAddress)
#
User specified shipping address