Class: Stripe::Subscription::CreateParams::AutomaticTax::Liability

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



1176
1177
1178
1179
# File 'lib/stripe/resources/subscription.rb', line 1176

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

Instance Attribute Details

#accountObject

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



1172
1173
1174
# File 'lib/stripe/resources/subscription.rb', line 1172

def 
  @account
end

#typeObject

Type of the account referenced in the request.



1174
1175
1176
# File 'lib/stripe/resources/subscription.rb', line 1174

def type
  @type
end