Sha256: c3cbcf2623213afdc4262d8479490ec198325a09f26a9be82851977a9ccd02a4

Contents?: true

Size: 968 Bytes

Versions: 3

Compression:

Stored size: 968 Bytes

Contents

module TD::Types
  # Contains information about a successful payment.
  #
  # @attr date [Integer] Point in time (Unix timestamp) when the payment was made.
  # @attr payments_provider_user_id [Integer] User identifier of the payment provider bot.
  # @attr invoice [TD::Types::Invoice] Contains information about the invoice.
  # @attr order_info [TD::Types::OrderInfo, nil] Contains order information; may be null.
  # @attr shipping_option [TD::Types::ShippingOption, nil] Chosen shipping option; may be null.
  # @attr credentials_title [String] Title of the saved credentials.
  class PaymentReceipt < Base
    attribute :date, TD::Types::Integer
    attribute :payments_provider_user_id, TD::Types::Integer
    attribute :invoice, TD::Types::Invoice
    attribute :order_info, TD::Types::OrderInfo.optional.default(nil)
    attribute :shipping_option, TD::Types::ShippingOption.optional.default(nil)
    attribute :credentials_title, TD::Types::String
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/payment_receipt.rb
tdlib-ruby-2.1.0 lib/tdlib/types/payment_receipt.rb
tdlib-ruby-2.0.0 lib/tdlib/types/payment_receipt.rb