Class: Candid::Financials::Types::AllocationRestrictionCreate

Inherits:
Internal::Types::Model show all
Defined in:
lib/candid/financials/types/allocation_restriction_create.rb

Overview

Constrains which claims a payment's credit can be auto-allocated to. Restrictions of the same restriction_type are OR'd together (any value may match); different restriction_types are AND'd (every type present must match). A payment with no restrictions can be allocated to any claim.

Method Summary

Methods inherited from Internal::Types::Model

#==, ===, add_extra_field_definition, coerce, extra_fields, field, fields, #initialize, #inspect, literal, load, #to_h

Methods included from Internal::Types::Type

#coerce, #strict!, #strict?

Methods included from Internal::JSON::Serializable

#dump, #load

Constructor Details

This class inherits a constructor from Candid::Internal::Types::Model