class Telegram::Bot::Types::SuccessfulPayment

Attributes

currency[RW]
invoice_payload[RW]
order_info[RW]
provider_payment_charge_id[RW]
shipping_option_id[RW]
telegram_payment_charge_id[RW]
total_amount[RW]

Public Class Methods

new(attributes) click to toggle source
# File lib/telegram/bot/types/successful_payment.rb, line 11
def initialize(attributes)
  attributes.each { |k, v| self.send("#{k}=", v) if self.respond_to? k }
end

Public Instance Methods

order_info=(attributes) click to toggle source
# File lib/telegram/bot/types/successful_payment.rb, line 15
def order_info=(attributes)
  @order_info = OrderInfo.new(attributes)
end