Sha256: ba5d9a10021d6cda5b76d371c496650a1f9f902a612fed4361ee821dea2876e7

Contents?: true

Size: 650 Bytes

Versions: 1

Compression:

Stored size: 650 Bytes

Contents

# frozen_string_literal: true

require 'dry-struct'

module TochkaCyclopsApi
  module Schemas
    module Responses
      # Response schema for create_beneficiary_ip request
      class CreateBeneficiaryIp < Dry::Struct
        # Schema for beneficiary field of main response
        class BeneficiaryData < Dry::Struct
          attribute :inn, Types::Strict::String
          attribute :id, Types::Strict::String
          attribute :nominal_account_code, Types::Strict::String.optional
          attribute :nominal_account_bic, Types::Strict::String.optional
        end

        attribute :beneficiary, BeneficiaryData
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tochka_cyclops_api-0.4.0 lib/tochka_cyclops_api/schemas/responses/create_beneficiary_ip.rb