Class: TD::Types::ChatRevenueTransactionType::Refund

Inherits:
TD::Types::ChatRevenueTransactionType show all
Defined in:
lib/tdlib/types/chat_revenue_transaction_type/refund.rb

Overview

Describes a refund for failed withdrawal of earnings.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#providerTD::Types::String

Name of the payment provider.

Returns:

  • (TD::Types::String)

    the current value of provider



6
7
8
# File 'lib/tdlib/types/chat_revenue_transaction_type/refund.rb', line 6

def provider
  @provider
end

#refund_dateInteger

Point in time (Unix timestamp) when the transaction was refunded.

Returns:

  • (Integer)

    the current value of refund_date



6
7
8
# File 'lib/tdlib/types/chat_revenue_transaction_type/refund.rb', line 6

def refund_date
  @refund_date
end