Class: Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Boleto

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/setup_intent.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.



3054
3055
3056
# File 'lib/stripe/resources/setup_intent.rb', line 3054

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)



3052
3053
3054
# File 'lib/stripe/resources/setup_intent.rb', line 3052

def tax_id
  @tax_id
end