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.



205
206
207
208
209
# File 'lib/stripe/services/payment_record_service.rb', line 205

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.



199
200
201
# File 'lib/stripe/services/payment_record_service.rb', line 199

def canceled_at
  @canceled_at
end

#expandObject

Specifies which fields in the response should be expanded.



201
202
203
# File 'lib/stripe/services/payment_record_service.rb', line 201

def expand
  @expand
end

#metadataObject

Attribute for param field metadata



203
204
205
# File 'lib/stripe/services/payment_record_service.rb', line 203

def 
  @metadata
end