Class: Stripe::PaymentRecord::ReportPaymentAttemptCanceledParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/payment_record.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.



2157
2158
2159
2160
2161
# File 'lib/stripe/resources/payment_record.rb', line 2157

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.



2151
2152
2153
# File 'lib/stripe/resources/payment_record.rb', line 2151

def canceled_at
  @canceled_at
end

#expandObject

Specifies which fields in the response should be expanded.



2153
2154
2155
# File 'lib/stripe/resources/payment_record.rb', line 2153

def expand
  @expand
end

#metadataObject

Attribute for param field metadata



2155
2156
2157
# File 'lib/stripe/resources/payment_record.rb', line 2155

def 
  @metadata
end