Class: Stripe::Order::UpdateParams::BillingDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/order.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, email: nil, name: nil, phone: nil) ⇒ BillingDetails

Returns a new instance of BillingDetails.



1879
1880
1881
1882
1883
1884
# File 'lib/stripe/resources/order.rb', line 1879

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

Instance Attribute Details

#addressObject

The billing address provided by the customer.



1868
1869
1870
# File 'lib/stripe/resources/order.rb', line 1868

def address
  @address
end

#emailObject

The billing email provided by the customer.



1871
1872
1873
# File 'lib/stripe/resources/order.rb', line 1871

def email
  @email
end

#nameObject

The billing name provided by the customer.



1874
1875
1876
# File 'lib/stripe/resources/order.rb', line 1874

def name
  @name
end

#phoneObject

The billing phone number provided by the customer.



1877
1878
1879
# File 'lib/stripe/resources/order.rb', line 1877

def phone
  @phone
end