Class: Stripe::PaymentLink::UpdateParams::AutomaticTax::Liability

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



991
992
993
994
# File 'lib/stripe/resources/payment_link.rb', line 991

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

Instance Attribute Details

#accountObject

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



987
988
989
# File 'lib/stripe/resources/payment_link.rb', line 987

def 
  @account
end

#typeObject

Type of the account referenced in the request.



989
990
991
# File 'lib/stripe/resources/payment_link.rb', line 989

def type
  @type
end