Class: Stripe::PaymentLinkService::CreateParams::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.



74
75
76
77
# File 'lib/stripe/services/payment_link_service.rb', line 74

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

Instance Attribute Details

#accountObject

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



70
71
72
# File 'lib/stripe/services/payment_link_service.rb', line 70

def 
  @account
end

#typeObject

Type of the account referenced in the request.



72
73
74
# File 'lib/stripe/services/payment_link_service.rb', line 72

def type
  @type
end