Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::MoneyServices::AccountFunding::BeneficiaryDetails

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



1943
1944
1945
1946
1947
1948
1949
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1943

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.



1933
1934
1935
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1933

def address
  @address
end

#date_of_birthObject

Date of birth.



1935
1936
1937
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1935

def date_of_birth
  @date_of_birth
end

#emailObject

Email address.



1937
1938
1939
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1937

def email
  @email
end

#nameObject

Full name.



1939
1940
1941
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1939

def name
  @name
end

#phoneObject

Phone number.



1941
1942
1943
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1941

def phone
  @phone
end