class Telegram::Bot::Types::PreCheckoutQuery
Attributes
currency[RW]
from[RW]
id[RW]
invoice_payload[RW]
order_info[RW]
shipping_option_id[RW]
total_amount[RW]
Public Class Methods
new(attributes)
click to toggle source
# File lib/telegram/bot/types/pre_checkout_query.rb, line 11 def initialize(attributes) attributes.each { |k, v| self.send("#{k}=", v) if self.respond_to? k } end
Public Instance Methods
from=(attributes)
click to toggle source
# File lib/telegram/bot/types/pre_checkout_query.rb, line 15 def from=(attributes) @from = User.new(attr) end
order_info=(attributes)
click to toggle source
# File lib/telegram/bot/types/pre_checkout_query.rb, line 19 def order_info=(attributes) @order_info = OrderInfo.new(attr) end