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.



179
180
181
# File 'lib/stripe/services/tax/calculation_service.rb', line 179

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

Instance Attribute Details

#addressObject

The address from which the goods are being shipped from.



177
178
179
# File 'lib/stripe/services/tax/calculation_service.rb', line 177

def address
  @address
end