Class: Stripe::V2::Core::AccountUpdateParams::Configuration::Merchant::CardPayments

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

Defined Under Namespace

Classes: DeclineOn

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(decline_on: nil) ⇒ CardPayments

Returns a new instance of CardPayments.



806
807
808
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 806

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.



804
805
806
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 804

def decline_on
  @decline_on
end