Class: Stripe::InvoiceCreatePreviewParams::Issuer
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::InvoiceCreatePreviewParams::Issuer
- Defined in:
- lib/stripe/params/invoice_create_preview_params.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
The connected account being referenced when ‘type` is `account`.
-
#type ⇒ Object
Type of the account referenced in the request.
Instance Method Summary collapse
-
#initialize(account: nil, type: nil) ⇒ Issuer
constructor
A new instance of Issuer.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(account: nil, type: nil) ⇒ Issuer
Returns a new instance of Issuer.
363 364 365 366 |
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 363 def initialize(account: nil, type: nil) @account = account @type = type end |
Instance Attribute Details
#account ⇒ Object
The connected account being referenced when ‘type` is `account`.
359 360 361 |
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 359 def account @account end |
#type ⇒ Object
Type of the account referenced in the request.
361 362 363 |
# File 'lib/stripe/params/invoice_create_preview_params.rb', line 361 def type @type end |