Class: Stripe::V2::Core::FeeEntry::IncurredBy

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/v2/core/fee_entry.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

#accountObject (readonly)

The account that incurred the usage (may differ from the billing account).



73
74
75
# File 'lib/stripe/resources/v2/core/fee_entry.rb', line 73

def 
  @account
end

#idObject (readonly)

Public API object id, e.g. ch_xxx.



75
76
77
# File 'lib/stripe/resources/v2/core/fee_entry.rb', line 75

def id
  @id
end

#occurred_atObject (readonly)

Timestamp of when the usage event occurred.



77
78
79
# File 'lib/stripe/resources/v2/core/fee_entry.rb', line 77

def occurred_at
  @occurred_at
end

#typeObject (readonly)

Public API object type: “charge”, “payment”, “refund”, “dispute”, “payout”, etc.



79
80
81
# File 'lib/stripe/resources/v2/core/fee_entry.rb', line 79

def type
  @type
end

Class Method Details

.field_remappingsObject



85
86
87
# File 'lib/stripe/resources/v2/core/fee_entry.rb', line 85

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



81
82
83
# File 'lib/stripe/resources/v2/core/fee_entry.rb', line 81

def self.inner_class_types
  @inner_class_types = {}
end