Class: Stripe::Issuing::CreditUnderwritingRecordService::CorrectParams::Decision::ApplicationRejected

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/issuing/credit_underwriting_record_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(reason_other_explanation: nil, reasons: nil) ⇒ ApplicationRejected

Returns a new instance of ApplicationRejected.



76
77
78
79
# File 'lib/stripe/services/issuing/credit_underwriting_record_service.rb', line 76

def initialize(reason_other_explanation: nil, reasons: nil)
  @reason_other_explanation = reason_other_explanation
  @reasons = reasons
end

Instance Attribute Details

#reason_other_explanationObject

Details about the ‘reasons.other` when present.



71
72
73
# File 'lib/stripe/services/issuing/credit_underwriting_record_service.rb', line 71

def reason_other_explanation
  @reason_other_explanation
end

#reasonsObject

List of reasons why the application was rejected, up to 4 reasons, in order of importance.



74
75
76
# File 'lib/stripe/services/issuing/credit_underwriting_record_service.rb', line 74

def reasons
  @reasons
end