Class: Stripe::SetupIntentConfirmParams::PaymentMethodData::Boleto

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/setup_intent_confirm_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(tax_id: nil) ⇒ Boleto

Returns a new instance of Boleto.



151
152
153
# File 'lib/stripe/params/setup_intent_confirm_params.rb', line 151

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

Instance Attribute Details

#tax_idObject

The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)



149
150
151
# File 'lib/stripe/params/setup_intent_confirm_params.rb', line 149

def tax_id
  @tax_id
end