Class: Stripe::PaymentMethodDomain::CreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentMethodDomain::CreateParams
- Defined in:
- lib/stripe/resources/payment_method_domain.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) ⇒ CreateParams
constructor
A new instance of CreateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(domain_name: nil, enabled: nil, expand: nil) ⇒ CreateParams
Returns a new instance of CreateParams.
113 114 115 116 117 |
# File 'lib/stripe/resources/payment_method_domain.rb', line 113 def initialize(domain_name: nil, enabled: nil, expand: nil) @domain_name = domain_name @enabled = enabled = end |
Instance Attribute Details
#domain_name ⇒ Object
The domain name that this payment method domain object represents.
107 108 109 |
# File 'lib/stripe/resources/payment_method_domain.rb', line 107 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.
109 110 111 |
# File 'lib/stripe/resources/payment_method_domain.rb', line 109 def enabled @enabled end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
111 112 113 |
# File 'lib/stripe/resources/payment_method_domain.rb', line 111 def end |