Class: Stripe::CreditNoteCreateParams::Refund::PaymentRecordRefund
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::CreditNoteCreateParams::Refund::PaymentRecordRefund
- Defined in:
- lib/stripe/params/credit_note_create_params.rb
Instance Attribute Summary collapse
-
#payment_record ⇒ Object
The ID of the PaymentRecord with the refund to link to this credit note.
-
#refund_group ⇒ Object
The PaymentRecord refund group to link to this credit note.
Instance Method Summary collapse
-
#initialize(payment_record: nil, refund_group: nil) ⇒ PaymentRecordRefund
constructor
A new instance of PaymentRecordRefund.
Methods inherited from RequestParams
Constructor Details
#initialize(payment_record: nil, refund_group: nil) ⇒ PaymentRecordRefund
Returns a new instance of PaymentRecordRefund.
70 71 72 73 |
# File 'lib/stripe/params/credit_note_create_params.rb', line 70 def initialize(payment_record: nil, refund_group: nil) @payment_record = payment_record @refund_group = refund_group end |
Instance Attribute Details
#payment_record ⇒ Object
The ID of the PaymentRecord with the refund to link to this credit note.
66 67 68 |
# File 'lib/stripe/params/credit_note_create_params.rb', line 66 def payment_record @payment_record end |
#refund_group ⇒ Object
The PaymentRecord refund group to link to this credit note. For refunds processed off-Stripe, this will correspond to the ‘processor_details.custom.refund_reference` field provided when reporting the refund on the PaymentRecord.
68 69 70 |
# File 'lib/stripe/params/credit_note_create_params.rb', line 68 def refund_group @refund_group end |