Class: Stripe::PaymentRecord::ShippingDetails
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::PaymentRecord::ShippingDetails
- Defined in:
- lib/stripe/resources/payment_record.rb
Defined Under Namespace
Classes: Address
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
A representation of a physical address.
-
#name ⇒ Object
readonly
The shipping recipient’s name.
-
#phone ⇒ Object
readonly
The shipping recipient’s phone number.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #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
#address ⇒ Object (readonly)
A representation of a physical address.
2117 2118 2119 |
# File 'lib/stripe/resources/payment_record.rb', line 2117 def address @address end |
#name ⇒ Object (readonly)
The shipping recipient’s name.
2119 2120 2121 |
# File 'lib/stripe/resources/payment_record.rb', line 2119 def name @name end |
#phone ⇒ Object (readonly)
The shipping recipient’s phone number.
2121 2122 2123 |
# File 'lib/stripe/resources/payment_record.rb', line 2121 def phone @phone end |
Class Method Details
.field_remappings ⇒ Object
2127 2128 2129 |
# File 'lib/stripe/resources/payment_record.rb', line 2127 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
2123 2124 2125 |
# File 'lib/stripe/resources/payment_record.rb', line 2123 def self.inner_class_types @inner_class_types = { address: Address } end |