Sha256: a0a3208b56fe4c411a3d4d187de67f47db2dc27337509a2ac0a122d7043fab4c

Contents?: true

Size: 370 Bytes

Versions: 1

Compression:

Stored size: 370 Bytes

Contents

# frozen_string_literal: true

require_relative './amount'

module Yookassa
  module Entity
    class Refund < Yookassa::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
yookassa-0.1.0 lib/yookassa/entity/refund.rb