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.



116
117
118
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 116

def address
  @address
end

#emailObject (readonly)

The email address for the fulfillment details.



118
119
120
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 118

def email
  @email
end

#fulfillment_optionsObject (readonly)

The fulfillment options.



120
121
122
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 120

def fulfillment_options
  @fulfillment_options
end

#nameObject (readonly)

The name for the fulfillment details.



122
123
124
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 122

def name
  @name
end

#phoneObject (readonly)

The phone number for the fulfillment details.



124
125
126
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 124

def phone
  @phone
end

#selected_fulfillment_optionObject (readonly)

The fulfillment option.



126
127
128
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 126

def selected_fulfillment_option
  @selected_fulfillment_option
end

Class Method Details

.field_remappingsObject



136
137
138
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 136

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



128
129
130
131
132
133
134
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 128

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