Class: Stripe::PaymentRecordService::ReportPaymentAttemptCanceledParams

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(canceled_at: nil, expand: nil, metadata: nil) ⇒ ReportPaymentAttemptCanceledParams

Returns a new instance of ReportPaymentAttemptCanceledParams.



234
235
236
237
238
# File 'lib/stripe/services/payment_record_service.rb', line 234

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

Instance Attribute Details

#canceled_atObject

When the reported payment was canceled. Measured in seconds since the Unix epoch.



226
227
228
# File 'lib/stripe/services/payment_record_service.rb', line 226

def canceled_at
  @canceled_at
end

#expandObject

Specifies which fields in the response should be expanded.



229
230
231
# File 'lib/stripe/services/payment_record_service.rb', line 229

def expand
  @expand
end

#metadataObject

Attribute for param field metadata



232
233
234
# File 'lib/stripe/services/payment_record_service.rb', line 232

def 
  @metadata
end