Class: Stripe::PaymentRecordReportPaymentAttemptFailedParams

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(expand: nil, failed_at: nil, metadata: nil) ⇒ PaymentRecordReportPaymentAttemptFailedParams

Returns a new instance of PaymentRecordReportPaymentAttemptFailedParams.



13
14
15
16
17
# File 'lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb', line 13

def initialize(expand: nil, failed_at: nil, metadata: nil)
  @expand = expand
  @failed_at = failed_at
  @metadata = 
end

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



7
8
9
# File 'lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb', line 7

def expand
  @expand
end

#failed_atObject

When the reported payment failed. Measured in seconds since the Unix epoch.



9
10
11
# File 'lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb', line 9

def failed_at
  @failed_at
end

#metadataObject

Attribute for param field metadata



11
12
13
# File 'lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb', line 11

def 
  @metadata
end