Class: Stripe::PaymentLinkCreateParams::NameCollection
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkCreateParams::NameCollection
- Defined in:
- lib/stripe/params/payment_link_create_params.rb
Defined Under Namespace
Classes: Business, Individual
Instance Attribute Summary collapse
-
#business ⇒ Object
Controls settings applied for collecting the customer's business name.
-
#individual ⇒ Object
Controls settings applied for collecting the customer's individual name.
Instance Method Summary collapse
-
#initialize(business: nil, individual: nil) ⇒ NameCollection
constructor
A new instance of NameCollection.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(business: nil, individual: nil) ⇒ NameCollection
485 486 487 488 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 485 def initialize(business: nil, individual: nil) @business = business @individual = individual end |
Instance Attribute Details
#business ⇒ Object
Controls settings applied for collecting the customer's business name.
481 482 483 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 481 def business @business end |
#individual ⇒ Object
Controls settings applied for collecting the customer's individual name.
483 484 485 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 483 def individual @individual end |