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

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

Defined Under Namespace

Classes: Address

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(address: nil, email: nil, name: nil, phone: nil) ⇒ BillingDetails

Returns a new instance of BillingDetails.



149
150
151
152
153
154
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 149

def initialize(address: nil, email: nil, name: nil, phone: nil)
  @address = address
  @email = email
  @name = name
  @phone = phone
end

Instance Attribute Details

#addressObject

The address for the billing details.



141
142
143
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 141

def address
  @address
end

#emailObject

The email for the billing details.



143
144
145
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 143

def email
  @email
end

#nameObject

The name for the billing details.



145
146
147
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 145

def name
  @name
end

#phoneObject

The phone for the billing details.



147
148
149
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 147

def phone
  @phone
end