class Tourmaline::InputInvoiceMessageContent
- Tourmaline::InputInvoiceMessageContent
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
tourmaline/models/input_invoice_message_content.crConstructors
- .new(title : String, description : String, payload : String, provider_token : String, currency : String, prices : Array(Tourmaline::LabeledPrice) = [] of Tourmaline::LabeledPrice, max_tip_amount : Int32 | Nil = nil, suggested_tip_amounts : Array(Int32) = [] of Int32, provider_data : String | Nil = nil, photo_url : String | Nil = nil, photo_size : Int32 | Nil = nil, photo_width : Int32 | Nil = nil, photo_height : Int32 | Nil = 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)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #currency : String
- #description : String
- #flexible? : Bool
- #max_tip_amount : Int32 | Nil
- #need_email? : Bool
- #need_name? : Bool
- #need_phone_number? : Bool
- #need_shipping_address? : Bool
- #payload : String
- #photo_height : Int32 | Nil
- #photo_size : Int32 | Nil
- #photo_url : String | Nil
- #photo_width : Int32 | Nil
- #prices : Array(Tourmaline::LabeledPrice)
- #provider_data : String | Nil
- #provider_token : String
- #send_email_to_provider? : Bool
- #send_phone_number_to_provider? : Bool
- #suggested_tip_amounts : Array(Int32)
- #title : String
Constructor Detail
def self.new(title : String, description : String, payload : String, provider_token : String, currency : String, prices : Array(Tourmaline::LabeledPrice) = [] of Tourmaline::LabeledPrice, max_tip_amount : Int32 | Nil = nil, suggested_tip_amounts : Array(Int32) = [] of Int32, provider_data : String | Nil = nil, photo_url : String | Nil = nil, photo_size : Int32 | Nil = nil, photo_width : Int32 | Nil = nil, photo_height : Int32 | Nil = 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)
#