Sha256: a25eed628c99713bbf166cba5808414c577376d0a398c52e353b87d9941a67d3

Contents?: true

Size: 1.95 KB

Versions: 26

Compression:

Stored size: 1.95 KB

Contents

module Moneta
  module Api
    module Requests
      # Возврат средств по указанной операции.
      # Refund given transaction.

      class RefundRequest
        include Moneta::Api::DataMapper

        # @return [Integer] Номер операции в системе МОНЕТА.РУ, по которой необходимо вернуть деньги
        #   / Transaction ID in Moneta.ru
        property :transaction_id

        # @return [Float] Сумма, которую необходимо возвратить.
        #   Если сумма не указана, то сумма для возврата берется из указанной операции.
        #   Необязательное поле.
        #   / Amount to refund in source transaction payee's currency. If omitted the source transaction payees' amount is used. Optional.
        property :amount

        # @return [String] Платежный пароль
        #   / Payment password for payer account
        property :payment_password

        # @return [String] Внешний номер операции
        #   / External transaction ID
        property :client_transaction

        # @return [String] Описание операции
        #   / Transaction description or comments
        property :description

        # @return [Moneta::Api::Types::OperationInfo] Набор полей, которые необходимо сохранить в качестве атрибутов операции. Значения дат в формате dd.MM.yyyy HH:mm:ss
        #   / Key-value pairs that will be saved as a transaction attributes. Use format dd.MM.yyyy HH:mm:ss for date values
        property :operation_info, type: Types::OperationInfo

        # @return [String] Запрос для платежного пароля
        #   / Payment password challenge
        property :payment_password_challenge
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
moneta-api-2.1.0 lib/moneta/api/requests/refund_request.rb
moneta-api-2.0.0 lib/moneta/api/requests/refund_request.rb
moneta-api-2.0.0.rc2 lib/moneta/api/requests/refund_request.rb
moneta-api-2.0.0.rc1 lib/moneta/api/requests/refund_request.rb
moneta-api-1.13.0 lib/moneta/api/requests/refund_request.rb
moneta-api-1.12.8 lib/moneta/api/requests/refund_request.rb
moneta-api-1.12.7 lib/moneta/api/requests/refund_request.rb
moneta-api-1.12.6 lib/moneta/api/requests/refund_request.rb
moneta-api-1.12.5 lib/moneta/api/requests/refund_request.rb
moneta-api-1.12.4 lib/moneta/api/requests/refund_request.rb
moneta-api-1.12.3 lib/moneta/api/requests/refund_request.rb
moneta-api-1.12.2 lib/moneta/api/requests/refund_request.rb
moneta-api-1.12.1 lib/moneta/api/requests/refund_request.rb
moneta-api-1.12.0 lib/moneta/api/requests/refund_request.rb
moneta-api-1.11.0 lib/moneta/api/requests/refund_request.rb
moneta-api-1.10.0 lib/moneta/api/requests/refund_request.rb
moneta-api-1.9.0 lib/moneta/api/requests/refund_request.rb
moneta-api-1.8.0 lib/moneta/api/requests/refund_request.rb
moneta-api-1.7.0 lib/moneta/api/requests/refund_request.rb
moneta-api-1.6.0 lib/moneta/api/requests/refund_request.rb