Class: Increase::Models::DigitalCardProfileListParams::Status

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/digital_card_profile_list_params.rb

Defined Under Namespace

Modules: In

Instance Attribute Summary collapse

Instance Method Summary collapse

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(cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::DigitalCardProfileListParams for more details.

Parameters:

  • cursor (String) (defaults to: nil)

    Return the page of entries after this one.

  • idempotency_key (String) (defaults to: nil)

    Filter records to the one with the specified ‘idempotency_key` you chose for tha

  • limit (Integer) (defaults to: nil)

    Limit the size of the list that is returned. The default (and maximum) is 100 ob

  • status (Increase::Models::DigitalCardProfileListParams::Status) (defaults to: nil)
  • request_options (Increase::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'lib/increase/models/digital_card_profile_list_params.rb', line 51

class Status < Increase::Internal::Type::BaseModel
  # @!attribute in_
  #   Filter Digital Card Profiles for those with the specified digital wallet status
  #   or statuses. For GET requests, this should be encoded as a comma-delimited
  #   string, such as `?in=one,two,three`.
  #
  #   @return [Array<Symbol, Increase::Models::DigitalCardProfileListParams::Status::In>, nil]
  optional :in_,
           -> {
             Increase::Internal::Type::ArrayOf[enum: Increase::DigitalCardProfileListParams::Status::In]
           },
           api_name: :in

  # @!method initialize(in_: nil)
  #   Some parameter documentations has been truncated, see
  #   {Increase::Models::DigitalCardProfileListParams::Status} for more details.
  #
  #   @param in_ [Array<Symbol, Increase::Models::DigitalCardProfileListParams::Status::In>] Filter Digital Card Profiles for those with the specified digital wallet status

  module In
    extend Increase::Internal::Type::Enum

    # The Card Profile is awaiting review from Increase and/or processing by card networks.
    PENDING = :pending

    # There is an issue with the Card Profile preventing it from use.
    REJECTED = :rejected

    # The Card Profile can be assigned to Cards.
    ACTIVE = :active

    # The Card Profile is no longer in use.
    ARCHIVED = :archived

    # @!method self.values
    #   @return [Array<Symbol>]
  end
end

Instance Attribute Details

#in_Array<Symbol, Increase::Models::DigitalCardProfileListParams::Status::In>?

Filter Digital Card Profiles for those with the specified digital wallet status or statuses. For GET requests, this should be encoded as a comma-delimited string, such as ‘?in=one,two,three`.



58
59
60
61
62
# File 'lib/increase/models/digital_card_profile_list_params.rb', line 58

optional :in_,
-> {
  Increase::Internal::Type::ArrayOf[enum: Increase::DigitalCardProfileListParams::Status::In]
},
api_name: :in