Class: Stripe::ChargeUpdateParams::PaymentDetails::MoneyServices::AccountFunding::BeneficiaryDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ChargeUpdateParams::PaymentDetails::MoneyServices::AccountFunding::BeneficiaryDetails
- Defined in:
- lib/stripe/params/charge_update_params.rb
Defined Under Namespace
Classes: Address, DateOfBirth
Instance Attribute Summary collapse
-
#address ⇒ Object
Address.
-
#date_of_birth ⇒ Object
Date of birth.
-
#email ⇒ Object
Email address.
-
#name ⇒ Object
Full name.
-
#phone ⇒ Object
Phone number.
Instance Method Summary collapse
-
#initialize(address: nil, date_of_birth: nil, email: nil, name: nil, phone: nil) ⇒ BeneficiaryDetails
constructor
A new instance of BeneficiaryDetails.
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
#address ⇒ Object
Address.
1699 1700 1701 |
# File 'lib/stripe/params/charge_update_params.rb', line 1699 def address @address end |
#date_of_birth ⇒ Object
Date of birth.
1701 1702 1703 |
# File 'lib/stripe/params/charge_update_params.rb', line 1701 def date_of_birth @date_of_birth end |
#email ⇒ Object
Email address.
1703 1704 1705 |
# File 'lib/stripe/params/charge_update_params.rb', line 1703 def email @email end |
#name ⇒ Object
Full name.
1705 1706 1707 |
# File 'lib/stripe/params/charge_update_params.rb', line 1705 def name @name end |
#phone ⇒ Object
Phone number.
1707 1708 1709 |
# File 'lib/stripe/params/charge_update_params.rb', line 1707 def phone @phone end |