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

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/charge_capture_params.rb

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(day: nil, month: nil, year: nil) ⇒ DateOfBirth

Returns a new instance of DateOfBirth.



1683
1684
1685
1686
1687
# File 'lib/stripe/params/charge_capture_params.rb', line 1683

def initialize(day: nil, month: nil, year: nil)
  @day = day
  @month = month
  @year = year
end

Instance Attribute Details

#dayObject

Day of birth, between 1 and 31.



1677
1678
1679
# File 'lib/stripe/params/charge_capture_params.rb', line 1677

def day
  @day
end

#monthObject

Month of birth, between 1 and 12.



1679
1680
1681
# File 'lib/stripe/params/charge_capture_params.rb', line 1679

def month
  @month
end

#yearObject

Four-digit year of birth.



1681
1682
1683
# File 'lib/stripe/params/charge_capture_params.rb', line 1681

def year
  @year
end