Class: Stripe::Order::CreateParams::BillingDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Order::CreateParams::BillingDetails
- Defined in:
- lib/stripe/resources/order.rb
Defined Under Namespace
Classes: Address
Instance Attribute Summary collapse
-
#address ⇒ Object
The billing address provided by the customer.
-
#email ⇒ Object
The billing email provided by the customer.
-
#name ⇒ Object
The billing name provided by the customer.
-
#phone ⇒ Object
The billing phone number provided by the customer.
Instance Method Summary collapse
-
#initialize(address: nil, email: nil, name: nil, phone: nil) ⇒ BillingDetails
constructor
A new instance of BillingDetails.
Methods inherited from RequestParams
Constructor Details
#initialize(address: nil, email: nil, name: nil, phone: nil) ⇒ BillingDetails
Returns a new instance of BillingDetails.
898 899 900 901 902 903 |
# File 'lib/stripe/resources/order.rb', line 898 def initialize(address: nil, email: nil, name: nil, phone: nil) @address = address @email = email @name = name @phone = phone end |
Instance Attribute Details
#address ⇒ Object
The billing address provided by the customer.
890 891 892 |
# File 'lib/stripe/resources/order.rb', line 890 def address @address end |
#email ⇒ Object
The billing email provided by the customer.
892 893 894 |
# File 'lib/stripe/resources/order.rb', line 892 def email @email end |
#name ⇒ Object
The billing name provided by the customer.
894 895 896 |
# File 'lib/stripe/resources/order.rb', line 894 def name @name end |
#phone ⇒ Object
The billing phone number provided by the customer.
896 897 898 |
# File 'lib/stripe/resources/order.rb', line 896 def phone @phone end |