Class: Stripe::V2::Core::FeeBatch::CollectionRecord

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/v2/core/fee_batch.rb

Defined Under Namespace

Classes: Tax

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

#amountObject (readonly)

The fee amount collected via this record.



55
56
57
# File 'lib/stripe/resources/v2/core/fee_batch.rb', line 55

def amount
  @amount
end

#balance_transactionObject (readonly)

The ID of the associated v1 balance transaction.



57
58
59
# File 'lib/stripe/resources/v2/core/fee_batch.rb', line 57

def balance_transaction
  @balance_transaction
end

#credit_transactionObject (readonly)

The ID of the associated credit transaction.



59
60
61
# File 'lib/stripe/resources/v2/core/fee_batch.rb', line 59

def credit_transaction
  @credit_transaction
end

#money_management_transactionObject (readonly)

The ID of the associated v2 money management transaction.



61
62
63
# File 'lib/stripe/resources/v2/core/fee_batch.rb', line 61

def money_management_transaction
  @money_management_transaction
end

#payable_invoiceObject (readonly)

The ID of the associated accounts-receivable invoice.



63
64
65
# File 'lib/stripe/resources/v2/core/fee_batch.rb', line 63

def payable_invoice
  @payable_invoice
end

#taxObject (readonly)

The tax amount collected via this record.



65
66
67
# File 'lib/stripe/resources/v2/core/fee_batch.rb', line 65

def tax
  @tax
end

#typeObject (readonly)

The type of money movement object.



67
68
69
# File 'lib/stripe/resources/v2/core/fee_batch.rb', line 67

def type
  @type
end

Class Method Details

.field_remappingsObject



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

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



69
70
71
# File 'lib/stripe/resources/v2/core/fee_batch.rb', line 69

def self.inner_class_types
  @inner_class_types = { tax: Tax }
end