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.



381
382
383
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 381

def custom_attributes
  @custom_attributes
end

#descriptionObject (readonly)

The description of the product.



383
384
385
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 383

def description
  @description
end

#disclosuresObject (readonly)

Disclosures for the product.



385
386
387
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 385

def disclosures
  @disclosures
end

#imagesObject (readonly)

The images of the product.



387
388
389
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 387

def images
  @images
end

#titleObject (readonly)

The title of the product.



389
390
391
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 389

def title
  @title
end

Class Method Details

.field_remappingsObject



395
396
397
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 395

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



391
392
393
# File 'lib/stripe/resources/delegated_checkout/requested_session.rb', line 391

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