Class: Stripe::InvoicePaymentListParams::Payment

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(payment_intent: nil, payment_record: nil, type: nil) ⇒ Payment



32
33
34
35
36
# File 'lib/stripe/params/invoice_payment_list_params.rb', line 32

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

Instance Attribute Details

#payment_intentObject

Only return invoice payments associated by this payment intent ID.



26
27
28
# File 'lib/stripe/params/invoice_payment_list_params.rb', line 26

def payment_intent
  @payment_intent
end

#payment_recordObject

Only return invoice payments associated by this payment record ID.



28
29
30
# File 'lib/stripe/params/invoice_payment_list_params.rb', line 28

def payment_record
  @payment_record
end

#typeObject

Only return invoice payments associated by this payment type.



30
31
32
# File 'lib/stripe/params/invoice_payment_list_params.rb', line 30

def type
  @type
end