Class: Stripe::Order::BillingDetails

Inherits:
StripeObject show all
Defined in:
lib/stripe/resources/order.rb

Defined Under Namespace

Classes: Address

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

Method Summary

Methods inherited from StripeObject

#==, #[], #[]=, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values

Constructor Details

This class inherits a constructor from Stripe::StripeObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject

Instance Attribute Details

#addressObject (readonly)

Billing address for the order.



49
50
51
# File 'lib/stripe/resources/order.rb', line 49

def address
  @address
end

#emailObject (readonly)

Email address for the order.



52
53
54
# File 'lib/stripe/resources/order.rb', line 52

def email
  @email
end

#nameObject (readonly)

Full name for the order.



55
56
57
# File 'lib/stripe/resources/order.rb', line 55

def name
  @name
end

#phoneObject (readonly)

Billing phone number for the order (including extension).



58
59
60
# File 'lib/stripe/resources/order.rb', line 58

def phone
  @phone
end