Class: Stripe::PaymentRecordReportPaymentParams::Failed
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentRecordReportPaymentParams::Failed
- Defined in:
- lib/stripe/params/payment_record_report_payment_params.rb
Instance Attribute Summary collapse
-
#failed_at ⇒ Object
When the reported payment failed.
-
#failure_code ⇒ Object
The failure code for this payment attempt.
Instance Method Summary collapse
-
#initialize(failed_at: nil, failure_code: nil) ⇒ Failed
constructor
A new instance of Failed.
Methods inherited from RequestParams
Constructor Details
#initialize(failed_at: nil, failure_code: nil) ⇒ Failed
Returns a new instance of Failed.
42 43 44 45 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 42 def initialize(failed_at: nil, failure_code: nil) @failed_at = failed_at @failure_code = failure_code end |
Instance Attribute Details
#failed_at ⇒ Object
When the reported payment failed. Measured in seconds since the Unix epoch.
38 39 40 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 38 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`.
40 41 42 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 40 def failure_code @failure_code end |