Class: Stripe::CreditNoteCreateParams::Refund::PaymentRecordRefund

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/credit_note_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

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_recordObject

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_groupObject

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