Class: Stripe::InvoiceService::CreatePreviewParams::Issuer

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/invoice_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(account: nil, type: nil) ⇒ Issuer

Returns a new instance of Issuer.



2414
2415
2416
2417
# File 'lib/stripe/services/invoice_service.rb', line 2414

def initialize(account: nil, type: nil)
  @account = 
  @type = type
end

Instance Attribute Details

#accountObject

The connected account being referenced when ‘type` is `account`.



2410
2411
2412
# File 'lib/stripe/services/invoice_service.rb', line 2410

def 
  @account
end

#typeObject

Type of the account referenced in the request.



2412
2413
2414
# File 'lib/stripe/services/invoice_service.rb', line 2412

def type
  @type
end