Class: DingSDK::Shared::CreateCheckRequest

Inherits:
Crystalline::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/ding_sdk/models/shared/createcheckrequest.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(authentication_uuid: nil, check_code: nil, customer_uuid: nil) ⇒ CreateCheckRequest

Returns a new instance of CreateCheckRequest.



23
24
25
26
27
# File 'lib/ding_sdk/models/shared/createcheckrequest.rb', line 23

def initialize(authentication_uuid: nil, check_code: nil, customer_uuid: nil)
  @authentication_uuid = authentication_uuid
  @check_code = check_code
  @customer_uuid = customer_uuid
end

Instance Method Details

#==(other) ⇒ Object



29
30
31
32
33
34
35
# File 'lib/ding_sdk/models/shared/createcheckrequest.rb', line 29

def ==(other)
  return false unless other.is_a? self.class
  return false unless @authentication_uuid == other.authentication_uuid
  return false unless @check_code == other.check_code
  return false unless @customer_uuid == other.customer_uuid
  true
end