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

#credentials_titleTD::Types::String

Title of the saved credentials chosen by the buyer.

Returns:

  • (TD::Types::String)

    the current value of credentials_title



15
16
17
# File 'lib/tdlib/types/payment_receipt.rb', line 15

def credentials_title
  @credentials_title
end

#dateInteger

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

Returns:

  • (Integer)

    the current value of date



15
16
17
# File 'lib/tdlib/types/payment_receipt.rb', line 15

def date
  @date
end

#descriptionTD::Types::String

Product description.

Returns:

  • (TD::Types::String)

    the current value of description



15
16
17
# File 'lib/tdlib/types/payment_receipt.rb', line 15

def description
  @description
end

#invoiceTD::Types::Invoice

Contains information about the invoice.

Returns:



15
16
17
# File 'lib/tdlib/types/payment_receipt.rb', line 15

def invoice
  @invoice
end

#order_infoTD::Types::OrderInfo?

Order information; may be null.

Returns:



15
16
17
# File 'lib/tdlib/types/payment_receipt.rb', line 15

def order_info
  @order_info
end

#payments_provider_user_idInteger

User identifier of the payment provider bot.

Returns:

  • (Integer)

    the current value of payments_provider_user_id



15
16
17
# File 'lib/tdlib/types/payment_receipt.rb', line 15

def payments_provider_user_id
  @payments_provider_user_id
end

#photoTD::Types::Photo?

Product photo; may be null.

Returns:



15
16
17
# File 'lib/tdlib/types/payment_receipt.rb', line 15

def photo
  @photo
end

#seller_bot_user_idInteger

User identifier of the seller bot.

Returns:

  • (Integer)

    the current value of seller_bot_user_id



15
16
17
# File 'lib/tdlib/types/payment_receipt.rb', line 15

def seller_bot_user_id
  @seller_bot_user_id
end

#shipping_optionTD::Types::ShippingOption?

Chosen shipping option; may be null.

Returns:



15
16
17
# File 'lib/tdlib/types/payment_receipt.rb', line 15

def shipping_option
  @shipping_option
end

#tip_amountInteger

The amount of tip chosen by the buyer in the smallest units of the currency.

Returns:

  • (Integer)

    the current value of tip_amount



15
16
17
# File 'lib/tdlib/types/payment_receipt.rb', line 15

def tip_amount
  @tip_amount
end

#titleTD::Types::String

Product title.

Returns:

  • (TD::Types::String)

    the current value of title



15
16
17
# File 'lib/tdlib/types/payment_receipt.rb', line 15

def title
  @title
end