class Tourmaline::InputInvoiceMessageContent
- Tourmaline::InputInvoiceMessageContent
- Reference
- Object
Included Modules
- JSON::Serializable
- Tourmaline::Model
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
Instance methods inherited from module Tourmaline::Model
client : Tourmaline::Client
client,
client=(client : Tourmaline::Client)
client=,
client? : Tourmaline::Client | Nil
client?,
finish_init(client : Tourmaline::Client)
finish_init
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)
#