Class: Stripe::PaymentRecordReportPaymentAttemptParams::Failed
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentRecordReportPaymentAttemptParams::Failed
- Defined in:
- lib/stripe/params/payment_record_report_payment_attempt_params.rb
Defined Under Namespace
Classes: ProcessorDetails
Instance Attribute Summary collapse
-
#failed_at ⇒ Object
When the reported payment failed.
-
#failure_code ⇒ Object
The failure code for this payment attempt.
-
#processor_details ⇒ Object
Processor information for this payment.
Instance Method Summary collapse
-
#initialize(failed_at: nil, failure_code: nil, processor_details: nil) ⇒ Failed
constructor
A new instance of Failed.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(failed_at: nil, failure_code: nil, processor_details: nil) ⇒ Failed
Returns a new instance of Failed.
33 34 35 36 37 |
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 33 def initialize(failed_at: nil, failure_code: nil, processor_details: nil) @failed_at = failed_at @failure_code = failure_code @processor_details = processor_details end |
Instance Attribute Details
#failed_at ⇒ Object
When the reported payment failed. Measured in seconds since the Unix epoch.
27 28 29 |
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 27 def failed_at @failed_at end |
#failure_code ⇒ Object
The failure code for this payment attempt. Must be one of ‘payment_method_customer_decline` or `payment_method_provider_unknown_outcome`.
29 30 31 |
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 29 def failure_code @failure_code end |
#processor_details ⇒ Object
Processor information for this payment.
31 32 33 |
# File 'lib/stripe/params/payment_record_report_payment_attempt_params.rb', line 31 def processor_details @processor_details end |