Sha256: 4c66707ce0c58cd7623f00f77207ce7c56c700c20d2b9071569da522c0be9617

Contents?: true

Size: 659 Bytes

Versions: 1

Compression:

Stored size: 659 Bytes

Contents

require 'dry-struct'

module Types
  include Dry.Types()
end

module TochkaCyclopsApi
  module Schemas
    module Responses
      # Response schema for create_beneficiary_fl request
      class CreateBeneficiaryFl < 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_fl.rb