Class: Stripe::PaymentIntent::CreateParams::PaymentMethodData::Boleto

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



1765
1766
1767
# File 'lib/stripe/resources/payment_intent.rb', line 1765

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)



1763
1764
1765
# File 'lib/stripe/resources/payment_intent.rb', line 1763

def tax_id
  @tax_id
end