Class: Stripe::Billing::CreditBalanceSummary::Balance::AvailableBalance::CustomPricingUnit::CustomPricingUnitDetails

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/billing/credit_balance_summary.rb

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

#createdObject (readonly)

Time at which the object was created. Measured in seconds since the Unix epoch.



18
19
20
# File 'lib/stripe/resources/billing/credit_balance_summary.rb', line 18

def created
  @created
end

#display_nameObject (readonly)

The name of the custom pricing unit.



20
21
22
# File 'lib/stripe/resources/billing/credit_balance_summary.rb', line 20

def display_name
  @display_name
end

#idObject (readonly)

Unique identifier for the object.



22
23
24
# File 'lib/stripe/resources/billing/credit_balance_summary.rb', line 22

def id
  @id
end

#lookup_keyObject (readonly)

A lookup key for the custom pricing unit.



24
25
26
# File 'lib/stripe/resources/billing/credit_balance_summary.rb', line 24

def lookup_key
  @lookup_key
end

#metadataObject (readonly)

Set of [key-value pairs](docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.



26
27
28
# File 'lib/stripe/resources/billing/credit_balance_summary.rb', line 26

def 
  @metadata
end

#statusObject (readonly)

The status of the custom pricing unit.



28
29
30
# File 'lib/stripe/resources/billing/credit_balance_summary.rb', line 28

def status
  @status
end

Class Method Details

.field_remappingsObject



34
35
36
# File 'lib/stripe/resources/billing/credit_balance_summary.rb', line 34

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



30
31
32
# File 'lib/stripe/resources/billing/credit_balance_summary.rb', line 30

def self.inner_class_types
  @inner_class_types = {}
end