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
476 477 478 479 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 476 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.
472 473 474 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 472 def business @business end |
#individual ⇒ Object
Controls settings applied for collecting the customer’s individual name.
474 475 476 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 474 def individual @individual end |