Class: TD::Types::PaymentResult

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

Overview

Contains the result of a payment request.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#successBoolean

True, if the payment request was successful; otherwise the verification_url will be not empty.

Returns:

  • (Boolean)

    the current value of success



7
8
9
# File 'lib/tdlib/types/payment_result.rb', line 7

def success
  @success
end

#verification_urlTD::Types::String

URL for additional payment credentials verification.

Returns:

  • (TD::Types::String)

    the current value of verification_url



7
8
9
# File 'lib/tdlib/types/payment_result.rb', line 7

def verification_url
  @verification_url
end