Class: Stripe::PaymentRecord::ReportPaymentAttemptGuaranteedParams

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

Returns a new instance of ReportPaymentAttemptGuaranteedParams.



1240
1241
1242
1243
1244
# File 'lib/stripe/resources/payment_record.rb', line 1240

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

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



1234
1235
1236
# File 'lib/stripe/resources/payment_record.rb', line 1234

def expand
  @expand
end

#guaranteed_atObject

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



1236
1237
1238
# File 'lib/stripe/resources/payment_record.rb', line 1236

def guaranteed_at
  @guaranteed_at
end

#metadataObject

Attribute for param field metadata



1238
1239
1240
# File 'lib/stripe/resources/payment_record.rb', line 1238

def 
  @metadata
end