Class: Stripe::Tax::Calculation::CreateParams::ShipFromDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/tax/calculation.rb

Defined Under Namespace

Classes: Address

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(address: nil) ⇒ ShipFromDetails

Returns a new instance of ShipFromDetails.



377
378
379
# File 'lib/stripe/resources/tax/calculation.rb', line 377

def initialize(address: nil)
  @address = address
end

Instance Attribute Details

#addressObject

The address from which the goods are being shipped from.



375
376
377
# File 'lib/stripe/resources/tax/calculation.rb', line 375

def address
  @address
end