Class: Stripe::ChargeCaptureParams::PaymentDetails::MoneyServices::AccountFunding::BeneficiaryDetails

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



1700
1701
1702
1703
1704
1705
1706
# File 'lib/stripe/params/charge_capture_params.rb', line 1700

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.



1690
1691
1692
# File 'lib/stripe/params/charge_capture_params.rb', line 1690

def address
  @address
end

#date_of_birthObject

Date of birth.



1692
1693
1694
# File 'lib/stripe/params/charge_capture_params.rb', line 1692

def date_of_birth
  @date_of_birth
end

#emailObject

Email address.



1694
1695
1696
# File 'lib/stripe/params/charge_capture_params.rb', line 1694

def email
  @email
end

#nameObject

Full name.



1696
1697
1698
# File 'lib/stripe/params/charge_capture_params.rb', line 1696

def name
  @name
end

#phoneObject

Phone number.



1698
1699
1700
# File 'lib/stripe/params/charge_capture_params.rb', line 1698

def phone
  @phone
end