Class: Stripe::PaymentMethodDomainService::UpdateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentMethodDomainService::UpdateParams
- Defined in:
- lib/stripe/services/payment_method_domain_service.rb
Instance Attribute Summary collapse
-
#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(enabled: nil, expand: nil) ⇒ UpdateParams
constructor
A new instance of UpdateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(enabled: nil, expand: nil) ⇒ UpdateParams
Returns a new instance of UpdateParams.
67 68 69 70 |
# File 'lib/stripe/services/payment_method_domain_service.rb', line 67 def initialize(enabled: nil, expand: nil) @enabled = enabled = end |
Instance Attribute Details
#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.
63 64 65 |
# File 'lib/stripe/services/payment_method_domain_service.rb', line 63 def enabled @enabled end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
65 66 67 |
# File 'lib/stripe/services/payment_method_domain_service.rb', line 65 def end |