Class: Stripe::InvoiceAttachPaymentParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/invoice_attach_payment_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(expand: nil, payment_intent: nil, payment_record: nil) ⇒ InvoiceAttachPaymentParams

Returns a new instance of InvoiceAttachPaymentParams.



13
14
15
16
17
# File 'lib/stripe/params/invoice_attach_payment_params.rb', line 13

def initialize(expand: nil, payment_intent: nil, payment_record: nil)
  @expand = expand
  @payment_intent = payment_intent
  @payment_record = payment_record
end

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



7
8
9
# File 'lib/stripe/params/invoice_attach_payment_params.rb', line 7

def expand
  @expand
end

#payment_intentObject

The ID of the PaymentIntent to attach to the invoice.



9
10
11
# File 'lib/stripe/params/invoice_attach_payment_params.rb', line 9

def payment_intent
  @payment_intent
end

#payment_recordObject

The ID of the PaymentRecord to attach to the invoice.



11
12
13
# File 'lib/stripe/params/invoice_attach_payment_params.rb', line 11

def payment_record
  @payment_record
end