Class: TD::Types::PaymentReceiptType::Regular

Inherits:
TD::Types::PaymentReceiptType show all
Defined in:
lib/tdlib/types/payment_receipt_type/regular.rb

Overview

The payment was done using a third-party payment provider.

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



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

def credentials_title
  @credentials_title
end

#invoiceTD::Types::Invoice

Information about the invoice.

Returns:



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

def invoice
  @invoice
end

#order_infoTD::Types::OrderInfo?

Order information; may be null.

Returns:



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

def order_info
  @order_info
end

#payment_provider_user_idInteger

User identifier of the payment provider bot.

Returns:

  • (Integer)

    the current value of payment_provider_user_id



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

def payment_provider_user_id
  @payment_provider_user_id
end

#shipping_optionTD::Types::ShippingOption?

Chosen shipping option; may be null.

Returns:



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

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



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

def tip_amount
  @tip_amount
end