Class: Stripe::PaymentLinkService::UpdateParams::AutomaticTax::Liability

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



845
846
847
848
# File 'lib/stripe/services/payment_link_service.rb', line 845

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

Instance Attribute Details

#accountObject

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



841
842
843
# File 'lib/stripe/services/payment_link_service.rb', line 841

def 
  @account
end

#typeObject

Type of the account referenced in the request.



843
844
845
# File 'lib/stripe/services/payment_link_service.rb', line 843

def type
  @type
end