Class: Stripe::OrderUpdateParams::BillingDetails

Inherits:
RequestParams 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

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(address: nil, email: nil, name: nil, phone: nil) ⇒ BillingDetails

Returns a new instance of BillingDetails.



55
56
57
58
59
60
# File 'lib/stripe/params/order_update_params.rb', line 55

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.



47
48
49
# File 'lib/stripe/params/order_update_params.rb', line 47

def address
  @address
end

#emailObject

The billing email provided by the customer.



49
50
51
# File 'lib/stripe/params/order_update_params.rb', line 49

def email
  @email
end

#nameObject

The billing name provided by the customer.



51
52
53
# File 'lib/stripe/params/order_update_params.rb', line 51

def name
  @name
end

#phoneObject

The billing phone number provided by the customer.



53
54
55
# File 'lib/stripe/params/order_update_params.rb', line 53

def phone
  @phone
end