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

#custom_attributesObject (readonly)

Custom attributes for the product.



364
365
366
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 364

def custom_attributes
  @custom_attributes
end

#descriptionObject (readonly)

The description of the product.



366
367
368
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 366

def description
  @description
end

#disclosuresObject (readonly)

Disclosures for the product.



368
369
370
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 368

def disclosures
  @disclosures
end

#imagesObject (readonly)

The images of the product.



370
371
372
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 370

def images
  @images
end

#titleObject (readonly)

The title of the product.



372
373
374
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 372

def title
  @title
end

Class Method Details

.field_remappingsObject



378
379
380
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 378

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



374
375
376
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 374

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