class Tourmaline::InputInvoiceMessageContent

Included Modules

Defined in:

tourmaline/models/input_invoice_message_content.cr

Constructors

Instance Method Summary

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) #

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

[View source]

Instance Method Detail

def currency : String #

[View source]
def description : String #

[View source]
def flexible? : Bool #

[View source]
def max_tip_amount : Int32 | Nil #

[View source]
def need_email? : Bool #

[View source]
def need_name? : Bool #

[View source]
def need_phone_number? : Bool #

[View source]
def need_shipping_address? : Bool #

[View source]
def payload : String #

[View source]
def photo_height : Int32 | Nil #

[View source]
def photo_size : Int32 | Nil #

[View source]
def photo_url : String | Nil #

[View source]
def photo_width : Int32 | Nil #

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

[View source]
def provider_data : String | Nil #

[View source]
def provider_token : String #

[View source]
def send_email_to_provider? : Bool #

[View source]
def send_phone_number_to_provider? : Bool #

[View source]
def suggested_tip_amounts : Array(Int32) #

[View source]
def title : String #

[View source]