Class: Stripe::DelegatedCheckout::RequestedSession::FulfillmentDetails

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/delegated_checkout/requested_session.rb

Defined Under Namespace

Classes: Address, FulfillmentOption, SelectedFulfillmentOption

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

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?, #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)

The fulfillment address.



164
165
166
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 164

def address
  @address
end

#emailObject (readonly)

The email address for the fulfillment details.



166
167
168
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 166

def email
  @email
end

#fulfillment_optionsObject (readonly)

The fulfillment options.



168
169
170
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 168

def fulfillment_options
  @fulfillment_options
end

#nameObject (readonly)

The name for the fulfillment details.



170
171
172
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 170

def name
  @name
end

#phoneObject (readonly)

The phone number for the fulfillment details.



172
173
174
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 172

def phone
  @phone
end

#selected_fulfillment_optionObject (readonly)

The fulfillment option.



174
175
176
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 174

def selected_fulfillment_option
  @selected_fulfillment_option
end

Class Method Details

.field_remappingsObject



184
185
186
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 184

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



176
177
178
179
180
181
182
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 176

def self.inner_class_types
  @inner_class_types = {
    address: Address,
    fulfillment_options: FulfillmentOption,
    selected_fulfillment_option: SelectedFulfillmentOption,
  }
end