Class: Stripe::Issuing::CreditUnderwritingRecordCorrectParams::Decision::ApplicationRejected

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of ApplicationRejected.



41
42
43
44
# File 'lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb', line 41

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.



37
38
39
# File 'lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb', line 37

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.



39
40
41
# File 'lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb', line 39

def reasons
  @reasons
end