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_urlString

URL for additional payment credentials verification.

Returns:

  • (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