Class: Stripe::PaymentIntentService::ConfirmParams::PaymentMethodData::Boleto

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



4904
4905
4906
# File 'lib/stripe/services/payment_intent_service.rb', line 4904

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)



4902
4903
4904
# File 'lib/stripe/services/payment_intent_service.rb', line 4902

def tax_id
  @tax_id
end