Class: Stripe::PaymentRecordService::ReportPaymentAttemptFailedParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/payment_record_service.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) ⇒ ReportPaymentAttemptFailedParams

Returns a new instance of ReportPaymentAttemptFailedParams.



251
252
253
254
255
# File 'lib/stripe/services/payment_record_service.rb', line 251

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.



243
244
245
# File 'lib/stripe/services/payment_record_service.rb', line 243

def expand
  @expand
end

#failed_atObject

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



246
247
248
# File 'lib/stripe/services/payment_record_service.rb', line 246

def failed_at
  @failed_at
end

#metadataObject

Attribute for param field metadata



249
250
251
# File 'lib/stripe/services/payment_record_service.rb', line 249

def 
  @metadata
end