Sha256: 6171ae6cb2edc94214ca6a54147e3a6ce60fcfc0f94ab57179aab93e27d24908

Contents?: true

Size: 501 Bytes

Versions: 4

Compression:

Stored size: 501 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class SuccessfulPayment < Base
        attribute :currency, Types::String
        attribute :total_amount, Types::Integer
        attribute :invoice_payload, Types::String
        attribute? :shipping_option_id, Types::String
        attribute? :order_info, OrderInfo
        attribute :telegram_payment_charge_id, Types::String
        attribute :provider_payment_charge_id, Types::String
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/successful_payment.rb
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/successful_payment.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/successful_payment.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/successful_payment.rb