Class: Stripe::ChargeUpdateParams::PaymentDetails::MoneyServices::AccountFunding::BeneficiaryDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/charge_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.



1709
1710
1711
1712
1713
1714
1715
# File 'lib/stripe/params/charge_update_params.rb', line 1709

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.



1699
1700
1701
# File 'lib/stripe/params/charge_update_params.rb', line 1699

def address
  @address
end

#date_of_birthObject

Date of birth.



1701
1702
1703
# File 'lib/stripe/params/charge_update_params.rb', line 1701

def date_of_birth
  @date_of_birth
end

#emailObject

Email address.



1703
1704
1705
# File 'lib/stripe/params/charge_update_params.rb', line 1703

def email
  @email
end

#nameObject

Full name.



1705
1706
1707
# File 'lib/stripe/params/charge_update_params.rb', line 1705

def name
  @name
end

#phoneObject

Phone number.



1707
1708
1709
# File 'lib/stripe/params/charge_update_params.rb', line 1707

def phone
  @phone
end