Class: Stripe::V2::Core::AccountService::CreateParams::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.



808
809
810
# File 'lib/stripe/services/v2/core/account_service.rb', line 808

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.



806
807
808
# File 'lib/stripe/services/v2/core/account_service.rb', line 806

def decline_on
  @decline_on
end