Skip to content

class Tourmaline::InputInvoiceMessageContent
inherits Reference #

Included modules

JSON::Serializable Tourmaline::Model

Class methods#

.new(title : String, description : String, payload : String, provider_token : String, currency : String, prices = [] of Tourmaline::LabeledPrice, max_tip_amount : Int32? = nil, suggested_tip_amounts : Array(Int32) = [] of Int32, provider_data : String? = nil, photo_url : String? = nil, photo_size : Int32? = nil, photo_width : Int32? = nil, photo_height : Int32? = nil, need_name : Bool = false, need_phone_number : Bool = false, need_email : Bool = false, need_shipping_address : Bool = false, send_phone_number_to_provider : Bool = false, send_email_to_provider : Bool = false) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#currency : String #

View source

#description : String #

View source

#flexible? : Bool #

View source

#max_tip_amount : Int32? #

View source

#need_email? : Bool #

View source

#need_name? : Bool #

View source

#need_phone_number? : Bool #

View source

#need_shipping_address? : Bool #

View source

#payload : String #

View source

#photo_height : Int32? #

View source

#photo_size : Int32? #

View source

#photo_url : String? #

View source

#photo_width : Int32? #

View source

#provider_data : String? #

View source

#provider_token : String #

View source

#send_email_to_provider? : Bool #

View source

#send_phone_number_to_provider? : Bool #

View source

#suggested_tip_amounts : Array(Int32) #

View source

#title : String #

View source