Class: Stripe::Balance::InstantAvailable

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

Defined Under Namespace

Classes: NetAvailable, SourceTypes

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

Method Summary

Methods inherited from StripeObject

#==, #[], #[]=, 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

#amountObject (readonly)

Balance amount.



83
84
85
# File 'lib/stripe/resources/balance.rb', line 83

def amount
  @amount
end

#currencyObject (readonly)

Three-letter [ISO currency code](www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](stripe.com/docs/currencies).



85
86
87
# File 'lib/stripe/resources/balance.rb', line 85

def currency
  @currency
end

#net_availableObject (readonly)

Breakdown of balance by destination.



87
88
89
# File 'lib/stripe/resources/balance.rb', line 87

def net_available
  @net_available
end

#source_typesObject (readonly)

Attribute for field source_types



89
90
91
# File 'lib/stripe/resources/balance.rb', line 89

def source_types
  @source_types
end