Sha256: be9c7ccf800ed75d45769d69d56fe1056865ecc762253bd67ff0e13356ed4e5f
Contents?: true
Size: 1.84 KB
Versions: 11
Compression:
Stored size: 1.84 KB
Contents
# typed: false # frozen_string_literal: true ######################################################################################################################## # This file is auto-generated. If you have an issue, please create a GitHub issue. # ######################################################################################################################## module ShopifyAPI class Balance < ShopifyAPI::Rest::Base extend T::Sig @prev_page_info = T.let(Concurrent::ThreadLocalVar.new { nil }, Concurrent::ThreadLocalVar) @next_page_info = T.let(Concurrent::ThreadLocalVar.new { nil }, Concurrent::ThreadLocalVar) @api_call_limit = T.let(Concurrent::ThreadLocalVar.new { nil }, Concurrent::ThreadLocalVar) @retry_request_after = T.let(Concurrent::ThreadLocalVar.new { nil }, Concurrent::ThreadLocalVar) sig { params(session: T.nilable(ShopifyAPI::Auth::Session), from_hash: T.nilable(T::Hash[T.untyped, T.untyped])).void } def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil) super(session: session, from_hash: from_hash) end @has_one = T.let({}, T::Hash[Symbol, Class]) @has_many = T.let({}, T::Hash[Symbol, Class]) @paths = T.let([ {http_method: :get, operation: :get, ids: [], path: "shopify_payments/balance.json"} ], T::Array[T::Hash[String, T.any(T::Array[Symbol], String, Symbol)]]) class << self sig do params( session: Auth::Session, kwargs: T.untyped ).returns(T::Array[Balance]) end def all( session: ShopifyAPI::Context.active_session, **kwargs ) response = base_find( session: session, ids: {}, params: {}.merge(kwargs).compact, ) T.cast(response, T::Array[Balance]) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems