Class: Stripe::PaymentIntentUpdateParams::PaymentDetails::MoneyServices::BeneficiaryDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentUpdateParams::PaymentDetails::MoneyServices::BeneficiaryDetails
- Defined in:
- lib/stripe/params/payment_intent_update_params.rb
Defined Under Namespace
Classes: Address, DateOfBirth
Instance Attribute Summary collapse
-
#account_reference ⇒ Object
An opaque identifier for the beneficiary's account (e.g. bank account number, card first6+last4, or other unique identifier).
-
#address ⇒ Object
Address.
-
#date_of_birth ⇒ Object
Date of birth.
-
#email ⇒ Object
Email address.
-
#given_name ⇒ Object
Given (first) name.
-
#phone ⇒ Object
Phone number.
-
#surname ⇒ Object
Surname (family name).
Instance Method Summary collapse
-
#initialize(account_reference: nil, address: nil, date_of_birth: nil, email: nil, given_name: nil, phone: nil, surname: 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(account_reference: nil, address: nil, date_of_birth: nil, email: nil, given_name: nil, phone: nil, surname: nil) ⇒ BeneficiaryDetails
Returns a new instance of BeneficiaryDetails.
2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2145 def initialize( account_reference: nil, address: nil, date_of_birth: nil, email: nil, given_name: nil, phone: nil, surname: nil ) @account_reference = account_reference @address = address @date_of_birth = date_of_birth @email = email @given_name = given_name @phone = phone @surname = surname end |
Instance Attribute Details
#account_reference ⇒ Object
An opaque identifier for the beneficiary's account (e.g. bank account number, card first6+last4, or other unique identifier).
2131 2132 2133 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2131 def account_reference @account_reference end |
#address ⇒ Object
Address.
2133 2134 2135 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2133 def address @address end |
#date_of_birth ⇒ Object
Date of birth.
2135 2136 2137 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2135 def date_of_birth @date_of_birth end |
#email ⇒ Object
Email address.
2137 2138 2139 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2137 def email @email end |
#given_name ⇒ Object
Given (first) name.
2139 2140 2141 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2139 def given_name @given_name end |
#phone ⇒ Object
Phone number.
2141 2142 2143 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2141 def phone @phone end |
#surname ⇒ Object
Surname (family name).
2143 2144 2145 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2143 def surname @surname end |