Class: Stripe::PaymentRecordReportRefundParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentRecordReportRefundParams
- Defined in:
- lib/stripe/params/payment_record_report_refund_params.rb
Defined Under Namespace
Classes: Amount, ProcessorDetails, Refunded
Instance Attribute Summary collapse
-
#amount ⇒ Object
A positive integer in the [smallest currency unit](stripe.com/docs/currencies#zero-decimal) representing how much of this payment to refund.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#initiated_at ⇒ Object
When the reported refund 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 refund.
-
#processor_details ⇒ Object
Processor information for this refund.
-
#refunded ⇒ Object
Information about the payment attempt refund.
Instance Method Summary collapse
-
#initialize(amount: nil, expand: nil, initiated_at: nil, metadata: nil, outcome: nil, processor_details: nil, refunded: nil) ⇒ PaymentRecordReportRefundParams
constructor
A new instance of PaymentRecordReportRefundParams.
Methods inherited from RequestParams
Constructor Details
#initialize(amount: nil, expand: nil, initiated_at: nil, metadata: nil, outcome: nil, processor_details: nil, refunded: nil) ⇒ PaymentRecordReportRefundParams
Returns a new instance of PaymentRecordReportRefundParams.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/stripe/params/payment_record_report_refund_params.rb', line 61 def initialize( amount: nil, expand: nil, initiated_at: nil, metadata: nil, outcome: nil, processor_details: nil, refunded: nil ) @amount = amount @expand = @initiated_at = initiated_at @metadata = @outcome = outcome @processor_details = processor_details @refunded = refunded end |
Instance Attribute Details
#amount ⇒ Object
A positive integer in the [smallest currency unit](stripe.com/docs/currencies#zero-decimal) representing how much of this payment to refund. Can refund only up to the remaining, unrefunded amount of the payment.
47 48 49 |
# File 'lib/stripe/params/payment_record_report_refund_params.rb', line 47 def amount @amount end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
49 50 51 |
# File 'lib/stripe/params/payment_record_report_refund_params.rb', line 49 def @expand end |
#initiated_at ⇒ Object
When the reported refund was initiated. Measured in seconds since the Unix epoch.
51 52 53 |
# File 'lib/stripe/params/payment_record_report_refund_params.rb', line 51 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`.
53 54 55 |
# File 'lib/stripe/params/payment_record_report_refund_params.rb', line 53 def @metadata end |
#outcome ⇒ Object
The outcome of the reported refund.
55 56 57 |
# File 'lib/stripe/params/payment_record_report_refund_params.rb', line 55 def outcome @outcome end |
#processor_details ⇒ Object
Processor information for this refund.
57 58 59 |
# File 'lib/stripe/params/payment_record_report_refund_params.rb', line 57 def processor_details @processor_details end |
#refunded ⇒ Object
Information about the payment attempt refund.
59 60 61 |
# File 'lib/stripe/params/payment_record_report_refund_params.rb', line 59 def refunded @refunded end |