Class: Amocrm::Models::CustomerTransactionListByCustomerResponse::CustomerTransactionListResponse::Embedded::Transaction

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/amocrm/models/customer_transaction_list_by_customer_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

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

Methods included from Internal::Util::SorbetRuntimeSupport

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

Constructor Details

#initialize(transactions: nil) ⇒ Object



50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'lib/amocrm/models/customer_transaction_list_by_customer_response.rb', line 50

class Transaction < Amocrm::Internal::Type::BaseModel
  # @!attribute id
  #
  #   @return [Integer, nil]
  optional :id, Integer

  # @!attribute _links
  #
  #   @return [Object, nil]
  optional :_links, Amocrm::Internal::Type::Unknown

  # @!attribute comment
  #
  #   @return [String, nil]
  optional :comment, String

  # @!attribute created_at
  #
  #   @return [Integer, nil]
  optional :created_at, Integer

  # @!attribute created_by
  #
  #   @return [Integer, nil]
  optional :created_by, Integer

  # @!attribute customer_id
  #
  #   @return [Integer, nil]
  optional :customer_id, Integer

  # @!attribute price
  #
  #   @return [Integer, nil]
  optional :price, Integer

  # @!method initialize(id: nil, _links: nil, comment: nil, created_at: nil, created_by: nil, customer_id: nil, price: nil)
  #   @param id [Integer]
  #   @param _links [Object]
  #   @param comment [String]
  #   @param created_at [Integer]
  #   @param created_by [Integer]
  #   @param customer_id [Integer]
  #   @param price [Integer]
end

Instance Attribute Details

Returns:

  • (Object, nil)


59
# File 'lib/amocrm/models/customer_transaction_list_by_customer_response.rb', line 59

optional :_links, Amocrm::Internal::Type::Unknown

#commentString?

Returns:

  • (String, nil)


64
# File 'lib/amocrm/models/customer_transaction_list_by_customer_response.rb', line 64

optional :comment, String

#created_atInteger?

Returns:

  • (Integer, nil)


69
# File 'lib/amocrm/models/customer_transaction_list_by_customer_response.rb', line 69

optional :created_at, Integer

#created_byInteger?

Returns:

  • (Integer, nil)


74
# File 'lib/amocrm/models/customer_transaction_list_by_customer_response.rb', line 74

optional :created_by, Integer

#customer_idInteger?

Returns:

  • (Integer, nil)


79
# File 'lib/amocrm/models/customer_transaction_list_by_customer_response.rb', line 79

optional :customer_id, Integer

#idInteger?

Returns:

  • (Integer, nil)


54
# File 'lib/amocrm/models/customer_transaction_list_by_customer_response.rb', line 54

optional :id, Integer

#priceInteger?

Returns:

  • (Integer, nil)


84
# File 'lib/amocrm/models/customer_transaction_list_by_customer_response.rb', line 84

optional :price, Integer