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.



137
138
139
140
141
142
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 137

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.



129
130
131
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 129

def address
  @address
end

#emailObject

The email for the billing details.



131
132
133
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 131

def email
  @email
end

#nameObject

The name for the billing details.



133
134
135
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 133

def name
  @name
end

#phoneObject

The phone for the billing details.



135
136
137
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 135

def phone
  @phone
end