Class: Stripe::OrderUpdateParams::ShippingDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/order_update_params.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, name: nil, phone: nil) ⇒ ShippingDetails

Returns a new instance of ShippingDetails.



1038
1039
1040
1041
1042
# File 'lib/stripe/params/order_update_params.rb', line 1038

def initialize(address: nil, name: nil, phone: nil)
  @address = address
  @name = name
  @phone = phone
end

Instance Attribute Details

#addressObject

The shipping address for the order.



1032
1033
1034
# File 'lib/stripe/params/order_update_params.rb', line 1032

def address
  @address
end

#nameObject

The name of the recipient of the order.



1034
1035
1036
# File 'lib/stripe/params/order_update_params.rb', line 1034

def name
  @name
end

#phoneObject

The phone number (including extension) for the recipient of the order.



1036
1037
1038
# File 'lib/stripe/params/order_update_params.rb', line 1036

def phone
  @phone
end