Class: Stripe::PaymentMethodDomainUpdateParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/payment_method_domain_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

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 = expand
end

Instance Attribute Details

#enabledObject

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

#expandObject

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
  @expand
end