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_titleString

Title of the saved credentials.

Returns:

  • (String)

    the current value of credentials_title



10
11
12
# File 'lib/tdlib/types/payment_receipt.rb', line 10

def credentials_title
  @credentials_title
end

#dateInteger

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

Returns:

  • (Integer)

    the current value of date



10
11
12
# File 'lib/tdlib/types/payment_receipt.rb', line 10

def date
  @date
end

#invoiceTD::Types::Invoice

Contains information about the invoice.

Returns:



10
11
12
# File 'lib/tdlib/types/payment_receipt.rb', line 10

def invoice
  @invoice
end

#order_infoTD::Types::OrderInfo?

Contains order information; may be null.

Returns:



10
11
12
# File 'lib/tdlib/types/payment_receipt.rb', line 10

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



10
11
12
# File 'lib/tdlib/types/payment_receipt.rb', line 10

def payments_provider_user_id
  @payments_provider_user_id
end

#shipping_optionTD::Types::ShippingOption?

Chosen shipping option; may be null.

Returns:



10
11
12
# File 'lib/tdlib/types/payment_receipt.rb', line 10

def shipping_option
  @shipping_option
end