Class: OpenApiSDK::Models::Operations::CreatePartnerApplication

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/open_api_sdk/models/operations/createpartner_application.rb

Overview

Linked program application, including review outcome when applicable.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(rejection_reason: nil, rejection_note: nil, reviewed_at: nil) ⇒ CreatePartnerApplication

Returns a new instance of CreatePartnerApplication.



23
24
25
26
27
# File 'lib/open_api_sdk/models/operations/createpartner_application.rb', line 23

def initialize(rejection_reason: nil, rejection_note: nil, reviewed_at: nil)
  @rejection_reason = rejection_reason
  @rejection_note = rejection_note
  @reviewed_at = reviewed_at
end

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/open_api_sdk/models/operations/createpartner_application.rb', line 30

def ==(other)
  return false unless other.is_a? self.class
  return false unless @rejection_reason == other.rejection_reason
  return false unless @rejection_note == other.rejection_note
  return false unless @reviewed_at == other.reviewed_at
  true
end