Class: Stripe::PaymentMethod::CreateParams::Boleto

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



1616
1617
1618
# File 'lib/stripe/resources/payment_method.rb', line 1616

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)



1614
1615
1616
# File 'lib/stripe/resources/payment_method.rb', line 1614

def tax_id
  @tax_id
end