Class: Stripe::Invoice::CreatePreviewParams::Issuer

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



2535
2536
2537
2538
# File 'lib/stripe/resources/invoice.rb', line 2535

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

Instance Attribute Details

#accountObject

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



2531
2532
2533
# File 'lib/stripe/resources/invoice.rb', line 2531

def 
  @account
end

#typeObject

Type of the account referenced in the request.



2533
2534
2535
# File 'lib/stripe/resources/invoice.rb', line 2533

def type
  @type
end