Class: Stripe::Checkout::SessionCreateParams::AutomaticTax::Liability

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/checkout/session_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of Liability.



60
61
62
63
# File 'lib/stripe/params/checkout/session_create_params.rb', line 60

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

Instance Attribute Details

#accountObject

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



56
57
58
# File 'lib/stripe/params/checkout/session_create_params.rb', line 56

def 
  @account
end

#typeObject

Type of the account referenced in the request.



58
59
60
# File 'lib/stripe/params/checkout/session_create_params.rb', line 58

def type
  @type
end