Class: Zavudev::Models::SubAccountCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Zavudev::Models::SubAccountCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/zavudev/models/sub_account_create_params.rb
Overview
Instance Attribute Summary collapse
-
#credit_limit ⇒ Integer?
Spending cap in cents.
-
#external_id ⇒ String?
External reference ID for your own tracking.
- #metadata ⇒ Hash{Symbol=>Object}?
-
#name ⇒ String
Name of the sub-account.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(name:, credit_limit: nil, external_id: nil, metadata: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see SubAccountCreateParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(name:, credit_limit: nil, external_id: nil, metadata: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Zavudev::Models::SubAccountCreateParams for more details.
|
|
# File 'lib/zavudev/models/sub_account_create_params.rb', line 34
|
Instance Attribute Details
#credit_limit ⇒ Integer?
Spending cap in cents. When reached, messages from this sub-account will be blocked. Omit or set to 0 for no limit.
21 |
# File 'lib/zavudev/models/sub_account_create_params.rb', line 21 optional :credit_limit, Integer, api_name: :creditLimit |
#external_id ⇒ String?
External reference ID for your own tracking.
27 |
# File 'lib/zavudev/models/sub_account_create_params.rb', line 27 optional :external_id, String, api_name: :externalId |
#metadata ⇒ Hash{Symbol=>Object}?
32 |
# File 'lib/zavudev/models/sub_account_create_params.rb', line 32 optional :metadata, Zavudev::Internal::Type::HashOf[Zavudev::Internal::Type::Unknown] |
#name ⇒ String
Name of the sub-account.
14 |
# File 'lib/zavudev/models/sub_account_create_params.rb', line 14 required :name, String |