Module: Amocrm::Models::CustomerTransactionCreateResponse

Extended by:
Internal::Type::Union
Defined in:
lib/amocrm/models/customer_transaction_create_response.rb,
sig/amocrm/models/customer_transaction_create_response.rbs

Overview

See Also:

  • Amocrm::Resources::CustomerTransactions#create

Defined Under Namespace

Classes: CustomerTransactionCreateResponse, Problem

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Class Method Details

.variants ⇒ Array(Amocrm::Models::CustomerTransactionCreateResponse::CustomerTransactionCreateResponse, Amocrm::Models::CustomerTransactionCreateResponse::Problem)



# File 'lib/amocrm/models/customer_transaction_create_response.rb', line 96

Instance Method Details

#initialize(id: nil, _links: nil, request_id: nil) ⇒ Object

Parameters:

  • id (Integer) (defaults to: nil)
  • _links (Object) (defaults to: nil)
  • request_id (String) (defaults to: nil)


# File 'lib/amocrm/models/customer_transaction_create_response.rb', line 60

#self?.variants ⇒ ::Array[Amocrm::Models::customer_transaction_create_response]

Returns:

  • (::Array[Amocrm::Models::customer_transaction_create_response])


118
# File 'sig/amocrm/models/customer_transaction_create_response.rbs', line 118

def self?.variants: -> ::Array[Amocrm::Models::customer_transaction_create_response]