Class: Stripe::QuoteService::UpdateParams::AutomaticTax::Liability

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

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

Returns a new instance of Liability.



1302
1303
1304
1305
# File 'lib/stripe/services/quote_service.rb', line 1302

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

Instance Attribute Details

#accountObject

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



1297
1298
1299
# File 'lib/stripe/services/quote_service.rb', line 1297

def 
  @account
end

#typeObject

Type of the account referenced in the request.



1300
1301
1302
# File 'lib/stripe/services/quote_service.rb', line 1300

def type
  @type
end