Class: Stripe::PaymentLink::OptionalItem

Inherits:
StripeObject show all
Defined in:
lib/stripe/resources/payment_link.rb

Defined Under Namespace

Classes: AdjustableQuantity

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

#adjustable_quantityObject (readonly)

Attribute for field adjustable_quantity



461
462
463
# File 'lib/stripe/resources/payment_link.rb', line 461

def adjustable_quantity
  @adjustable_quantity
end

#priceObject (readonly)

Attribute for field price



463
464
465
# File 'lib/stripe/resources/payment_link.rb', line 463

def price
  @price
end

#quantityObject (readonly)

Attribute for field quantity



465
466
467
# File 'lib/stripe/resources/payment_link.rb', line 465

def quantity
  @quantity
end

Class Method Details

.field_remappingsObject



471
472
473
# File 'lib/stripe/resources/payment_link.rb', line 471

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



467
468
469
# File 'lib/stripe/resources/payment_link.rb', line 467

def self.inner_class_types
  @inner_class_types = { adjustable_quantity: AdjustableQuantity }
end