Class: Stripe::PaymentRecord::ReportPaymentAttemptParams::PaymentMethodDetails::Custom

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/payment_record.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(display_name: nil, type: nil) ⇒ Custom

Returns a new instance of Custom.



1102
1103
1104
1105
# File 'lib/stripe/resources/payment_record.rb', line 1102

def initialize(display_name: nil, type: nil)
  @display_name = display_name
  @type = type
end

Instance Attribute Details

#display_nameObject

Display name for the custom (user-defined) payment method type used to make this payment.



1098
1099
1100
# File 'lib/stripe/resources/payment_record.rb', line 1098

def display_name
  @display_name
end

#typeObject

The custom payment method type associated with this payment.



1100
1101
1102
# File 'lib/stripe/resources/payment_record.rb', line 1100

def type
  @type
end