Class: Stripe::DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData

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

Defined Under Namespace

Classes: BillingDetails, Card

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(billing_details: nil, card: nil, type: nil) ⇒ PaymentMethodData

Returns a new instance of PaymentMethodData.



220
221
222
223
224
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 220

def initialize(billing_details: nil, card: nil, type: nil)
  @billing_details = billing_details
  @card = card
  @type = type
end

Instance Attribute Details

#billing_detailsObject

The billing details for the payment method data.



214
215
216
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 214

def billing_details
  @billing_details
end

#cardObject

The card for the payment method data.



216
217
218
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 216

def card
  @card
end

#typeObject

The type of the payment method data.



218
219
220
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 218

def type
  @type
end