Class: Stripe::PaymentIntentUpdateParams::PaymentDetails::MoneyServices::AccountFunding::BeneficiaryDetails

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

Defined Under Namespace

Classes: Address, DateOfBirth

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(address: nil, date_of_birth: nil, email: nil, name: nil, phone: nil) ⇒ BeneficiaryDetails

Returns a new instance of BeneficiaryDetails.



2000
2001
2002
2003
2004
2005
2006
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2000

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

Instance Attribute Details

#addressObject

Address.



1990
1991
1992
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1990

def address
  @address
end

#date_of_birthObject

Date of birth.



1992
1993
1994
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1992

def date_of_birth
  @date_of_birth
end

#emailObject

Email address.



1994
1995
1996
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1994

def email
  @email
end

#nameObject

Full name.



1996
1997
1998
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1996

def name
  @name
end

#phoneObject

Phone number.



1998
1999
2000
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1998

def phone
  @phone
end