Class: Stripe::Billing::CreditBalanceSummary::Balance::LedgerBalance::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?, 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

#createdObject (readonly)

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



125
126
127
# File 'lib/stripe/resources/billing/credit_balance_summary.rb', line 125

def created
  @created
end

#display_nameObject (readonly)

The name of the custom pricing unit.



127
128
129
# File 'lib/stripe/resources/billing/credit_balance_summary.rb', line 127

def display_name
  @display_name
end

#idObject (readonly)

Unique identifier for the object.



129
130
131
# File 'lib/stripe/resources/billing/credit_balance_summary.rb', line 129

def id
  @id
end

#lookup_keyObject (readonly)

A lookup key for the custom pricing unit.



131
132
133
# File 'lib/stripe/resources/billing/credit_balance_summary.rb', line 131

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.



133
134
135
# File 'lib/stripe/resources/billing/credit_balance_summary.rb', line 133

def 
  @metadata
end

#statusObject (readonly)

The status of the custom pricing unit.



135
136
137
# File 'lib/stripe/resources/billing/credit_balance_summary.rb', line 135

def status
  @status
end

Class Method Details

.field_remappingsObject



141
142
143
# File 'lib/stripe/resources/billing/credit_balance_summary.rb', line 141

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



137
138
139
# File 'lib/stripe/resources/billing/credit_balance_summary.rb', line 137

def self.inner_class_types
  @inner_class_types = {}
end