Class: ModernTreasury::Models::InternalAccount::AccountCapability
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::InternalAccount::AccountCapability
- Defined in:
- lib/modern_treasury/models/internal_account.rb
Defined Under Namespace
Modules: PaymentType
Instance Attribute Summary collapse
- #created_at ⇒ Time
-
#direction ⇒ Symbol, ModernTreasury::Models::TransactionDirection
One of ‘debit` or `credit`.
- #discarded_at ⇒ Time?
- #id ⇒ String
-
#identifier ⇒ String?
A unique reference assigned by your bank for tracking and recognizing payment files.
-
#live_mode ⇒ Boolean
This field will be true if this object exists in the live environment or false if it exists in the test environment.
- #object ⇒ String
-
#payment_type ⇒ Symbol, ModernTreasury::Models::InternalAccount::AccountCapability::PaymentType
Indicates the the type of payment this capability is responsible for originating.
- #updated_at ⇒ Time
Instance Method Summary collapse
-
#initialize(id: , created_at: , direction: , discarded_at: , identifier: , live_mode: , object: , payment_type: , updated_at: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see AccountCapability for more details.
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(id: , created_at: , direction: , discarded_at: , identifier: , live_mode: , object: , payment_type: , updated_at: ) ⇒ Object
Some parameter documentations has been truncated, see ModernTreasury::Models::InternalAccount::AccountCapability for more details.
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 |
# File 'lib/modern_treasury/models/internal_account.rb', line 188 class AccountCapability < ModernTreasury::Internal::Type::BaseModel # @!attribute id # # @return [String] required :id, String # @!attribute created_at # # @return [Time] required :created_at, Time # @!attribute direction # One of `debit` or `credit`. Indicates the direction of money movement this # capability is responsible for. # # @return [Symbol, ModernTreasury::Models::TransactionDirection] required :direction, enum: -> { ModernTreasury::TransactionDirection } # @!attribute discarded_at # # @return [Time, nil] required :discarded_at, Time, nil?: true # @!attribute identifier # A unique reference assigned by your bank for tracking and recognizing payment # files. It is important this is formatted exactly how the bank assigned it. # # @return [String, nil] required :identifier, String, nil?: true # @!attribute live_mode # This field will be true if this object exists in the live environment or false # if it exists in the test environment. # # @return [Boolean] required :live_mode, ModernTreasury::Internal::Type::Boolean # @!attribute object # # @return [String] required :object, String # @!attribute payment_type # Indicates the the type of payment this capability is responsible for # originating. # # @return [Symbol, ModernTreasury::Models::InternalAccount::AccountCapability::PaymentType] required :payment_type, enum: -> { ModernTreasury::InternalAccount::AccountCapability::PaymentType } # @!attribute updated_at # # @return [Time] required :updated_at, Time # @!method initialize(id:, created_at:, direction:, discarded_at:, identifier:, live_mode:, object:, payment_type:, updated_at:) # Some parameter documentations has been truncated, see # {ModernTreasury::Models::InternalAccount::AccountCapability} for more details. # # @param id [String] # # @param created_at [Time] # # @param direction [Symbol, ModernTreasury::Models::TransactionDirection] One of `debit` or `credit`. Indicates the direction of money movement this capab # # @param discarded_at [Time, nil] # # @param identifier [String, nil] A unique reference assigned by your bank for tracking and recognizing payment fi # # @param live_mode [Boolean] This field will be true if this object exists in the live environment or false i # # @param object [String] # # @param payment_type [Symbol, ModernTreasury::Models::InternalAccount::AccountCapability::PaymentType] Indicates the the type of payment this capability is responsible for originating # # @param updated_at [Time] # Indicates the the type of payment this capability is responsible for # originating. # # @see ModernTreasury::Models::InternalAccount::AccountCapability#payment_type module PaymentType extend ModernTreasury::Internal::Type::Enum ACH = :ach AU_BECS = :au_becs BACS = :bacs BASE = :base BOOK = :book CARD = :card CHATS = :chats CHECK = :check CROSS_BORDER = :cross_border DK_NETS = :dk_nets EFT = :eft ETHEREUM = :ethereum GB_FPS = :gb_fps HU_ICS = :hu_ics INTERAC = :interac MASAV = :masav MX_CCEN = :mx_ccen NEFT = :neft NICS = :nics NZ_BECS = :nz_becs PL_ELIXIR = :pl_elixir POLYGON = :polygon PROVXCHANGE = :provxchange RO_SENT = :ro_sent RTP = :rtp SE_BANKGIROT = :se_bankgirot SEN = :sen SEPA = :sepa SG_GIRO = :sg_giro SIC = :sic SIGNET = :signet SKNBI = :sknbi SOLANA = :solana WIRE = :wire ZENGIN = :zengin # @!method self.values # @return [Array<Symbol>] end end |
Instance Attribute Details
#created_at ⇒ Time
197 |
# File 'lib/modern_treasury/models/internal_account.rb', line 197 required :created_at, Time |
#direction ⇒ Symbol, ModernTreasury::Models::TransactionDirection
One of ‘debit` or `credit`. Indicates the direction of money movement this capability is responsible for.
204 |
# File 'lib/modern_treasury/models/internal_account.rb', line 204 required :direction, enum: -> { ModernTreasury::TransactionDirection } |
#discarded_at ⇒ Time?
209 |
# File 'lib/modern_treasury/models/internal_account.rb', line 209 required :discarded_at, Time, nil?: true |
#id ⇒ String
192 |
# File 'lib/modern_treasury/models/internal_account.rb', line 192 required :id, String |
#identifier ⇒ String?
A unique reference assigned by your bank for tracking and recognizing payment files. It is important this is formatted exactly how the bank assigned it.
216 |
# File 'lib/modern_treasury/models/internal_account.rb', line 216 required :identifier, String, nil?: true |
#live_mode ⇒ Boolean
This field will be true if this object exists in the live environment or false if it exists in the test environment.
223 |
# File 'lib/modern_treasury/models/internal_account.rb', line 223 required :live_mode, ModernTreasury::Internal::Type::Boolean |
#object ⇒ String
228 |
# File 'lib/modern_treasury/models/internal_account.rb', line 228 required :object, String |
#payment_type ⇒ Symbol, ModernTreasury::Models::InternalAccount::AccountCapability::PaymentType
Indicates the the type of payment this capability is responsible for originating.
235 |
# File 'lib/modern_treasury/models/internal_account.rb', line 235 required :payment_type, enum: -> { ModernTreasury::InternalAccount::AccountCapability::PaymentType } |
#updated_at ⇒ Time
240 |
# File 'lib/modern_treasury/models/internal_account.rb', line 240 required :updated_at, Time |