Class: Stripe::DelegatedCheckout::RequestedSession::LineItemDetail::ProductDetails

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

Defined Under Namespace

Classes: CustomAttribute, Disclosure

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

#custom_attributesObject (readonly)

Custom attributes for the product.



223
224
225
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 223

def custom_attributes
  @custom_attributes
end

#descriptionObject (readonly)

The description of the product.



225
226
227
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 225

def description
  @description
end

#disclosuresObject (readonly)

Disclosures for the product.



227
228
229
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 227

def disclosures
  @disclosures
end

#imagesObject (readonly)

The images of the product.



229
230
231
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 229

def images
  @images
end

#titleObject (readonly)

The title of the product.



231
232
233
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 231

def title
  @title
end

Class Method Details

.field_remappingsObject



237
238
239
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 237

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



233
234
235
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 233

def self.inner_class_types
  @inner_class_types = { custom_attributes: CustomAttribute, disclosures: Disclosure }
end