Sha256: 7bd828e6ef6f94e92e680c16c0145f019a0ba3b6a52eb5902b9a196255694654

Contents?: true

Size: 515 Bytes

Versions: 1

Compression:

Stored size: 515 Bytes

Contents

# frozen_string_literal: true

require_relative "./types"
require_relative "./amount"

module Yookassa
  module Entity
    class Refund < Dry::Struct
      attribute :id, Types::String
      attribute? :idempotency_key, Types::String
      attribute :status, Types::String
      attribute :payment_id, Types::String
      attribute :created_at, Types::String
      attribute :amount, Entity::Amount
      attribute? :receipt_registration, Types::String
      attribute :description, Types::String
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yookassa-0.2.0 lib/yookassa/entity/refund.rb