Sha256: fe89894fb66d1523af0d3ab603b4d09fbed4eb9ea48f1f9dbc37048aad5f88d6
Contents?: true
Size: 1.85 KB
Versions: 1
Compression:
Stored size: 1.85 KB
Contents
module TD::Types # Product invoice. # # @attr currency [String] ISO 4217 currency code. # @attr price_parts [Array<TD::Types::LabeledPricePart>] A list of objects used to calculate the total price of the # product. # @attr max_tip_amount [Integer] The maximum allowed amount of tip in the smallest units of the currency. # @attr suggested_tip_amounts [Array<Integer>] Suggested amounts of tip in the smallest units of the currency. # @attr is_test [Boolean] True, if the payment is a test payment. # @attr need_name [Boolean] True, if the user's name is needed for payment. # @attr need_phone_number [Boolean] True, if the user's phone number is needed for payment. # @attr need_email_address [Boolean] True, if the user's email address is needed for payment. # @attr need_shipping_address [Boolean] True, if the user's shipping address is needed for payment. # @attr send_phone_number_to_provider [Boolean] True, if the user's phone number will be sent to the provider. # @attr send_email_address_to_provider [Boolean] True, if the user's email address will be sent to the provider. # @attr is_flexible [Boolean] True, if the total price depends on the shipping method. class Invoice < Base attribute :currency, TD::Types::String attribute :price_parts, TD::Types::Array.of(TD::Types::LabeledPricePart) attribute :max_tip_amount, TD::Types::Integer attribute :suggested_tip_amounts, TD::Types::Array.of(TD::Types::Integer) attribute :is_test, TD::Types::Bool attribute :need_name, TD::Types::Bool attribute :need_phone_number, TD::Types::Bool attribute :need_email_address, TD::Types::Bool attribute :need_shipping_address, TD::Types::Bool attribute :send_phone_number_to_provider, TD::Types::Bool attribute :send_email_address_to_provider, TD::Types::Bool attribute :is_flexible, TD::Types::Bool end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.1 | lib/tdlib/types/invoice.rb |