Class: Stripe::PaymentRecordReportPaymentParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentRecordReportPaymentParams
- Defined in:
- lib/stripe/params/payment_record_report_payment_params.rb
Defined Under Namespace
Classes: AmountRequested, CustomerDetails, Failed, Guaranteed, PaymentMethodDetails, ProcessorDetails, ShippingDetails
Instance Attribute Summary collapse
-
#amount_requested ⇒ Object
The amount you initially requested for this payment.
-
#customer_details ⇒ Object
Customer information for this payment.
-
#customer_presence ⇒ Object
Indicates whether the customer was present in your checkout flow during this payment.
-
#description ⇒ Object
An arbitrary string attached to the object.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#failed ⇒ Object
Information about the payment attempt failure.
-
#guaranteed ⇒ Object
Information about the payment attempt guarantee.
-
#initiated_at ⇒ Object
When the reported payment was initiated.
-
#metadata ⇒ Object
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object.
-
#outcome ⇒ Object
The outcome of the reported payment.
-
#payment_method_details ⇒ Object
Information about the Payment Method debited for this payment.
-
#processor_details ⇒ Object
Processor information for this payment.
-
#shipping_details ⇒ Object
Shipping information for this payment.
Instance Method Summary collapse
-
#initialize(amount_requested: nil, customer_details: nil, customer_presence: nil, description: nil, expand: nil, failed: nil, guaranteed: nil, initiated_at: nil, metadata: nil, outcome: nil, payment_method_details: nil, processor_details: nil, shipping_details: nil) ⇒ PaymentRecordReportPaymentParams
constructor
A new instance of PaymentRecordReportPaymentParams.
Methods inherited from RequestParams
Constructor Details
#initialize(amount_requested: nil, customer_details: nil, customer_presence: nil, description: nil, expand: nil, failed: nil, guaranteed: nil, initiated_at: nil, metadata: nil, outcome: nil, payment_method_details: nil, processor_details: nil, shipping_details: nil) ⇒ PaymentRecordReportPaymentParams
222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 222 def initialize( amount_requested: nil, customer_details: nil, customer_presence: nil, description: nil, expand: nil, failed: nil, guaranteed: nil, initiated_at: nil, metadata: nil, outcome: nil, payment_method_details: nil, processor_details: nil, shipping_details: nil ) @amount_requested = amount_requested @customer_details = customer_details @customer_presence = customer_presence @description = description = @failed = failed @guaranteed = guaranteed @initiated_at = initiated_at = @outcome = outcome @payment_method_details = payment_method_details @processor_details = processor_details @shipping_details = shipping_details end |
Instance Attribute Details
#amount_requested ⇒ Object
The amount you initially requested for this payment.
196 197 198 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 196 def amount_requested @amount_requested end |
#customer_details ⇒ Object
Customer information for this payment.
198 199 200 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 198 def customer_details @customer_details end |
#customer_presence ⇒ Object
Indicates whether the customer was present in your checkout flow during this payment.
200 201 202 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 200 def customer_presence @customer_presence end |
#description ⇒ Object
An arbitrary string attached to the object. Often useful for displaying to users.
202 203 204 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 202 def description @description end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
204 205 206 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 204 def end |
#failed ⇒ Object
Information about the payment attempt failure.
206 207 208 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 206 def failed @failed end |
#guaranteed ⇒ Object
Information about the payment attempt guarantee.
208 209 210 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 208 def guaranteed @guaranteed end |
#initiated_at ⇒ Object
When the reported payment was initiated. Measured in seconds since the Unix epoch.
210 211 212 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 210 def initiated_at @initiated_at end |
#metadata ⇒ Object
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to ‘metadata`.
212 213 214 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 212 def end |
#outcome ⇒ Object
The outcome of the reported payment.
214 215 216 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 214 def outcome @outcome end |
#payment_method_details ⇒ Object
Information about the Payment Method debited for this payment.
216 217 218 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 216 def payment_method_details @payment_method_details end |
#processor_details ⇒ Object
Processor information for this payment.
218 219 220 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 218 def processor_details @processor_details end |
#shipping_details ⇒ Object
Shipping information for this payment.
220 221 222 |
# File 'lib/stripe/params/payment_record_report_payment_params.rb', line 220 def shipping_details @shipping_details end |