Class: TD::Types::PaymentReceipt

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/payment_receipt.rb

Overview

Contains information about a successful payment.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#dateInteger

Point in time (Unix timestamp) when the payment was made.

Returns:

  • (Integer)

    the current value of date



8
9
10
# File 'lib/tdlib/types/payment_receipt.rb', line 8

def date
  @date
end

#product_infoTD::Types::ProductInfo

Information about the product.

Returns:



8
9
10
# File 'lib/tdlib/types/payment_receipt.rb', line 8

def product_info
  @product_info
end

#seller_bot_user_idInteger

User identifier of the seller bot.

Returns:

  • (Integer)

    the current value of seller_bot_user_id



8
9
10
# File 'lib/tdlib/types/payment_receipt.rb', line 8

def seller_bot_user_id
  @seller_bot_user_id
end

#typeTD::Types::PaymentReceiptType

Type of the payment receipt.

Returns:



8
9
10
# File 'lib/tdlib/types/payment_receipt.rb', line 8

def type
  @type
end