Class: DingSDK::Models::Shared::CreateCheckRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
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.



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

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



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

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