Class: Stripe::Tax::CalculationService::CreateParams::ShipFromDetails

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



159
160
161
# File 'lib/stripe/services/tax/calculation_service.rb', line 159

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

Instance Attribute Details

#addressObject

The address from which the goods are being shipped from.



157
158
159
# File 'lib/stripe/services/tax/calculation_service.rb', line 157

def address
  @address
end