Class: Stripe::PaymentRecordReportPaymentAttemptCanceledParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_record_report_payment_attempt_canceled_params.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) ⇒ PaymentRecordReportPaymentAttemptCanceledParams

Returns a new instance of PaymentRecordReportPaymentAttemptCanceledParams.



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

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.



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

def canceled_at
  @canceled_at
end

#expandObject

Specifies which fields in the response should be expanded.



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

def expand
  @expand
end

#metadataObject

Attribute for param field metadata



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

def 
  @metadata
end