Class: Stripe::PaymentIntentUpdateParams::PaymentMethodData::Rechnung::Dob

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_update_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) ⇒ Dob

Returns a new instance of Dob.



2588
2589
2590
2591
2592
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2588

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

Instance Attribute Details

#dayObject

The day of birth, between 1 and 31.



2582
2583
2584
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2582

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



2584
2585
2586
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2584

def month
  @month
end

#yearObject

The four-digit year of birth.



2586
2587
2588
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2586

def year
  @year
end