Class: Stripe::V2::Core::AccountService::UpdateParams::Configuration::Merchant::CardPayments

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/core/account_service.rb

Defined Under Namespace

Classes: DeclineOn

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(decline_on: nil) ⇒ CardPayments

Returns a new instance of CardPayments.



2851
2852
2853
# File 'lib/stripe/services/v2/core/account_service.rb', line 2851

def initialize(decline_on: nil)
  @decline_on = decline_on
end

Instance Attribute Details

#decline_onObject

Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.



2849
2850
2851
# File 'lib/stripe/services/v2/core/account_service.rb', line 2849

def decline_on
  @decline_on
end