Class: Stripe::PaymentMethodDomainUpdateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentMethodDomainUpdateParams
- Defined in:
- lib/stripe/params/payment_method_domain_update_params.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) ⇒ PaymentMethodDomainUpdateParams
constructor
A new instance of PaymentMethodDomainUpdateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(enabled: nil, expand: nil) ⇒ PaymentMethodDomainUpdateParams
Returns a new instance of PaymentMethodDomainUpdateParams.
11 12 13 14 |
# File 'lib/stripe/params/payment_method_domain_update_params.rb', line 11 def initialize(enabled: nil, expand: nil) @enabled = enabled @expand = 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.
7 8 9 |
# File 'lib/stripe/params/payment_method_domain_update_params.rb', line 7 def enabled @enabled end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
9 10 11 |
# File 'lib/stripe/params/payment_method_domain_update_params.rb', line 9 def @expand end |