Class: Stripe::PaymentMethodDomainCreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentMethodDomainCreateParams
- Defined in:
- lib/stripe/params/payment_method_domain_create_params.rb
Instance Attribute Summary collapse
-
#domain_name ⇒ Object
The domain name that this payment method domain object represents.
-
#enabled ⇒ Object
Whether this payment method domain is enabled.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
Instance Method Summary collapse
-
#initialize(domain_name: nil, enabled: nil, expand: nil) ⇒ PaymentMethodDomainCreateParams
constructor
A new instance of PaymentMethodDomainCreateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(domain_name: nil, enabled: nil, expand: nil) ⇒ PaymentMethodDomainCreateParams
Returns a new instance of PaymentMethodDomainCreateParams.
13 14 15 16 17 |
# File 'lib/stripe/params/payment_method_domain_create_params.rb', line 13 def initialize(domain_name: nil, enabled: nil, expand: nil) @domain_name = domain_name @enabled = enabled @expand = end |
Instance Attribute Details
#domain_name ⇒ Object
The domain name that this payment method domain object represents.
7 8 9 |
# File 'lib/stripe/params/payment_method_domain_create_params.rb', line 7 def domain_name @domain_name end |
#enabled ⇒ Object
Whether this payment method domain is enabled. If the domain is not enabled, payment methods that require a payment method domain will not appear in Elements or Embedded Checkout.
9 10 11 |
# File 'lib/stripe/params/payment_method_domain_create_params.rb', line 9 def enabled @enabled end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
11 12 13 |
# File 'lib/stripe/params/payment_method_domain_create_params.rb', line 11 def @expand end |