Class: Stripe::ThreeDSecure::AuthenticationCreateParams::PaymentMethodData::BillingDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/three_d_secure/authentication_create_params.rb

Defined Under Namespace

Classes: Address

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

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

Constructor Details

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

Returns a new instance of BillingDetails.



287
288
289
290
291
292
# File 'lib/stripe/params/three_d_secure/authentication_create_params.rb', line 287

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

Instance Attribute Details

#address ⇒ Object

Billing address.



279
280
281
# File 'lib/stripe/params/three_d_secure/authentication_create_params.rb', line 279

def address
  @address
end

#email ⇒ Object

Email address.



281
282
283
# File 'lib/stripe/params/three_d_secure/authentication_create_params.rb', line 281

def email
  @email
end

#name ⇒ Object

Full name.



283
284
285
# File 'lib/stripe/params/three_d_secure/authentication_create_params.rb', line 283

def name
  @name
end

#phone ⇒ Object

Billing phone number (including extension).



285
286
287
# File 'lib/stripe/params/three_d_secure/authentication_create_params.rb', line 285

def phone
  @phone
end