Sha256: 2d6a241f95ccfb579bcd83b2dbec041cf0e237b10ac29eff64fea701858e40e5

Contents?: true

Size: 664 Bytes

Versions: 1

Compression:

Stored size: 664 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? :subscription_expiration_date, Types::Integer
        attribute? :is_recurring, Types::True
        attribute? :is_first_recurring, Types::True
        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

1 entries across 1 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/successful_payment.rb