Sha256: c246fa90526184ee97df0912968336bf56fecf3793438fc519be999318f5cc09

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class RefundedPayment < Base
        attribute :currency, Types::String.constrained(eql: 'XTR').default('XTR')
        attribute :total_amount, Types::Integer
        attribute :invoice_payload, Types::String
        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/refunded_payment.rb