Class: Stripe::PaymentLinkUpdateParams::NameCollection::Individual
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkUpdateParams::NameCollection::Individual
- Defined in:
- lib/stripe/params/payment_link_update_params.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Enable individual name collection on the payment link.
-
#optional ⇒ Object
Whether the customer is required to provide their full name before checking out.
Instance Method Summary collapse
-
#initialize(enabled: nil, optional: nil) ⇒ Individual
constructor
A new instance of Individual.
Methods inherited from RequestParams
Constructor Details
#initialize(enabled: nil, optional: nil) ⇒ Individual
Returns a new instance of Individual.
349 350 351 352 |
# File 'lib/stripe/params/payment_link_update_params.rb', line 349 def initialize(enabled: nil, optional: nil) @enabled = enabled @optional = optional end |
Instance Attribute Details
#enabled ⇒ Object
Enable individual name collection on the payment link. Defaults to ‘false`.
345 346 347 |
# File 'lib/stripe/params/payment_link_update_params.rb', line 345 def enabled @enabled end |
#optional ⇒ Object
Whether the customer is required to provide their full name before checking out. Defaults to ‘false`.
347 348 349 |
# File 'lib/stripe/params/payment_link_update_params.rb', line 347 def optional @optional end |