Class: TD::Types::PaymentForm

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

Overview

Contains information about an invoice payment form.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#idInteger

The payment form identifier.

Returns:

  • (Integer)

    the current value of id



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

def id
  @id
end

#product_infoTD::Types::ProductInfo

Information about the product.

Returns:



8
9
10
# File 'lib/tdlib/types/payment_form.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_form.rb', line 8

def seller_bot_user_id
  @seller_bot_user_id
end

#typeTD::Types::PaymentFormType

Type of the payment form.

Returns:



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

def type
  @type
end