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

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/account_create_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.



791
792
793
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 791

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.



789
790
791
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 789

def decline_on
  @decline_on
end