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.



3038
3039
3040
# File 'lib/stripe/services/v2/core/account_service.rb', line 3038

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.



3036
3037
3038
# File 'lib/stripe/services/v2/core/account_service.rb', line 3036

def decline_on
  @decline_on
end