Class: Stripe::PaymentAttemptRecordReportFailedParams::ProcessorDetails

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

Defined Under Namespace

Classes: Custom

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(custom: nil, type: nil) ⇒ ProcessorDetails

Returns a new instance of ProcessorDetails.



20
21
22
23
# File 'lib/stripe/params/payment_attempt_record_report_failed_params.rb', line 20

def initialize(custom: nil, type: nil)
  @custom = custom
  @type = type
end

Instance Attribute Details

#customObject

Information about the custom processor used to make this payment.



16
17
18
# File 'lib/stripe/params/payment_attempt_record_report_failed_params.rb', line 16

def custom
  @custom
end

#typeObject

The type of the processor details. An additional hash is included on processor_details with a name matching this value. It contains additional information specific to the processor.



18
19
20
# File 'lib/stripe/params/payment_attempt_record_report_failed_params.rb', line 18

def type
  @type
end