Sha256: 92f6795279625055010ef713861bcd1bec199e5e6c5063951224f3a3f3e2d35e

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

# frozen_string_literal: true

require_relative './amount'

module YandexCheckout
  module Entity
    class Refund < YandexCheckout::Response
      option :payment_id
      option :created_at, proc(&:to_s)
      option :amount, Entity::Amount
      option :receipt_registration, proc(&:to_s), optional: true
      option :description, proc(&:to_s), optional: true
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yandex-checkout-0.1.1 lib/yandex-checkout/entity/refund.rb